aboutsummaryrefslogtreecommitdiff
path: root/defaults.c
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-05-10 14:10:41 +1200
committerDavid <dbphillipsnz@gmail.com>2014-05-10 14:10:41 +1200
commitc6b5a3477b87ced86356813a578c19f6b345008b (patch)
tree5c7355d973296c1a5981319f712a3d0f9928dcca /defaults.c
parent68c8dfd0de28f61f27b20de271d2776219a30895 (diff)
parente05ece0acdc38ecf16e3ed2088a557248537d2a7 (diff)
downloadparamano-c6b5a3477b87ced86356813a578c19f6b345008b.tar.xz
Merge branch 'reload-config' Conflicts: Makefile
Diffstat (limited to 'defaults.c')
-rw-r--r--defaults.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/defaults.c b/defaults.c
index 6b605fc..926e1fd 100644
--- a/defaults.c
+++ b/defaults.c
@@ -23,4 +23,16 @@ char* _DEFAULT_FREQ;
char* _DEFAULT_PROG;
char* _DEFAULT_BAT_GOV;
char* _DEFAULT_AC_GOV;
+bool _DEFAULT_SHOW_BATTERY = TRUE;
bool _DEFAULT_USE_SUDO = FALSE;
+
+void defaults_init()
+{
+ _DEFAULT_GOV = NULL;
+ _DEFAULT_FREQ = NULL;
+ _DEFAULT_PROG = NULL;
+ _DEFAULT_BAT_GOV = NULL;
+ _DEFAULT_AC_GOV = NULL;
+ _DEFAULT_SHOW_BATTERY = TRUE;
+ _DEFAULT_USE_SUDO = FALSE;
+}