FACT++  1.0
int do_exit_handler ( int  conn_id)

Definition at line 2791 of file dis_old.c.

References Client_exit_user_routine, exit_ent::exit_id, Memory::free(), and sll_search_next_remove().

Referenced by release_conn().

2792 {
2793  register EXIT_H *exitp;
2794 
2795  DISABLE_AST;
2796  if(!Exit_h_head)
2797  {
2798  ENABLE_AST;
2799  return(0);
2800  }
2801  while( (exitp = (EXIT_H *) sll_search_next_remove((SLL *) Exit_h_head,
2802  0, (char *) &conn_id, 4)) )
2803  {
2804  (Client_exit_user_routine)( &exitp->exit_id );
2805  free(exitp);
2806  }
2807  ENABLE_AST
2808  return(1);
2809 }
Definition: dim.h:536
SLL * sll_search_next_remove(SLL *item, int offset, char *data, int size)
Definition: sll.c:118
void free(void *mem)
int exit_id
Definition: dis.c:134
Definition: dis.c:131
static void(* Client_exit_user_routine)()=0
Definition: dis_old.c:125
static EXIT_H * Exit_h_head
Definition: dis_old.c:137

+ Here is the call graph for this function:

+ Here is the caller graph for this function: