param 36 lib/mcconfig.h const gchar * param); param 39 lib/mcconfig.h gboolean mc_config_del_key (mc_config_t * mc_config, const char *group, const gchar * param); param 54 lib/mcconfig.h gchar *mc_config_get_string (mc_config_t * mc_config, const gchar * group, const gchar * param, param 57 lib/mcconfig.h const gchar * param, const gchar * def); param 58 lib/mcconfig.h gboolean mc_config_get_bool (mc_config_t * mc_config, const gchar * group, const gchar * param, param 60 lib/mcconfig.h int mc_config_get_int (mc_config_t * mc_config, const gchar * group, const gchar * param, int def); param 63 lib/mcconfig.h const gchar * param, gsize * length); param 65 lib/mcconfig.h const gchar * param, gsize * length); param 66 lib/mcconfig.h int *mc_config_get_int_list (mc_config_t * mc_config, const gchar * group, const gchar * param, param 72 lib/mcconfig.h void mc_config_set_string_raw (mc_config_t * mc_config, const gchar * group, const gchar * param, param 75 lib/mcconfig.h const gchar * param, const gchar * value); param 76 lib/mcconfig.h void mc_config_set_string (mc_config_t * mc_config, const gchar * group, const gchar * param, param 78 lib/mcconfig.h void mc_config_set_bool (mc_config_t * mc_config, const gchar * group, const gchar * param, param 80 lib/mcconfig.h void mc_config_set_int (mc_config_t * mc_config, const gchar * group, const gchar * param, param 84 lib/mcconfig.h mc_config_set_string_list (mc_config_t * mc_config, const gchar * group, const gchar * param, param 86 lib/mcconfig.h void mc_config_set_bool_list (mc_config_t * mc_config, const gchar * group, const gchar * param, param 88 lib/mcconfig.h void mc_config_set_int_list (mc_config_t * mc_config, const gchar * group, const gchar * param, param 164 lib/mcconfig/common.c mc_config_has_param (const mc_config_t *mc_config, const char *group, const gchar *param) param 171 lib/mcconfig/common.c value = g_key_file_get_value (mc_config->handle, group, param, NULL); param 192 lib/mcconfig/common.c mc_config_del_key (mc_config_t *mc_config, const char *group, const gchar *param) param 194 lib/mcconfig/common.c if (mc_config == NULL || group == NULL || param == NULL) param 197 lib/mcconfig/common.c return g_key_file_remove_key (mc_config->handle, group, param, NULL); param 90 lib/mcconfig/get.c const gchar *param, const gchar *def) param 97 lib/mcconfig/get.c ret = mc_config_get_string_raw (mc_config, group, param, def); param 125 lib/mcconfig/get.c const gchar *param, const gchar *def) param 129 lib/mcconfig/get.c if (mc_config == NULL || group == NULL || param == NULL) param 132 lib/mcconfig/get.c if (!mc_config_has_param (mc_config, group, param)) param 135 lib/mcconfig/get.c mc_config_set_string (mc_config, group, param, def); param 139 lib/mcconfig/get.c ret = g_key_file_get_string (mc_config->handle, group, param, NULL); param 147 lib/mcconfig/get.c mc_config_get_bool (mc_config_t *mc_config, const gchar *group, const gchar *param, gboolean def) param 149 lib/mcconfig/get.c if (mc_config == NULL || group == NULL || param == NULL) param 152 lib/mcconfig/get.c if (!mc_config_has_param (mc_config, group, param)) param 154 lib/mcconfig/get.c mc_config_set_bool (mc_config, group, param, def); param 158 lib/mcconfig/get.c return g_key_file_get_boolean (mc_config->handle, group, param, NULL); param 164 lib/mcconfig/get.c mc_config_get_int (mc_config_t *mc_config, const gchar *group, const gchar *param, int def) param 166 lib/mcconfig/get.c if (mc_config == NULL || group == NULL || param == NULL) param 169 lib/mcconfig/get.c if (!mc_config_has_param (mc_config, group, param)) param 171 lib/mcconfig/get.c mc_config_set_int (mc_config, group, param, def); param 175 lib/mcconfig/get.c return g_key_file_get_integer (mc_config->handle, group, param, NULL); param 182 lib/mcconfig/get.c const gchar *param, gsize *length) param 184 lib/mcconfig/get.c if (mc_config == NULL || group == NULL || param == NULL) param 187 lib/mcconfig/get.c return g_key_file_get_string_list (mc_config->handle, group, param, length, NULL); param 194 lib/mcconfig/get.c const gchar *param, gsize *length) param 196 lib/mcconfig/get.c if (mc_config == NULL || group == NULL || param == NULL) param 199 lib/mcconfig/get.c return g_key_file_get_boolean_list (mc_config->handle, group, param, length, NULL); param 206 lib/mcconfig/get.c const gchar *param, gsize *length) param 208 lib/mcconfig/get.c if (mc_config == NULL || group == NULL || param == NULL) param 211 lib/mcconfig/get.c return g_key_file_get_integer_list (mc_config->handle, group, param, length, NULL); param 78 lib/mcconfig/set.c const gchar *param, const gchar *value) param 80 lib/mcconfig/set.c if (mc_config != NULL && group != NULL && param != NULL && value != NULL) param 81 lib/mcconfig/set.c g_key_file_set_string (mc_config->handle, group, param, value); param 88 lib/mcconfig/set.c const gchar *param, const gchar *value) param 90 lib/mcconfig/set.c if (mc_config != NULL && group != NULL && param != NULL && value != NULL) param 91 lib/mcconfig/set.c g_key_file_set_value (mc_config->handle, group, param, value); param 98 lib/mcconfig/set.c const gchar *param, const gchar *value) param 100 lib/mcconfig/set.c if (mc_config != NULL && group != NULL && param != NULL && value != NULL) param 105 lib/mcconfig/set.c g_key_file_set_string (mc_config->handle, group, param, buffer); param 113 lib/mcconfig/set.c mc_config_set_bool (mc_config_t *mc_config, const gchar *group, const gchar *param, gboolean value) param 115 lib/mcconfig/set.c if (mc_config != NULL && group != NULL && param != NULL) param 116 lib/mcconfig/set.c g_key_file_set_boolean (mc_config->handle, group, param, value); param 122 lib/mcconfig/set.c mc_config_set_int (mc_config_t *mc_config, const gchar *group, const gchar *param, int value) param 124 lib/mcconfig/set.c if (mc_config != NULL && group != NULL && param != NULL) param 125 lib/mcconfig/set.c g_key_file_set_integer (mc_config->handle, group, param, value); param 132 lib/mcconfig/set.c const gchar *param, const gchar *const value[], gsize length) param 134 lib/mcconfig/set.c if (mc_config != NULL && group != NULL && param != NULL && value != NULL && length != 0) param 135 lib/mcconfig/set.c g_key_file_set_string_list (mc_config->handle, group, param, value, length); param 142 lib/mcconfig/set.c const gchar *param, gboolean value[], gsize length) param 144 lib/mcconfig/set.c if (mc_config != NULL && group != NULL && param != NULL && value != NULL && length != 0) param 145 lib/mcconfig/set.c g_key_file_set_boolean_list (mc_config->handle, group, param, value, length); param 152 lib/mcconfig/set.c const gchar *param, int value[], gsize length) param 154 lib/mcconfig/set.c if (mc_config != NULL && group != NULL && param != NULL && value != NULL && length != 0) param 155 lib/mcconfig/set.c g_key_file_set_integer_list (mc_config->handle, group, param, value, length); param 53 tests/src/execute__execute_get_external_cmd_opts_from_config.c const gchar *param, const gchar *default_value) param 59 tests/src/execute__execute_get_external_cmd_opts_from_config.c g_ptr_array_add (mc_config_get_string__param__captured, g_strdup (param));