FACT++  1.0
int dis_get_client ( char *  name)

Definition at line 2490 of file dis_old.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().

2491 {
2492  int ret = 0;
2493  char node[MAX_NODE_NAME], task[MAX_TASK_NAME];
2494 
2495  DISABLE_AST
2496 
2497  if(Curr_conn_id)
2498  {
2499  dna_get_node_task(Curr_conn_id, node, task);
2500  strcpy(name,task);
2501  strcat(name,"@");
2502  strcat(name,node);
2503  ret = Curr_conn_id;
2504  }
2505  ENABLE_AST
2506  return(ret);
2507 }
Definition: dns.c:26
static int Curr_conn_id
Definition: dis_old.c:123
#define MAX_TASK_NAME
Definition: dim.h:181
int dna_get_node_task(int conn_id, char *node, char *task)
Definition: dna.c:594
#define MAX_NODE_NAME
Definition: dim.h:180

+ Here is the call graph for this function:

+ Here is the caller graph for this function: