From 544805dcec15e02cdb264ecca8a40ed5d9d425bb Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 10 Jun 2003 18:36:47 +0000 Subject: [PATCH] localize SYNCREPL config defines --- servers/slapd/config.c | 32 ++++++++++++++++++++++++++++++++ servers/slapd/slap.h | 32 -------------------------------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 1efb7070b5..9cbb77b6aa 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -2714,6 +2714,38 @@ add_syncrepl( } } +#define IDSTR "id" +#define PROVIDERSTR "provider" +#define SUFFIXSTR "suffix" +#define UPDATEDNSTR "updatedn" +#define BINDDNSTR "binddn" +#define BINDMETHSTR "bindmethod" +#define SIMPLESTR "simple" +#define SASLSTR "sasl" +#define CREDSTR "credentials" +#define OLDAUTHCSTR "bindprincipal" +#define AUTHCSTR "authcID" +#define AUTHZSTR "authzID" +#define SRVTABSTR "srvtab" +#define SASLMECHSTR "saslmech" +#define REALMSTR "realm" +#define SECPROPSSTR "secprops" +#define STARTTLSSTR "starttls" +#define CRITICALSTR "critical" + +#define FILTERSTR "filter" +#define SEARCHBASESTR "searchbase" +#define SCOPESTR "scope" +#define ATTRSSTR "attrs" +#define ATTRSONLYSTR "attrsonly" +#define TYPESTR "type" +#define INTERVALSTR "interval" +#define COOKIESTR "cookie" +#define LASTMODSTR "lastmod" +#define LMREQSTR "req" +#define LMGENSTR "gen" +#define LMNOSTR "no" + #define GOT_ID 0x0001 #define GOT_HOST 0x0002 #define GOT_DN 0x0004 diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 5bf92657e9..2921c089e4 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -1340,38 +1340,6 @@ typedef struct syncinfo_s { LDAP_LIST_HEAD(np, nonpresent_entry) nonpresentlist; } syncinfo_t; -#define IDSTR "id" -#define PROVIDERSTR "provider" -#define SUFFIXSTR "suffix" -#define UPDATEDNSTR "updatedn" -#define BINDDNSTR "binddn" -#define BINDMETHSTR "bindmethod" -#define SIMPLESTR "simple" -#define SASLSTR "sasl" -#define CREDSTR "credentials" -#define OLDAUTHCSTR "bindprincipal" -#define AUTHCSTR "authcID" -#define AUTHZSTR "authzID" -#define SRVTABSTR "srvtab" -#define SASLMECHSTR "saslmech" -#define REALMSTR "realm" -#define SECPROPSSTR "secprops" -#define STARTTLSSTR "starttls" -#define CRITICALSTR "critical" - -#define FILTERSTR "filter" -#define SEARCHBASESTR "searchbase" -#define SCOPESTR "scope" -#define ATTRSSTR "attrs" -#define ATTRSONLYSTR "attrsonly" -#define TYPESTR "type" -#define INTERVALSTR "interval" -#define COOKIESTR "cookie" -#define LASTMODSTR "lastmod" -#define LMREQSTR "req" -#define LMGENSTR "gen" -#define LMNOSTR "no" - #endif /* LDAP_SYNCREPL */ struct slap_backend_db { -- 2.39.5