2 * Copyright (c) 1990 Regents of the University of Michigan.
11 static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
18 #include <ac/socket.h>
19 #include <ac/string.h>
26 ldap_delete_result_entry( LDAPMessage **list, LDAPMessage *e )
28 LDAPMessage *tmp, *prev = NULL;
30 for ( tmp = *list; tmp != NULL && tmp != e; tmp = tmp->lm_chain )
37 *list = tmp->lm_chain;
39 prev->lm_chain = tmp->lm_chain;
46 ldap_add_result_entry( LDAPMessage **list, LDAPMessage *e )