Standardize state_file handling routines.

This way it's easier to manage and extend.

git-svn-id: https://svn.musicpd.org/mpd/trunk@4494 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Eric Wong
2006-07-30 23:32:47 +00:00
parent 381d7232a0
commit 12aec5738b
9 changed files with 262 additions and 233 deletions

View File

@@ -29,6 +29,8 @@
#include <sys/stat.h>
#include <fcntl.h>
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
char *myFgets(char *buffer, int bufferSize, FILE * fp);
char *strDupToUpper(char *str);