FACT++  1.0
static void save_node_task ( int  conn_id,
DNA_NET buffer 
)
static

Definition at line 930 of file dna.c.

References DIM_INFO, DIMDNSCNEST, dna_report_error(), find_pend_conn(), id, Net_conns, DNA_NET::node, rel_pend_conn(), and DNA_NET::task.

Referenced by read_data().

931 {
932  int id;
933  strcpy(Net_conns[conn_id].node, buffer->node);
934  strcpy(Net_conns[conn_id].task, buffer->task);
935  if((id = find_pend_conn(Net_conns[conn_id].node, Net_conns[conn_id].task, 0, 0, 1)))
936  {
937  dna_report_error( conn_id, -1, "Re-connected to", DIM_INFO, DIMDNSCNEST );
938  rel_pend_conn(id, 1);
939  }
940 }
static void rel_pend_conn(int id, int type)
Definition: dna.c:717
Definition: dns.c:26
DllExp DIM_NOSHARE NET_CONNECTION * Net_conns
Definition: conn_handler.c:32
char id[4]
Definition: FITS.h:71
#define DIMDNSCNEST
Definition: dim_common.h:302
void dna_report_error(int conn_id, int code, char *routine_name, int severity, int errcode)
Definition: dna.c:903
static int find_pend_conn(char *node, char *task, int port, SRC_TYPES src_type, int type)
Definition: dna.c:675
char task[MAX_TASK_NAME]
Definition: dim.h:226
char node[MAX_NODE_NAME]
Definition: dim.h:225

+ Here is the call graph for this function:

+ Here is the caller graph for this function: