#define ARG_PAREN 0x01000000
#define ARG_NONZERO 0x02000000
#define ARG_UNIQUE 0x10000000
-#define ARG_SPECIAL 0x20000000 /* one special case */
+#define ARG_MUTEX 0x20000000 /* modify in single-thread mode */
#define ARG_OFFSET 0x40000000
#define ARG_MAGIC 0x80000000
#define ARG_BAD_CONF 0xdead0000 /* overload return values */
#define ARG_UNKNOWN 0xc0de0000
+extern ConfigTable config_back_cf_table[];
+
+typedef struct ConfigOCs {
+ char *def;
+ ObjectClass **oc;
+} ConfigOCs;
+
typedef struct config_args_s {
int argc;
char **argv;
typedef int (ConfigDriver)(ConfigArgs *c);
-#ifdef SLAPD_MODULES
-typedef struct modpath_s {
- struct modpath_s *mp_next;
- struct berval mp_path;
- BerVarray mp_loads;
-} ModPaths;
-#endif
-
-typedef struct ConfigFile {
- struct ConfigFile *c_sibs;
- struct ConfigFile *c_kids;
- struct berval c_file;
-#ifdef SLAPD_MODULES
- ModPaths c_modpaths;
- ModPaths *c_modlast;
-#endif
- BerVarray c_dseFiles;
-} ConfigFile;
-
-void config_back_init( ConfigFile *cfp, ConfigTable *ct );
int config_get_vals(ConfigTable *ct, ConfigArgs *c);