2 * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 * Copyright (c) 1990 Regents of the University of Michigan.
16 #include <ac/stdlib.h>
19 #include <ac/socket.h>
20 #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 )