/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2008 The OpenLDAP Foundation.
+ * Copyright 1998-2009 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
LDAP_BEGIN_DECL
typedef struct ConfigTable {
- char *name;
- char *what;
+ const char *name;
+ const char *what;
int min_args;
int max_args;
int length;
unsigned int arg_type;
void *arg_item;
- char *attribute;
+ const char *attribute;
AttributeDescription *ad;
void *notify;
} ConfigTable;
Operation *op, SlapReply *rs, Entry *parent, struct config_args_s *ca );
typedef struct ConfigOCs {
- char *co_def;
+ const char *co_def;
ConfigType co_type;
ConfigTable *co_table;
ConfigLDAPadd *co_ldadd;
#define value_dn values.v_dn.vdn_dn
#define value_ndn values.v_dn.vdn_ndn
+int config_fp_parse_line(ConfigArgs *c);
+
int config_register_schema(ConfigTable *ct, ConfigOCs *co);
int config_del_vals(ConfigTable *cf, ConfigArgs *c);
int config_get_vals(ConfigTable *ct, ConfigArgs *c);
extern slap_verbmasks *slap_ldap_response_code;
extern int slap_ldap_response_code_register( struct berval *bv, int err );
+extern ConfigTable olcDatabaseDummy[];
+
LDAP_END_DECL
#endif /* CONFIG_H */