summaryrefslogtreecommitdiff
path: root/src/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.c')
-rw-r--r--src/settings.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/settings.c b/src/settings.c
index 2b1c313..40a5064 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -65,6 +65,12 @@ void BarSettingsDestroy (BarSettings_t *settings) {
free (settings->password);
}
+/* read app settings from file; format is: key = value\n
+ * @author PromyLOPh
+ * @added 2008-06-15
+ * @param where to save these settings
+ * @return nothing yet
+ */
void readSettings (BarSettings_t *settings) {
char configfile[1024], key[256], val[256];
FILE *configfd;