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,
* dn.c
*/
-LDAP_SLAPD_F (char *) get_validated_dn LDAP_P(( char *dn, int make_uppercase, int normalize ));
LDAP_SLAPD_F (char *) dn_validate LDAP_P(( char *dn ));
LDAP_SLAPD_F (char *) dn_normalize LDAP_P(( char *dn ));
LDAP_SLAPD_F (char *) dn_parent LDAP_P(( Backend *be, const char *dn ));
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
*/
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;