]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slap.h
ITS#2919 move OpenLDAPtime to OpenLDAPperson
[openldap] / servers / slapd / slap.h
index 23a5ee02d4a53514056a90189e30c1adc79e707f..2214f0cb8e3247086e1e8f8b01724ac3f932a0d4 100644 (file)
@@ -319,7 +319,8 @@ extern int slap_inet4or6;
 
 typedef struct slap_oid_macro {
        struct berval som_oid;
-       char **som_names;
+       BerVarray som_names;
+       BerVarray som_subs;
        LDAP_SLIST_ENTRY(slap_oid_macro) som_next;
 } OidMacro;
 
@@ -1409,14 +1410,22 @@ typedef struct slap_bindconf {
 } slap_bindconf;
 
 struct slap_replica_info {
-       char *ri_uri;                           /* supersedes be_replica */
-       char *ri_host;                          /* points to host part of uri */
-       BerVarray ri_nsuffix;   /* array of suffixes this replica accepts */
+       const char *ri_uri;                     /* supersedes be_replica */
+       const char *ri_host;            /* points to host part of uri */
+       BerVarray ri_nsuffix;           /* array of suffixes this replica accepts */
        AttributeName *ri_attrs;        /* attrs to replicate, NULL=all */
-       int ri_exclude;                 /* 1 => exclude ri_attrs */
+       int ri_exclude;                         /* 1 => exclude ri_attrs */
        slap_bindconf ri_bindconf;      /* for back-config */
 };
 
+typedef struct slap_verbmasks {
+       struct berval word;
+       const int mask;
+} slap_verbmasks;
+
+#define SLAP_LIMIT_TIME        1
+#define SLAP_LIMIT_SIZE        2
+
 struct slap_limits_set {
        /* time limits */
        int     lms_t_soft;