44 |
#include "opm_error.h" |
#include "opm_error.h" |
45 |
#include "opm_types.h" |
#include "opm_types.h" |
46 |
#include "opm_common.h" |
#include "opm_common.h" |
47 |
|
#include "opm_gettime.h" |
48 |
#include "list.h" |
#include "list.h" |
49 |
#include "proxy.h" |
#include "proxy.h" |
50 |
|
|
827 |
if (LIST_SIZE(&scanner->scans) == 0) |
if (LIST_SIZE(&scanner->scans) == 0) |
828 |
return; |
return; |
829 |
|
|
830 |
time(&present); |
present = opm_gettime(); |
831 |
timeout = *(int *)libopm_config(scanner->config, OPM_CONFIG_TIMEOUT); |
timeout = *(int *)libopm_config(scanner->config, OPM_CONFIG_TIMEOUT); |
832 |
|
|
833 |
LIST_FOREACH_SAFE(node1, next1, scanner->scans.head) |
LIST_FOREACH_SAFE(node1, next1, scanner->scans.head) |
965 |
#endif |
#endif |
966 |
|
|
967 |
conn->state = OPM_STATE_ESTABLISHED; |
conn->state = OPM_STATE_ESTABLISHED; |
968 |
time(&conn->creation); /* Stamp creation time, for timeout */ |
conn->creation = opm_gettime(); /* Stamp creation time, for timeout */ |
969 |
} |
} |
970 |
|
|
971 |
/* check_poll |
/* check_poll |