]> 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 0410374c5fd9d2c8c8527ef18d042d0975afbeed..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,
@@ -396,6 +392,19 @@ LDAP_SLAPD_F (void) filter_print LDAP_P(( Filter *f ));
 LDAP_SLAPD_F (int) test_filter LDAP_P((
        Backend *be, Connection *conn, Operation *op, Entry *e, Filter  *f ));
 
+/*
+ * limits.c
+ */
+LDAP_SLAPD_F (int) get_limits LDAP_P((
+       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, 
+       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
  */
@@ -819,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;