FACT++  1.0
void move_to_ok_service ( DIC_SERVICE servp,
int  conn_id 
)

Definition at line 1610 of file dic.c.

References Dic_conns, dll_insert_queue(), dll_remove(), NOT_PENDING, dic_serv::pending, and dic_serv::tmout_done.

Referenced by send_service_command().

1611 {
1612  if(Dic_conns[conn_id].service_head)
1613  {
1614  DISABLE_AST
1615 /*
1616 printf("move_to_ok %s\n",servp->serv_name);
1617 */
1618  servp->pending = NOT_PENDING;
1619  servp->tmout_done = 0;
1620  dll_remove( (DLL *) servp );
1621  dll_insert_queue( (DLL *) Dic_conns[conn_id].service_head,
1622  (DLL *) servp );
1623  ENABLE_AST
1624  }
1625 }
DIM_NOSHARE DIC_CONNECTION * Dic_conns
Definition: conn_handler.c:30
int tmout_done
Definition: dim.h:477
void dll_insert_queue(DLL *head, DLL *item)
Definition: dll.c:23
void dll_remove(DLL *item)
Definition: dll.c:100
PENDING_STATES pending
Definition: dim.h:476
Definition: dim.h:530

+ Here is the call graph for this function:

+ Here is the caller graph for this function: