FACT++  1.0
DLL* dll_search ( DLL head,
char *  data,
int  size 
)

Definition at line 49 of file dll.c.

References dll::next, and dll::user_info.

Referenced by dis_find_dns(), dis_hash_service_exists(), find_client(), locate_command(), locate_pending(), and service_exists().

50 {
51  register DLL *auxp= head->next;
52 
53  DISABLE_AST
54  while( auxp!= head ) {
55  if( !memcmp(auxp->user_info, data, (size_t)size) ) {
56  ENABLE_AST
57  return(auxp);
58  }
59  auxp = auxp->next;
60  }
61  ENABLE_AST
62  return((DLL *)0);
63 }
struct dll * next
Definition: dim.h:531
Definition: dim.h:530
int size
Definition: db_dim_server.c:17
float data[4 *1440]
char user_info[1]
Definition: dim.h:533

+ Here is the caller graph for this function: