aboutsummaryrefslogtreecommitdiffstats
path: root/src/state_file.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-18 18:09:50 +0100
committerMax Kellermann <max@duempel.org>2009-01-18 18:09:50 +0100
commit84de45afbaed7ea27f7ac84f3adf1faa26f61879 (patch)
tree84870bf8178f19cd8b27112f5c0c285a056d03bb /src/state_file.h
parent1482b22351903557ed2c0596bb3ce53480fb731a (diff)
downloadmpd-84de45afbaed7ea27f7ac84f3adf1faa26f61879.tar.gz
mpd-84de45afbaed7ea27f7ac84f3adf1faa26f61879.tar.xz
mpd-84de45afbaed7ea27f7ac84f3adf1faa26f61879.zip
state_file: added state_file_init() and state_file_finish()
The constructor/destructor interface should hide the functions read_state_file() and write_state_file().
Diffstat (limited to 'src/state_file.h')
-rw-r--r--src/state_file.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/state_file.h b/src/state_file.h
index e9c8d5d10..440083479 100644
--- a/src/state_file.h
+++ b/src/state_file.h
@@ -19,7 +19,12 @@
#ifndef MPD_STATE_FILE_H
#define MPD_STATE_FILE_H
+void
+state_file_init(const char *path);
+
+void
+state_file_finish(void);
+
void write_state_file(void);
-void read_state_file(void);
#endif /* STATE_FILE_H */