version 1.15, 1996/04/14 01:23:48
|
version 1.16, 1996/05/16 19:03:46
|
Line 478 int main (int argc, char ** argv)
|
Line 478 int main (int argc, char ** argv)
|
/* Build a new robot object */ |
/* Build a new robot object */ |
mr = Robot_new(); |
mr = Robot_new(); |
|
|
|
/* Set up our event manager */ |
|
HTEventInit(); |
|
|
/* Initialize the protocol modules */ |
/* Initialize the protocol modules */ |
HTAccessInit(); |
HTAccessInit(); |
|
|
Line 657 int main (int argc, char ** argv)
|
Line 660 int main (int argc, char ** argv)
|
HTNetCall_addAfter(terminate_handler, NULL, HT_ALL); |
HTNetCall_addAfter(terminate_handler, NULL, HT_ALL); |
|
|
/* Set timeout on sockets */ |
/* Set timeout on sockets */ |
HTEvent_registerTimeout(mr->tv, mr->timeout, timeout_handler, NO); |
HTEventrg_registerTimeout(mr->tv, mr->timeout, timeout_handler, NO); |
|
|
/* Start the request */ |
/* Start the request */ |
if (keywords) /* Search */ |
if (keywords) /* Search */ |
Line 672 int main (int argc, char ** argv)
|
Line 675 int main (int argc, char ** argv)
|
} |
} |
|
|
/* Go into the event loop... */ |
/* Go into the event loop... */ |
HTEvent_Loop(mr->request); |
HTEventrg_loop(mr->request); |
|
|
/* Only gets here if event loop fails */ |
/* Only gets here if event loop fails */ |
Cleanup(mr, 0); |
Cleanup(mr, 0); |