pass "struct client" to dbUtils.c, song.c, tag_print.c

Don't pass the raw file descriptor around.  This migration patch is
rather large, because all of the sources have inter dependencies - we
have to change all of them at the same time.
This commit is contained in:
Max Kellermann
2008-09-07 13:53:55 +02:00
parent 5609a1fcd0
commit dc8b64fdef
12 changed files with 121 additions and 110 deletions
+3 -2
View File
@@ -20,9 +20,10 @@
#define TAG_PRINT_H
struct tag;
struct client;
void tag_print_types(int fd);
void tag_print_types(struct client *client);
void tag_print(int fd, const struct tag *tag);
void tag_print(struct client *client, const struct tag *tag);
#endif