Remove useless daapd.h
This commit is contained in:
parent
d2999aafec
commit
10bb9dec57
|
@ -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_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 \
|
||||
conffile.c conffile.h \
|
||||
filescanner.c filescanner.h \
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
#include <confuse.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "conffile.h"
|
||||
|
||||
|
|
59
src/daapd.h
59
src/daapd.h
|
@ -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_ */
|
|
@ -38,7 +38,6 @@
|
|||
# include <stdint.h>
|
||||
#endif
|
||||
|
||||
#include "daapd.h"
|
||||
#include "db-generic.h"
|
||||
#include "err.h"
|
||||
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "db-generic.h"
|
||||
#include "db-sql.h"
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "daapd.h"
|
||||
|
||||
char *db_sqlite_updates[] = {
|
||||
/* version 0 -> version 1 -- initial update */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#endif
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "db-generic.h"
|
||||
#include "db-sql.h"
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
|
||||
#include <syslog.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "misc.h"
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
#include <event.h>
|
||||
#include <avl.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "db-generic.h"
|
||||
#include "filescanner.h"
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "filescanner.h"
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "ff-dbstruct.h"
|
||||
#include "db-generic.h"
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "ff-dbstruct.h"
|
||||
#include "filescanner.h"
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include <event.h>
|
||||
#include "evhttp/evhttp.h"
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "ff-dbstruct.h"
|
||||
#include "db-generic.h"
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include "evhttp/evhttp.h"
|
||||
#include <avl.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "ff-dbstruct.h"
|
||||
#include "db-generic.h"
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
|
||||
#include <mxml.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "ff-dbstruct.h"
|
||||
#include "db-generic.h"
|
||||
|
|
|
@ -80,15 +80,12 @@
|
|||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
|
||||
#include "daapd.h"
|
||||
|
||||
#include "conffile.h"
|
||||
#include "err.h"
|
||||
#include "misc.h"
|
||||
#include "filescanner.h"
|
||||
#include "httpd.h"
|
||||
#include "db-generic.h"
|
||||
|
||||
#include "mdns_avahi.h"
|
||||
|
||||
#ifdef HAVE_GETOPT_H
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include <avahi-client/client.h>
|
||||
#include <avahi-client/publish.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "mdns_avahi.h"
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include <stdint.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "misc.h"
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "ff-dbstruct.h"
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include <string.h>
|
||||
#include <taglib/tag_c.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "ff-dbstruct.h"
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "ff-dbstruct.h"
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
|
||||
extern int db_sql_escape(char *buffer, int *size, char *fmt, ...);
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
#include "conffile.h"
|
||||
#include "ff-dbstruct.h"
|
||||
|
|
Loading…
Reference in New Issue