]> git.sur5r.net Git - openldap/commitdiff
include external.h
authorKurt Zeilenga <kurt@openldap.org>
Tue, 26 Sep 2000 05:33:37 +0000 (05:33 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 26 Sep 2000 05:33:37 +0000 (05:33 +0000)
servers/slapd/back-bdb/bind.c
servers/slapd/back-bdb/passwd.c
servers/slapd/back-bdb/referral.c
servers/slapd/back-bdb/search.c

index 88a90ee113740977df7dba90192af4d5869ef7e9..da28294b7d80b7bc2bb49581469e10d505cdd98d 100644 (file)
@@ -13,6 +13,7 @@
 #include <ac/unistd.h>
 
 #include "back-bdb.h"
+#include "external.h"
 
 int
 bdb_bind(
@@ -243,4 +244,4 @@ done:
 
        /* front end with send result on success (rc==0) */
        return rc;
-}
\ No newline at end of file
+}
index ba8e80ed9635227661c8338b3ae7a8bf56a23fe3..1639a62979978f6ae3f5916d2bc90e453ab8f8d8 100644 (file)
@@ -11,6 +11,7 @@
 #include <ac/string.h>
 
 #include "back-bdb.h"
+#include "external.h"
 
 int
 bdb_exop_passwd(
index 6629f9e037bf3b69b4b0cf11be384f05f7d82a50..ef8e5d7ca1e66faa5b3aadf84b149d191642a75c 100644 (file)
@@ -10,6 +10,7 @@
 #include <ac/string.h>
 
 #include "back-bdb.h"
+#include "external.h"
 
 int
 bdb_referrals(
index 6ad4b54031823d711720f47ac17974f737c24726..901f4d4550d6e2f351fbbc55ca7eec13e57d1286 100644 (file)
@@ -11,6 +11,7 @@
 #include <ac/string.h>
 
 #include "back-bdb.h"
+#include "external.h"
 
 static int base_candidate(
     BackendDB  *be,
@@ -44,21 +45,24 @@ bdb_search(
     char       **attrs,
     int                attrsonly )
 {
-       int abandon;
        struct bdb_info *bdb = (struct bdb_info *) be->be_private;
+       int              abandon;
        int             rc;
        const char *text = NULL;
        time_t          stoptime;
-       ID              candidates[BDB_IDL_SIZE];
        ID              id, cursor;
+       ID              candidates[BDB_IDL_SIZE];
        Entry           *e = NULL;
        struct berval **v2refs = NULL;
        Entry   *matched = NULL;
        char    *realbase = NULL;
        int             nentries = 0;
-       int             manageDSAit = get_manageDSAit( op );
+       int             manageDSAit;
+
+       Debug( LDAP_DEBUG_TRACE, "=> bdb_back_search\n",
+               0, 0, 0);
 
-       Debug(LDAP_DEBUG_TRACE, "=> ldbm_back_search\n", 0, 0, 0);
+       manageDSAit = get_manageDSAit( op );
 
 #ifdef BDB_ALIASES
        /* get entry with reader lock */