mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
Move ldap_control_dup() to ldap_pvt.h
This commit is contained in:
parent
4b48c05a8e
commit
a83cc88edd
@ -34,8 +34,7 @@
|
||||
#include "ldif.h"
|
||||
#include "ldap_defaults.h"
|
||||
#include "ldap_log.h"
|
||||
/* needed for ldap_control_dup(); we should declare it somewhere else ... */
|
||||
#include "../../libraries/libldap/ldap-int.h"
|
||||
#include "ldap_pvt.h"
|
||||
|
||||
static char *prog;
|
||||
static char *binddn = NULL;
|
||||
|
@ -121,6 +121,15 @@ LDAP_F (void) ldap_pvt_hex_unescape LDAP_P(( char *s ));
|
||||
#define LDAP_HEX(c) (LDAP_DIGIT(c) || \
|
||||
LDAP_HEXLOWER(c) || LDAP_HEXUPPER(c))
|
||||
|
||||
/* controls.c */
|
||||
struct ldapcontrol;
|
||||
LDAP_F (struct ldapcontrol *) ldap_control_dup LDAP_P((
|
||||
const struct ldapcontrol *ctrl ));
|
||||
|
||||
LDAP_F (struct ldapcontrol **) ldap_controls_dup LDAP_P((
|
||||
struct ldapcontrol *const *ctrls ));
|
||||
|
||||
|
||||
#ifdef HAVE_CYRUS_SASL
|
||||
/* cyrus.c */
|
||||
struct sasl_security_properties; /* avoid pulling in <sasl.h> */
|
||||
|
@ -370,12 +370,6 @@ LDAP_F (int) ldap_check_cache LDAP_P(( LDAP *ld, ber_tag_t msgtype, BerElement *
|
||||
/*
|
||||
* in controls.c
|
||||
*/
|
||||
LDAP_F (LDAPControl *) ldap_control_dup LDAP_P((
|
||||
const LDAPControl *ctrl ));
|
||||
|
||||
LDAP_F (LDAPControl **) ldap_controls_dup LDAP_P((
|
||||
LDAPControl *const *ctrls ));
|
||||
|
||||
LDAP_F (int) ldap_int_get_controls LDAP_P((
|
||||
BerElement *be,
|
||||
LDAPControl ***ctrlsp));
|
||||
|
Loading…
Reference in New Issue
Block a user