FACT++  1.0
int dic_get_server_pid ( int *  pid)

Definition at line 2324 of file dic.c.

References Curr_conn_id, Dic_conns, and DIC_CONNECTION::pid.

Referenced by DimClient::getServerPid(), and Java_dim_Client_getServerPID().

2325 {
2326  int ret = 0;
2327 
2328  DISABLE_AST
2329 
2330  *pid = 0;
2331  if(Curr_conn_id)
2332  {
2333  *pid = Dic_conns[Curr_conn_id].pid;
2334  ret = Curr_conn_id;
2335  }
2336  ENABLE_AST
2337  return(ret);
2338 }
DIM_NOSHARE DIC_CONNECTION * Dic_conns
Definition: conn_handler.c:30
static int Curr_conn_id
Definition: dic.c:54
int pid
Definition: dim.h:423

+ Here is the caller graph for this function: