![]() |
![]() |
![]() |
GSQL Developers Reference Manual | ![]() |
---|---|---|---|---|
#define GSQL_CONF_ROOT_KEY #define GSQL_CONF_ENGINES_ROOT_KEY #define GSQL_CONF_PLUGINS_ROOT_KEY void (*GSQLConfNotifyFunc) (gpointer userdata); void gsql_conf_init (); gint gsql_conf_value_get_int (gchar *path); gchar* gsql_conf_value_get_string (gchar *path); gchar* gsql_conf_value_get_string_at_root (gchar *path); gboolean gsql_conf_value_get_boolean (gchar *path); void gsql_conf_value_set_int (gchar *path, gint value); void gsql_conf_value_set_string (gchar *path, gchar *value); void gsql_conf_value_set_boolean (gchar *path, gboolean value); void gsql_conf_nitify_add (gchar *path, GSQLConfNotifyFunc func, gpointer userdata);
gint gsql_conf_value_get_int (gchar *path);
Get the value by path
|
path to the key |
Returns : |
int value |
gchar* gsql_conf_value_get_string (gchar *path);
Get the value by path
|
path to the key |
Returns : |
string value. returned value should be freed by g_free()
|
gchar* gsql_conf_value_get_string_at_root (gchar *path);
|
|
Returns : |
void gsql_conf_value_set_string (gchar *path, gchar *value);
|
|
|
void gsql_conf_value_set_boolean (gchar *path, gboolean value);
|
|
|
void gsql_conf_nitify_add (gchar *path, GSQLConfNotifyFunc func, gpointer userdata);
|
|
|
|
|