]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/proto-slap.h
Extend value_match to extract an asserted value from a full value
[openldap] / servers / slapd / proto-slap.h
index 88af06bf2c2ccc947319ef538d9adaa43ea87aaf..05acf2ded56cb0bdd30cec16531189c677fd1342 100644 (file)
@@ -28,12 +28,8 @@ LDAP_SLAPD_F (int) slap_bv2ad LDAP_P((
 LDAP_SLAPD_F (AttributeDescription *) ad_dup LDAP_P((
        AttributeDescription *desc ));
 
-LDAP_SLAPD_F (void) ad_free LDAP_P((
-       AttributeDescription *desc,
-       int freeit ));
-
 #define ad_cmp(l,r)    ( strcasecmp( \
-       (l)->ad_cname->bv_val, (r)->ad_cname->bv_val ))
+       (l)->ad_cname.bv_val, (r)->ad_cname.bv_val ))
 
 LDAP_SLAPD_F (int) is_ad_subtype LDAP_P((
        AttributeDescription *sub,
@@ -400,12 +396,14 @@ LDAP_SLAPD_F (int) test_filter LDAP_P((
  * limits.c
  */
 LDAP_SLAPD_F (int) get_limits LDAP_P((
-       Backend *be, const char *ndn, int *timelimit, int *sizelimit ));
+       Backend *be, const char *ndn, struct slap_limits_set **limit ));
 LDAP_SLAPD_F (int) add_limits LDAP_P((
        Backend *be, int type, const char *pattern, 
-       int timelimit, int sizelimit ));
+       struct slap_limits_set *limit ));
 LDAP_SLAPD_F (int) parse_limits LDAP_P((
         Backend *be, const char *fname, int lineno, int argc, char **argv ));
+LDAP_SLAPD_F (int) parse_limit LDAP_P(( const char *arg, 
+       struct slap_limits_set *limit ));
 
 /*
  * lock.c
@@ -830,8 +828,7 @@ LDAP_SLAPD_F (slap_ssf_set_t)       global_ssf_set;
 LDAP_SLAPD_F (struct berval **)        default_referral;
 LDAP_SLAPD_F (char *)          replogfile;
 LDAP_SLAPD_F (const char)      Versionstr[];
-LDAP_SLAPD_F (int)             defsize;
-LDAP_SLAPD_F (int)             deftime;
+LDAP_SLAPD_F (struct slap_limits_set)          deflimit;
 LDAP_SLAPD_F (int)             g_argc;
 LDAP_SLAPD_F (slap_access_t)   global_default_access;
 LDAP_SLAPD_F (int)             global_lastmod;