#ifndef DICT_SQL_SETTINGS_H
#define DICT_SQL_SETTINGS_H
enum dict_sql_type {
DICT_SQL_TYPE_STRING = 0,
};
struct dict_sql_field {
const char *name;
};
struct dict_sql_map {
/* pattern is in simplified form: all variables are stored as simple
'$' character. fields array is sorted by the variable index. */
const char *pattern;
const char *table;
const char *username_field;
const char *value_field;
const char *value_type;
bool value_hexblob;
/* generated: */
unsigned int values_count;
const char *const *value_fields;
};
struct dict_sql_settings {
const char *connect;
unsigned int max_field_count;
};
struct dict_sql_settings *
void dict_sql_settings_deinit(void);
#endif