1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Cleanup: Corrected headers used in code

This commit is contained in:
Philipp Schafft 2018-06-17 12:47:35 +00:00
parent 5c3e7760c5
commit 059bfdc7ce
12 changed files with 19 additions and 35 deletions

View File

@ -23,6 +23,8 @@
#include <libxml/parser.h> #include <libxml/parser.h>
#include <libxml/tree.h> #include <libxml/tree.h>
#include "admin.h"
#include "compat.h"
#include "cfgfile.h" #include "cfgfile.h"
#include "connection.h" #include "connection.h"
#include "refbuf.h" #include "refbuf.h"
@ -30,10 +32,8 @@
#include "source.h" #include "source.h"
#include "global.h" #include "global.h"
#include "stats.h" #include "stats.h"
#include "compat.h"
#include "xslt.h" #include "xslt.h"
#include "fserve.h" #include "fserve.h"
#include "admin.h"
#include "errors.h" #include "errors.h"
#include "format.h" #include "format.h"

View File

@ -27,16 +27,13 @@
#include <libxml/parser.h> #include <libxml/parser.h>
#include "common/thread/thread.h" #include "common/thread/thread.h"
#include "cfgfile.h" #include "cfgfile.h"
#include "global.h" #include "global.h"
#include "refbuf.h"
#include "client.h"
#include "logging.h" #include "logging.h"
#include "util.h" #include "util.h"
#include "auth.h" #include "auth.h"
#include "event.h" #include "event.h"
#include "tls.h"
#include "slave.h"
/* for config_reread_config() */ /* for config_reread_config() */
#include "yp.h" #include "yp.h"
@ -44,6 +41,7 @@
#include "stats.h" #include "stats.h"
#include "connection.h" #include "connection.h"
#include "main.h" #include "main.h"
#include "slave.h"
#define CATMODULE "CONFIG" #define CATMODULE "CONFIG"
#define CONFIG_DEFAULT_LOCATION "Earth" #define CONFIG_DEFAULT_LOCATION "Earth"

View File

@ -33,31 +33,25 @@
#include <winsock2.h> #include <winsock2.h>
#endif #endif
#include "compat.h"
#include "common/thread/thread.h" #include "common/thread/thread.h"
#include "common/avl/avl.h" #include "common/avl/avl.h"
#include "common/net/sock.h" #include "common/net/sock.h"
#include "common/httpp/httpp.h" #include "common/httpp/httpp.h"
#include "compat.h"
#include "connection.h"
#include "cfgfile.h" #include "cfgfile.h"
#include "global.h" #include "global.h"
#include "util.h" #include "util.h"
#include "connection.h"
#include "refbuf.h" #include "refbuf.h"
#include "client.h" #include "client.h"
#include "errors.h" #include "errors.h"
#include "stats.h" #include "stats.h"
#include "logging.h" #include "logging.h"
#include "xslt.h"
#include "fserve.h" #include "fserve.h"
#include "slave.h" #include "slave.h"
#include "sighandler.h"
#include "yp.h"
#include "source.h" #include "source.h"
#include "format.h"
#include "format_mp3.h"
#include "admin.h" #include "admin.h"
#include "auth.h" #include "auth.h"
#include "matchfile.h" #include "matchfile.h"

View File

@ -47,6 +47,8 @@
#include "common/httpp/httpp.h" #include "common/httpp/httpp.h"
#include "common/net/sock.h" #include "common/net/sock.h"
#include "fserve.h"
#include "compat.h"
#include "connection.h" #include "connection.h"
#include "global.h" #include "global.h"
#include "refbuf.h" #include "refbuf.h"
@ -58,9 +60,6 @@
#include "cfgfile.h" #include "cfgfile.h"
#include "util.h" #include "util.h"
#include "admin.h" #include "admin.h"
#include "compat.h"
#include "fserve.h"
#undef CATMODULE #undef CATMODULE
#define CATMODULE "fserve" #define CATMODULE "fserve"

View File

@ -45,7 +45,6 @@
#endif #endif
#include "common/thread/thread.h" #include "common/thread/thread.h"
#include "common/avl/avl.h"
#include "common/net/sock.h" #include "common/net/sock.h"
#include "common/net/resolver.h" #include "common/net/resolver.h"
#include "common/httpp/httpp.h" #include "common/httpp/httpp.h"

