Definition at line 675 of file dna.c.
References i, PENDING_OPEN::last_used, MAX_CONNS, MAX_TMOUT_PENDING_CONNS, PENDING_OPEN::node_name, PENDING_OPEN::port, size, PENDING_OPEN::src_type, PENDING_OPEN::task_name, time, and TMOUT_PENDING_CONN_TMOUT.
Referenced by dna_close(), dna_open_client(), and save_node_task().
678 register int i,
size;
690 curr_time =
time(NULL);
691 for( i = 1; i <
size; i++, pending_connp++ )
693 if( pending_connp->
task_name[0] !=
'\0' )
703 for( i = 1; i <
size; i++, pending_connp++ )
706 (!strcmp(pending_connp->
task_name, task)) &&
707 (pending_connp->
port == port) &&
708 (pending_connp->
src_type == src_type))
#define TMOUT_PENDING_CONN_TMOUT
char node_name[MAX_NODE_NAME]
static PENDING_OPEN Pending_conns[MAX_CONNS]
Warning because the service this data corrsponds to might have been last updated longer ago than Local time
#define MAX_TMOUT_PENDING_CONNS
static PENDING_OPEN Pending_conns_tmout[MAX_TMOUT_PENDING_CONNS]
char task_name[MAX_TASK_NAME]