FACT++  1.0
void move_to_bad_service ( DIC_SERVICE servp,
DIC_BAD_CONNECTION bad_connp 
)

Definition at line 1627 of file dic.c.

References bad_conn::conn, dll_insert_queue(), dll_remove(), dic_serv::pending, DIC_CONNECTION::service_head, and WAITING_DNS_UP.

Referenced by handle_dns_info().

1628 {
1629  DISABLE_AST
1630 /*
1631 printf("move_to_bad %s\n",servp->serv_name);
1632 */
1633  servp->pending = WAITING_DNS_UP;
1634  dll_remove( (DLL *) servp );
1635  dll_insert_queue( (DLL *) bad_connp->conn.service_head, (DLL *) servp );
1636  ENABLE_AST
1637 }
char * service_head
Definition: dim.h:424
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
DIC_CONNECTION conn
Definition: dic.c:36

+ Here is the call graph for this function:

+ Here is the caller graph for this function: