summaryrefslogtreecommitdiff
path: root/src/settings.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-15 21:35:45 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-15 21:35:45 +0200
commit5a3c68a6d13464be6330aa4a5a32ec6115cedef0 (patch)
treee45fe4a2e172f3c9dd1512f39f045c19b2a9d4fa /src/settings.c
parentc17911ba268a4a784c57baed1540d08ba8741e04 (diff)
downloadpianobar-windows-5a3c68a6d13464be6330aa4a5a32ec6115cedef0.tar.gz
pianobar-windows-5a3c68a6d13464be6330aa4a5a32ec6115cedef0.tar.bz2
pianobar-windows-5a3c68a6d13464be6330aa4a5a32ec6115cedef0.zip
client: Removed unneeded debugging printf's; some more documentation for functions
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;