2006-05-27 04:45:52 +00:00
|
|
|
#include "util.h"
|
|
|
|
#include "boinc_api.h"
|
|
|
|
|
2006-05-27 05:00:03 +00:00
|
|
|
int main(int, char**) {
|
2006-05-27 04:45:52 +00:00
|
|
|
boinc_init();
|
|
|
|
while (1) {
|
|
|
|
boinc_sleep(1);
|
|
|
|
}
|
|
|
|
}
|
2006-05-27 05:00:03 +00:00
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
|
|
|
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR Args, int WinMode) {
|
|
|
|
LPSTR command_line;
|
|
|
|
char* argv[100];
|
|
|
|
int argc;
|
|
|
|
|
|
|
|
command_line = GetCommandLine();
|
|
|
|
argc = parse_command_line( command_line, argv );
|
|
|
|
return main(argc, argv);
|
|
|
|
}
|
|
|
|
#endif
|