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:
+6
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user