View File

@ -19,10 +19,11 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include "common/avl/avl.h"
#include "matchfile.h" #include "matchfile.h"
#include "logging.h" #include "logging.h"
#include "util.h" /* for MAX_LINE_LEN and get_line() */ #include "util.h" /* for MAX_LINE_LEN and get_line() */
#include "common/avl/avl.h"
#define CATMODULE "matchfile" #define CATMODULE "matchfile"
struct matchfile_tag { struct matchfile_tag {

View File

@ -42,8 +42,9 @@
#include "common/thread/thread.h" #include "common/thread/thread.h"
#include "common/avl/avl.h" #include "common/avl/avl.h"
#include "common/httpp/httpp.h" #include "common/httpp/httpp.h"
#include "common/net/sock.h"
#include "source.h"
#include "compat.h"
#include "connection.h" #include "connection.h"
#include "global.h" #include "global.h"
#include "refbuf.h" #include "refbuf.h"
@ -53,13 +54,10 @@
#include "logging.h" #include "logging.h"
#include "cfgfile.h" #include "cfgfile.h"
#include "util.h" #include "util.h"
#include "source.h"
#include "format.h" #include "format.h"
#include "fserve.h" #include "fserve.h"
#include "auth.h" #include "auth.h"
#include "event.h" #include "event.h"
#include "compat.h"
#include "connection.h"
#include "slave.h" #include "slave.h"
#include "acl.h" #include "acl.h"

View File

@ -30,14 +30,13 @@
#include "common/httpp/httpp.h" #include "common/httpp/httpp.h"
#include "common/net/sock.h" #include "common/net/sock.h"
#include "stats.h"
#include "connection.h" #include "connection.h"
#include "source.h" #include "source.h"
#include "global.h" #include "global.h"
#include "refbuf.h" #include "refbuf.h"
#include "client.h" #include "client.h"
#include "admin.h" #include "admin.h"
#include "stats.h"
#include "xslt.h" #include "xslt.h"
#include "util.h" #include "util.h"
#include "auth.h" #include "auth.h"

View File

@ -41,12 +41,12 @@
#include "common/net/sock.h" #include "common/net/sock.h"
#include "common/thread/thread.h" #include "common/thread/thread.h"
#include "cfgfile.h" #include "util.h"
#include "compat.h" #include "compat.h"
#include "cfgfile.h"
#include "refbuf.h" #include "refbuf.h"
#include "connection.h" #include "connection.h"
#include "client.h" #include "client.h"
#include "util.h"
#include "source.h" #include "source.h"
#include "admin.h" #include "admin.h"

View File

@ -46,13 +46,10 @@
#include "common/httpp/httpp.h" #include "common/httpp/httpp.h"
#include "common/net/sock.h" #include "common/net/sock.h"
#include "connection.h" #include "xslt.h"
#include "global.h"
#include "refbuf.h" #include "refbuf.h"
#include "client.h" #include "client.h"
#include "errors.h" #include "errors.h"
#include "config.h"
#include "stats.h" #include "stats.h"
#include "fserve.h" #include "fserve.h"
#include "util.h" #include "util.h"

View File

@ -21,13 +21,10 @@
#include "common/thread/thread.h" #include "common/thread/thread.h"
#include "yp.h"
#include "global.h" #include "global.h"
#include "curl.h" #include "curl.h"
#include "connection.h"
#include "refbuf.h"
#include "client.h"
#include "logging.h" #include "logging.h"
#include "format.h"
#include "source.h" #include "source.h"
#include "cfgfile.h" #include "cfgfile.h"
#include "stats.h" #include "stats.h"

View File

@ -14,6 +14,8 @@
#ifndef __YP_H__ #ifndef __YP_H__
#define __YP_H__ #define __YP_H__
#include "icecasttypes.h"
#define YP_SERVER_NAME 1 #define YP_SERVER_NAME 1
#define YP_SERVER_DESC 2 #define YP_SERVER_DESC 2
#define YP_SERVER_GENRE 3 #define YP_SERVER_GENRE 3