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.
18 #include <ac/socket.h>
19 #include <ac/string.h>
25 ldap_delete_result_entry( LDAPMessage **list, LDAPMessage *e )
27 LDAPMessage *tmp, *prev = NULL;
29 for ( tmp = *list; tmp != NULL && tmp != e; tmp = tmp->lm_chain )
36 *list = tmp->lm_chain;
38 prev->lm_chain = tmp->lm_chain;
45 ldap_add_result_entry( LDAPMessage **list, LDAPMessage *e )