mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Move include <slapi.h> behind #ifdef
This commit is contained in:
parent
29304f0cee
commit
aaf253318b
@ -24,9 +24,9 @@
|
|||||||
|
|
||||||
#include "ldap_pvt.h"
|
#include "ldap_pvt.h"
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
#include "slapi.h"
|
|
||||||
|
|
||||||
#ifdef LDAP_SLAPI
|
#ifdef LDAP_SLAPI
|
||||||
|
#include "slapi.h"
|
||||||
static Slapi_PBlock *initAddPlugin( Backend *be, Connection *conn, Operation *op,
|
static Slapi_PBlock *initAddPlugin( Backend *be, Connection *conn, Operation *op,
|
||||||
struct berval *dn, Entry *e, int manageDSAit );
|
struct berval *dn, Entry *e, int manageDSAit );
|
||||||
static int doPreAddPluginFNs( Backend *be, Slapi_PBlock *pb );
|
static int doPreAddPluginFNs( Backend *be, Slapi_PBlock *pb );
|
||||||
|
@ -36,10 +36,10 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
#include "slapi.h"
|
|
||||||
#include "back-monitor.h"
|
#include "back-monitor.h"
|
||||||
|
|
||||||
#if defined(LDAP_SLAPI)
|
#if defined(LDAP_SLAPI)
|
||||||
|
#include "slapi.h"
|
||||||
static int monitor_back_add_plugin( Backend *be, Entry *e );
|
static int monitor_back_add_plugin( Backend *be, Entry *e );
|
||||||
#endif /* defined(LDAP_SLAPI) */
|
#endif /* defined(LDAP_SLAPI) */
|
||||||
|
|
||||||
|
@ -15,10 +15,13 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
#include "slapi.h"
|
|
||||||
#include "lutil.h"
|
#include "lutil.h"
|
||||||
#include "lber_pvt.h"
|
#include "lber_pvt.h"
|
||||||
|
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If a module is configured as dynamic, its header should not
|
* If a module is configured as dynamic, its header should not
|
||||||
* get included into slapd. While this is a general rule and does
|
* get included into slapd. While this is a general rule and does
|
||||||
|
@ -26,7 +26,9 @@
|
|||||||
|
|
||||||
#include "ldap_pvt.h"
|
#include "ldap_pvt.h"
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
#include "slapi.h"
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -22,7 +22,9 @@
|
|||||||
|
|
||||||
#include "ldap_pvt.h"
|
#include "ldap_pvt.h"
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
#include "slapi.h"
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
static int compare_entry(
|
static int compare_entry(
|
||||||
Connection *conn,
|
Connection *conn,
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
#include "lutil.h"
|
#include "lutil.h"
|
||||||
#include "ldap_pvt.h"
|
#include "ldap_pvt.h"
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
#include "slapi.h"
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define ARGS_STEP 512
|
#define ARGS_STEP 512
|
||||||
|
|
||||||
|
@ -24,7 +24,10 @@
|
|||||||
|
|
||||||
#include "ldap_pvt.h"
|
#include "ldap_pvt.h"
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
|
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
#include "slapi.h"
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
do_delete(
|
do_delete(
|
||||||
|
@ -33,9 +33,12 @@
|
|||||||
#include <ac/string.h>
|
#include <ac/string.h>
|
||||||
|
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
#include "slapi.h"
|
|
||||||
#include "lber_pvt.h"
|
#include "lber_pvt.h"
|
||||||
|
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define UNSUPPORTED_EXTENDEDOP "unsupported extended operation"
|
#define UNSUPPORTED_EXTENDEDOP "unsupported extended operation"
|
||||||
|
|
||||||
static struct extop_list {
|
static struct extop_list {
|
||||||
|
@ -17,10 +17,13 @@
|
|||||||
#include "ldap_pvt.h"
|
#include "ldap_pvt.h"
|
||||||
|
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
#include "slapi.h"
|
|
||||||
#include "lutil.h"
|
#include "lutil.h"
|
||||||
#include "ldif.h"
|
#include "ldif.h"
|
||||||
|
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef LDAP_SIGCHLD
|
#ifdef LDAP_SIGCHLD
|
||||||
static RETSIGTYPE wait4child( int sig );
|
static RETSIGTYPE wait4child( int sig );
|
||||||
#endif
|
#endif
|
||||||
|
@ -27,7 +27,9 @@
|
|||||||
|
|
||||||
#include "ldap_pvt.h"
|
#include "ldap_pvt.h"
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
#include "slapi.h"
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
do_modify(
|
do_modify(
|
||||||
|
@ -37,7 +37,9 @@
|
|||||||
|
|
||||||
#include "ldap_pvt.h"
|
#include "ldap_pvt.h"
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
#include "slapi.h"
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
do_modrdn(
|
do_modrdn(
|
||||||
|
@ -13,7 +13,10 @@
|
|||||||
#include <ac/socket.h>
|
#include <ac/socket.h>
|
||||||
|
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
|
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
#include "slapi.h"
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -17,7 +17,10 @@
|
|||||||
#include <ac/unistd.h>
|
#include <ac/unistd.h>
|
||||||
|
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
|
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
#include "slapi.h"
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
static char *v2ref( BerVarray ref, const char *text )
|
static char *v2ref( BerVarray ref, const char *text )
|
||||||
{
|
{
|
||||||
|
@ -17,10 +17,13 @@
|
|||||||
#include <ac/string.h>
|
#include <ac/string.h>
|
||||||
|
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
#include "slapi.h"
|
|
||||||
#include <ldif.h>
|
#include <ldif.h>
|
||||||
#include "lber_pvt.h"
|
#include "lber_pvt.h"
|
||||||
|
|
||||||
|
#ifdef LDAP_SLAPI
|
||||||
|
#include "slapi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
static struct berval supportedFeatures[] = {
|
static struct berval supportedFeatures[] = {
|
||||||
BER_BVC(LDAP_FEATURE_ALL_OPERATIONAL_ATTRS), /* all Operational Attributes ("+") */
|
BER_BVC(LDAP_FEATURE_ALL_OPERATIONAL_ATTRS), /* all Operational Attributes ("+") */
|
||||||
BER_BVC(LDAP_FEATURE_OBJECTCLASS_ATTRS), /* OCs in Attributes List */
|
BER_BVC(LDAP_FEATURE_OBJECTCLASS_ATTRS), /* OCs in Attributes List */
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
#include "ldap_pvt.h"
|
#include "ldap_pvt.h"
|
||||||
#include "lutil.h"
|
#include "lutil.h"
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
#include "slapi.h"
|
|
||||||
|
|
||||||
#ifdef LDAP_SLAPI
|
#ifdef LDAP_SLAPI
|
||||||
|
#include "slapi.h"
|
||||||
static char **anlist2charray( AttributeName *an );
|
static char **anlist2charray( AttributeName *an );
|
||||||
static Slapi_PBlock *initSearchPlugin( Backend *be, Connection *conn, Operation *op,
|
static Slapi_PBlock *initSearchPlugin( Backend *be, Connection *conn, Operation *op,
|
||||||
struct berval *base, int scope, int deref, int sizelimit, int timelimit,
|
struct berval *base, int scope, int deref, int sizelimit, int timelimit,
|
||||||
|
Loading…
Reference in New Issue
Block a user