mirror of https://github.com/BOINC/boinc.git
22 lines
419 B
C
22 lines
419 B
C
#include "util.h"
|
|
#include "boinc_api.h"
|
|
|
|
int main(int, char**) {
|
|
boinc_init();
|
|
while (1) {
|
|
boinc_sleep(1);
|
|
}
|
|
}
|
|
|
|
#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 |