projects
/
systembsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add config_[set,get]() in util.c, replace ini-style config
[systembsd.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index 5775fb406fc092e9ad1dec4301cfdf08405a3ec5..c80dc07e031568d332a60cc16dd01e574ec50b0d 100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-21,3
+21,6
@@
typedef enum {
} check_auth_result;
check_auth_result polkit_try_auth(const gchar *bus, const gchar *action, gboolean prompt);
+
+gchar * config_get(const gchar *path, gchar *key);
+gboolean config_set(const gchar *path, gchar *key, gchar *value);