FACT++  1.0
void move_to_cmnd_service ( DIC_SERVICE servp)

Definition at line 1639 of file dic.c.

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

Referenced by end_command(), and send_service_command().

1640 {
1641 /*
1642  if(servp->pending != WAITING_CMND_ANSWER)
1643 */
1644  DISABLE_AST
1645 /*
1646 printf("move_to_cmnd %s\n",servp->serv_name);
1647 */
1648  servp->pending = NOT_PENDING;
1649  servp->tmout_done = 0;
1650  dll_remove( (DLL *) servp );
1651  dll_insert_queue( (DLL *) Cmnd_head, (DLL *) servp );
1652  ENABLE_AST
1653 }
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
static DIC_SERVICE * Cmnd_head
Definition: dic.c:42

+ Here is the call graph for this function:

+ Here is the caller graph for this function: