]> git.sur5r.net Git - openldap/commitdiff
localize SYNCREPL config defines
authorKurt Zeilenga <kurt@openldap.org>
Tue, 10 Jun 2003 18:36:47 +0000 (18:36 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 10 Jun 2003 18:36:47 +0000 (18:36 +0000)
servers/slapd/config.c
servers/slapd/slap.h

index 1efb7070b56dc5e2e2e6a51b103ec00e58282774..9cbb77b6aa9f777edd147f7bcb8fcc37ace6d601 100644 (file)
@@ -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
index 5bf92657e9b51466f2701d29e71f7f4b46f1f7fc..2921c089e4c35a7bd0042f2418a4cfc3469eb952 100644 (file)
@@ -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 {