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

Definition at line 112 of file dll.c.

References dll_remove(), dll::next, and dll::user_info.

113 {
114  register DLL *auxp= head->next;
115  DLL *retp = 0;
116 
117  DISABLE_AST
118  while( auxp!= head ) {
119  if( !memcmp(&(auxp->user_info[offset]), data, (size_t)size) ) {
120  retp = auxp;
121  }
122  auxp = auxp->next;
123  }
124  if( retp)
125  {
126  dll_remove(retp);
127  ENABLE_AST
128  return(retp);
129  }
130  ENABLE_AST
131  return((DLL *)0);
132 }
void dll_remove(DLL *item)
Definition: dll.c:100
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 call graph for this function: