#endif
} ConfigOCs;
+struct config_args_s;
+
+typedef int (ConfigDriver)(struct config_args_s *c);
+
typedef struct config_args_s {
int argc;
char **argv;
BackendDB *be;
BackendInfo *bi;
void *private; /* anything */
+ ConfigDriver *cleanup;
} ConfigArgs;
#define value_int values.v_int
#define value_dn values.v_dn.vdn_dn
#define value_ndn values.v_dn.vdn_ndn
-typedef int (ConfigDriver)(ConfigArgs *c);
-
int config_register_schema(ConfigTable *ct, ConfigOCs *co);
int config_get_vals(ConfigTable *ct, ConfigArgs *c);
int config_add_vals(ConfigTable *ct, ConfigArgs *c);