Remove useless daapd.h

This commit is contained in:
Julien BLACHE 2009-05-05 16:22:11 +02:00
parent d2999aafec
commit 10bb9dec57
23 changed files with 1 additions and 83 deletions

View File

@ -11,7 +11,7 @@ endif
mt_daapd_CPPFLAGS = -D_GNU_SOURCE @AVAHI_CFLAGS@ @SQLITE3_CFLAGS@ @FFMPEG_CFLAGS@ @CONFUSE_CFLAGS@ @TAGLIB_CFLAGS@ @MINIXML_CFLAGS@ mt_daapd_CPPFLAGS = -D_GNU_SOURCE @AVAHI_CFLAGS@ @SQLITE3_CFLAGS@ @FFMPEG_CFLAGS@ @CONFUSE_CFLAGS@ @TAGLIB_CFLAGS@ @MINIXML_CFLAGS@
mt_daapd_LDADD = @AVAHI_LIBS@ @SQLITE3_LIBS@ @FFMPEG_LIBS@ @CONFUSE_LIBS@ @FLAC_LIBS@ @TAGLIB_LIBS@ @LIBEVENT_LIBS@ @LIBAVL_LIBS@ @MINIXML_LIBS@ mt_daapd_LDADD = @AVAHI_LIBS@ @SQLITE3_LIBS@ @FFMPEG_LIBS@ @CONFUSE_LIBS@ @FLAC_LIBS@ @TAGLIB_LIBS@ @LIBEVENT_LIBS@ @LIBAVL_LIBS@ @MINIXML_LIBS@
mt_daapd_SOURCES = main.c daapd.h \ mt_daapd_SOURCES = main.c \
err.c err.h \ err.c err.h \
conffile.c conffile.h \ conffile.c conffile.h \
filescanner.c filescanner.h \ filescanner.c filescanner.h \

View File

@ -30,7 +30,6 @@
#include <confuse.h> #include <confuse.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "conffile.h" #include "conffile.h"

View File

@ -1,59 +0,0 @@
/*
* Header info for daapd server
*
* Copyright (C) 2003 Ron Pedde (ron@pedde.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* \file daapd.h
*
* header file for main.c. Why it isn't main.h, I don't know.
* In fact...
*
* \todo make daapd.h into main.h
*/
#ifndef _DAAPD_H_
#define _DAAPD_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#define PATHSEP '/'
#define PATHSEP_STR "/"
#ifdef DEBUG
# ifndef ASSERT
# define ASSERT(f) \
if(f) \
{} \
else \
err_log(0,"Assert error in %s, line %d\n",__FILE__,__LINE__)
# endif /* ndef ASSERT */
#else /* ndef DEBUG */
# ifndef ASSERT
# define ASSERT(f)
# endif
#endif
#endif /* _DAAPD_H_ */

View File

@ -38,7 +38,6 @@
# include <stdint.h> # include <stdint.h>
#endif #endif
#include "daapd.h"
#include "db-generic.h" #include "db-generic.h"
#include "err.h" #include "err.h"

View File

@ -47,7 +47,6 @@
# include <unistd.h> # include <unistd.h>
#endif #endif
#include "daapd.h"
#include "err.h" #include "err.h"
#include "db-generic.h" #include "db-generic.h"
#include "db-sql.h" #include "db-sql.h"

View File

@ -4,7 +4,6 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include "daapd.h"
char *db_sqlite_updates[] = { char *db_sqlite_updates[] = {
/* version 0 -> version 1 -- initial update */ /* version 0 -> version 1 -- initial update */

View File

@ -38,7 +38,6 @@
#endif #endif
#include <inttypes.h> #include <inttypes.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "db-generic.h" #include "db-generic.h"
#include "db-sql.h" #include "db-sql.h"

View File

@ -48,7 +48,6 @@
#include <syslog.h> #include <syslog.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "misc.h" #include "misc.h"

View File

@ -42,7 +42,6 @@
#include <event.h> #include <event.h>
#include <avl.h> #include <avl.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "db-generic.h" #include "db-generic.h"
#include "filescanner.h" #include "filescanner.h"

View File

@ -36,7 +36,6 @@
#include <libavcodec/avcodec.h> #include <libavcodec/avcodec.h>
#include <libavformat/avformat.h> #include <libavformat/avformat.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "filescanner.h" #include "filescanner.h"

View File

@ -33,7 +33,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "ff-dbstruct.h" #include "ff-dbstruct.h"
#include "db-generic.h" #include "db-generic.h"

View File

@ -30,7 +30,6 @@
#include <limits.h> #include <limits.h>
#include <errno.h> #include <errno.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "ff-dbstruct.h" #include "ff-dbstruct.h"
#include "filescanner.h" #include "filescanner.h"

View File

@ -34,7 +34,6 @@
#include <event.h> #include <event.h>
#include "evhttp/evhttp.h" #include "evhttp/evhttp.h"
#include "daapd.h"
#include "err.h" #include "err.h"
#include "ff-dbstruct.h" #include "ff-dbstruct.h"
#include "db-generic.h" #include "db-generic.h"

View File

@ -38,7 +38,6 @@
#include "evhttp/evhttp.h" #include "evhttp/evhttp.h"
#include <avl.h> #include <avl.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "ff-dbstruct.h" #include "ff-dbstruct.h"
#include "db-generic.h" #include "db-generic.h"

View File

@ -37,7 +37,6 @@
#include <mxml.h> #include <mxml.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "ff-dbstruct.h" #include "ff-dbstruct.h"
#include "db-generic.h" #include "db-generic.h"

View File

@ -80,15 +80,12 @@
#include <pwd.h> #include <pwd.h>
#include <grp.h> #include <grp.h>
#include "daapd.h"
#include "conffile.h" #include "conffile.h"
#include "err.h" #include "err.h"
#include "misc.h" #include "misc.h"
#include "filescanner.h" #include "filescanner.h"
#include "httpd.h" #include "httpd.h"
#include "db-generic.h" #include "db-generic.h"
#include "mdns_avahi.h" #include "mdns_avahi.h"
#ifdef HAVE_GETOPT_H #ifdef HAVE_GETOPT_H

View File

@ -33,7 +33,6 @@
#include <avahi-client/client.h> #include <avahi-client/client.h>
#include <avahi-client/publish.h> #include <avahi-client/publish.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "mdns_avahi.h" #include "mdns_avahi.h"

View File

@ -29,7 +29,6 @@
#include <stdint.h> #include <stdint.h>
#include <limits.h> #include <limits.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "misc.h" #include "misc.h"

View File

@ -39,7 +39,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "ff-dbstruct.h" #include "ff-dbstruct.h"

View File

@ -30,7 +30,6 @@
#include <string.h> #include <string.h>
#include <taglib/tag_c.h> #include <taglib/tag_c.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "ff-dbstruct.h" #include "ff-dbstruct.h"

View File

@ -33,7 +33,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "ff-dbstruct.h" #include "ff-dbstruct.h"

View File

@ -17,7 +17,6 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include "daapd.h"
#include "err.h" #include "err.h"
extern int db_sql_escape(char *buffer, int *size, char *fmt, ...); extern int db_sql_escape(char *buffer, int *size, char *fmt, ...);

View File

@ -39,7 +39,6 @@
#include <libavcodec/avcodec.h> #include <libavcodec/avcodec.h>
#include <libavformat/avformat.h> #include <libavformat/avformat.h>
#include "daapd.h"
#include "err.h" #include "err.h"
#include "conffile.h" #include "conffile.h"
#include "ff-dbstruct.h" #include "ff-dbstruct.h"