FACT++  1.0
int dic_find_server_conns ( )

Definition at line 2350 of file dic.c.

References Curr_N_Conns, dic_change_address(), dic_cmnd_callback(), dic_cmnd_callback_stamped(), dic_cmnd_service(), dic_cmnd_service_stamped(), dic_get_format(), dic_get_id(), dic_get_quality(), dic_get_timestamp(), dic_info_service(), dic_info_service_stamped(), dic_release_service(), dna_close(), Dna_conns, i, Net_conns, and recv_rout().

Referenced by dic_stop().

2351 {
2352  int i;
2353  int n = 0;
2354 
2355  for( i = 0; i< Curr_N_Conns; i++ )
2356  {
2357  if(Net_conns[i].channel != 0)
2358  {
2359  if(Dna_conns[i].read_ast == recv_rout)
2360  {
2361  dna_close(i);
2362  }
2363  else
2364  {
2365  n++;
2366  }
2367  }
2368  }
2369  return(n);
2370 }
DllExp DIM_NOSHARE int Curr_N_Conns
Definition: conn_handler.c:33
int i
Definition: db_dim_client.c:21
DllExp DIM_NOSHARE NET_CONNECTION * Net_conns
Definition: conn_handler.c:32
int dna_close(int conn_id)
Definition: dna.c:835
static void recv_rout(int conn_id, DIS_PACKET *packet, int size, int status)
Definition: dic.c:143
DllExp DIM_NOSHARE DNA_CONNECTION * Dna_conns
Definition: conn_handler.c:31

+ Here is the call graph for this function:

+ Here is the caller graph for this function: