summaryrefslogtreecommitdiff
path: root/src/libotutil/ot-keyfile-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libotutil/ot-keyfile-utils.h')
-rw-r--r--src/libotutil/ot-keyfile-utils.h70
1 files changed, 24 insertions, 46 deletions
diff --git a/src/libotutil/ot-keyfile-utils.h b/src/libotutil/ot-keyfile-utils.h
index 3b4f6560..ae70f1c7 100644
--- a/src/libotutil/ot-keyfile-utils.h
+++ b/src/libotutil/ot-keyfile-utils.h
@@ -25,51 +25,29 @@
G_BEGIN_DECLS
-gboolean
-ot_keyfile_get_boolean_with_default (GKeyFile *keyfile,
- const char *section,
- const char *value,
- gboolean default_value,
- gboolean *out_bool,
- GError **error);
-
-
-gboolean
-ot_keyfile_get_value_with_default (GKeyFile *keyfile,
- const char *section,
- const char *value,
- const char *default_value,
- char **out_value,
- GError **error);
-
-gboolean
-ot_keyfile_get_value_with_default_group_optional (GKeyFile *keyfile,
- const char *section,
- const char *value,
- const char *default_value,
- char **out_value,
- GError **error);
-
-gboolean
-ot_keyfile_get_string_list_with_separator_choice (GKeyFile *keyfile,
- const char *section,
- const char *key,
- const char *separators,
- char ***out_value_list,
- GError **error);
-
-gboolean
-ot_keyfile_get_string_list_with_default (GKeyFile *keyfile,
- const char *section,
- const char *key,
- char separator,
- char **default_value,
- char ***out_value,
- GError **error);
-
-gboolean
-ot_keyfile_copy_group (GKeyFile *source_keyfile,
- GKeyFile *target_keyfile,
- const char *group_name);
+gboolean ot_keyfile_get_boolean_with_default (GKeyFile *keyfile, const char *section,
+ const char *value, gboolean default_value,
+ gboolean *out_bool, GError **error);
+
+gboolean ot_keyfile_get_value_with_default (GKeyFile *keyfile, const char *section,
+ const char *value, const char *default_value,
+ char **out_value, GError **error);
+
+gboolean ot_keyfile_get_value_with_default_group_optional (GKeyFile *keyfile, const char *section,
+ const char *value,
+ const char *default_value,
+ char **out_value, GError **error);
+
+gboolean ot_keyfile_get_string_list_with_separator_choice (GKeyFile *keyfile, const char *section,
+ const char *key, const char *separators,
+ char ***out_value_list, GError **error);
+
+gboolean ot_keyfile_get_string_list_with_default (GKeyFile *keyfile, const char *section,
+ const char *key, char separator,
+ char **default_value, char ***out_value,
+ GError **error);
+
+gboolean ot_keyfile_copy_group (GKeyFile *source_keyfile, GKeyFile *target_keyfile,
+ const char *group_name);
G_END_DECLS