From: Kurt Zeilenga Date: Tue, 26 Sep 2000 05:33:37 +0000 (+0000) Subject: include external.h X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1885 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=63df7da68e29b140bcf98c3fd9f41e01b17686b8;p=openldap include external.h --- diff --git a/servers/slapd/back-bdb/bind.c b/servers/slapd/back-bdb/bind.c index 88a90ee113..da28294b7d 100644 --- a/servers/slapd/back-bdb/bind.c +++ b/servers/slapd/back-bdb/bind.c @@ -13,6 +13,7 @@ #include #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 +} diff --git a/servers/slapd/back-bdb/passwd.c b/servers/slapd/back-bdb/passwd.c index ba8e80ed96..1639a62979 100644 --- a/servers/slapd/back-bdb/passwd.c +++ b/servers/slapd/back-bdb/passwd.c @@ -11,6 +11,7 @@ #include #include "back-bdb.h" +#include "external.h" int bdb_exop_passwd( diff --git a/servers/slapd/back-bdb/referral.c b/servers/slapd/back-bdb/referral.c index 6629f9e037..ef8e5d7ca1 100644 --- a/servers/slapd/back-bdb/referral.c +++ b/servers/slapd/back-bdb/referral.c @@ -10,6 +10,7 @@ #include #include "back-bdb.h" +#include "external.h" int bdb_referrals( diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index 6ad4b54031..901f4d4550 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -11,6 +11,7 @@ #include #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 */