#ifndef DB_DICT_H
#define DB_DICT_H
#include "sql-api.h"
struct auth_request;
struct db_dict_value_iter;
enum db_dict_value_format {
};
struct db_dict_key {
const char *name;
const char *key;
const char *format;
const char *default_value;
};
struct db_dict_field {
const char *name;
const char *value;
};
struct db_dict_settings {
const char *uri;
const char *default_pass_scheme;
const char *iterate_prefix;
bool iterate_disable;
const char *passdb_objects;
const char *userdb_objects;
};
struct dict_connection {
int refcount;
char *config_path;
};
/* Returns 1 if ok, 0 if a key without default_value wasn't returned
("user doesn't exist"), -1 if internal error */
struct auth_request *auth_request,
struct db_dict_value_iter **iter_r);
const char **error_r);
/* private: */
const struct db_dict_key *
#endif