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().
This commit is contained in:
Max Kellermann
2009-01-18 18:09:50 +01:00
parent 1482b22351
commit 84de45afba
3 changed files with 40 additions and 24 deletions
+6 -1
View File
@@ -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 */