FACT++  1.0
int dis_get_client ( char *  name)

Definition at line 2800 of file dis.c.

References Curr_conn_id, dis_convert_str, dna_get_node_task(), i, MAX_NODE_NAME, and MAX_TASK_NAME.

Referenced by dis_hash_print().

2801 {
2802  int ret = 0;
2803  char node[MAX_NODE_NAME], task[MAX_TASK_NAME];
2804 
2805  DISABLE_AST
2806 
2807  if(Curr_conn_id)
2808  {
2809  dna_get_node_task(Curr_conn_id, node, task);
2810  strcpy(name,task);
2811  strcat(name,"@");
2812  strcat(name,node);
2813  ret = Curr_conn_id;
2814  }
2815  ENABLE_AST
2816  return(ret);
2817 }
Definition: dns.c:26
#define MAX_TASK_NAME
Definition: dim.h:181
int dna_get_node_task(int conn_id, char *node, char *task)
Definition: dna.c:594
static int Curr_conn_id
Definition: dis.c:123
#define MAX_NODE_NAME
Definition: dim.h:180

+ Here is the call graph for this function:

+ Here is the caller graph for this function: