aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 15:23:37 +0200
committerMax Kellermann <max@duempel.org>2008-10-09 15:23:37 +0200
commita0c044df11825069fc91dbc1ab9b6960886fd125 (patch)
tree3f13c65eef958641b38f0cb4ab6290f57a7c87b9 /src/directory.h
parentcb12eb8e231cb653ea0f7f96d3de7cdf9e504f8c (diff)
downloadmpd-a0c044df11825069fc91dbc1ab9b6960886fd125.tar.gz
mpd-a0c044df11825069fc91dbc1ab9b6960886fd125.tar.xz
mpd-a0c044df11825069fc91dbc1ab9b6960886fd125.zip
diretory: moved code to directory_save.c, directory_print.c
Remove clutter from directory.c. Everything which saves or loads to/from the hard disk goes to directory_save.c, and code which sends directory information to the client is moved into directory_print.c.
Diffstat (limited to 'src/directory.h')
-rw-r--r--src/directory.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/directory.h b/src/directory.h
index d5e414efb..534e0be14 100644
--- a/src/directory.h
+++ b/src/directory.h
@@ -20,10 +20,8 @@
#define DIRECTORY_H
#include "songvec.h"
-#include "list.h"
#include <stdbool.h>
-#include <stdio.h>
#include <sys/types.h>
#define DIRECTORY_DIR "directory: "
@@ -35,8 +33,6 @@
#define DIRECTORY_MPD_VERSION "mpd_version: "
#define DIRECTORY_FS_CHARSET "fs_charset: "
-struct client;
-
struct dirvec {
struct directory **base;
size_t nr;
@@ -82,15 +78,6 @@ directory_prune_empty(struct directory *directory);
struct directory *
directory_get_directory(struct directory *directory, const char *name);
-int
-directory_print(struct client *client, const struct directory *directory);
-
-int
-directory_save(FILE *fp, struct directory *directory);
-
-void
-directory_load(FILE *fp, struct directory *directory);
-
void
directory_sort(struct directory *directory);