Move include <slapi.h> behind #ifdef

This commit is contained in:
Kurt Zeilenga 2003-02-10 02:09:00 +00:00
parent 29304f0cee
commit aaf253318b
15 changed files with 38 additions and 7 deletions

View File

@ -24,9 +24,9 @@
#include "ldap_pvt.h"
#include "slap.h"
#include "slapi.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
static Slapi_PBlock *initAddPlugin( Backend *be, Connection *conn, Operation *op,
struct berval *dn, Entry *e, int manageDSAit );
static int doPreAddPluginFNs( Backend *be, Slapi_PBlock *pb );

View File

@ -36,10 +36,10 @@
#include <stdio.h>
#include "slap.h"
#include "slapi.h"
#include "back-monitor.h"
#if defined(LDAP_SLAPI)
#include "slapi.h"
static int monitor_back_add_plugin( Backend *be, Entry *e );
#endif /* defined(LDAP_SLAPI) */

View File

@ -15,10 +15,13 @@
#include <sys/stat.h>
#include "slap.h"
#include "slapi.h"
#include "lutil.h"
#include "lber_pvt.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
/*
* If a module is configured as dynamic, its header should not
* get included into slapd. While this is a general rule and does

View File

@ -26,7 +26,9 @@
#include "ldap_pvt.h"
#include "slap.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
int

View File

@ -22,7 +22,9 @@
#include "ldap_pvt.h"
#include "slap.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
static int compare_entry(
Connection *conn,

View File

@ -18,7 +18,9 @@
#include "lutil.h"
#include "ldap_pvt.h"
#include "slap.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
#define ARGS_STEP 512

View File

@ -24,7 +24,10 @@
#include "ldap_pvt.h"
#include "slap.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
int
do_delete(

View File

@ -33,9 +33,12 @@
#include <ac/string.h>
#include "slap.h"
#include "slapi.h"
#include "lber_pvt.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
#define UNSUPPORTED_EXTENDEDOP "unsupported extended operation"
static struct extop_list {

View File

@ -17,10 +17,13 @@
#include "ldap_pvt.h"
#include "slap.h"
#include "slapi.h"
#include "lutil.h"
#include "ldif.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
#ifdef LDAP_SIGCHLD
static RETSIGTYPE wait4child( int sig );
#endif

View File

@ -27,7 +27,9 @@
#include "ldap_pvt.h"
#include "slap.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
int
do_modify(

View File

@ -37,7 +37,9 @@
#include "ldap_pvt.h"
#include "slap.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
int
do_modrdn(

View File

@ -13,7 +13,10 @@
#include <ac/socket.h>
#include "slap.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
void

View File

@ -17,7 +17,10 @@
#include <ac/unistd.h>
#include "slap.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
static char *v2ref( BerVarray ref, const char *text )
{

View File

@ -17,10 +17,13 @@
#include <ac/string.h>
#include "slap.h"
#include "slapi.h"
#include <ldif.h>
#include "lber_pvt.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
#endif
static struct berval supportedFeatures[] = {
BER_BVC(LDAP_FEATURE_ALL_OPERATIONAL_ATTRS), /* all Operational Attributes ("+") */
BER_BVC(LDAP_FEATURE_OBJECTCLASS_ATTRS), /* OCs in Attributes List */

View File

@ -25,9 +25,9 @@
#include "ldap_pvt.h"
#include "lutil.h"
#include "slap.h"
#include "slapi.h"
#ifdef LDAP_SLAPI
#include "slapi.h"
static char **anlist2charray( AttributeName *an );
static Slapi_PBlock *initSearchPlugin( Backend *be, Connection *conn, Operation *op,
struct berval *base, int scope, int deref, int sizelimit, int timelimit,