directory: moved DIRECTORY_* string constants

Moved some of them to to directory_save.c, and others to database.c.
This commit is contained in:
Max Kellermann
2009-02-27 19:30:16 +01:00
parent eae0287466
commit 7473fa0f4e
3 changed files with 9 additions and 7 deletions

View File

@@ -28,6 +28,10 @@
#include <assert.h>
#include <string.h>
#define DIRECTORY_MTIME "mtime: " /* DEPRECATED, noop-read-only */
#define DIRECTORY_BEGIN "begin: "
#define DIRECTORY_END "end: "
/* TODO error checking */
int
directory_save(FILE *fp, struct directory *directory)