Commit 5c3e7760 authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Cleanup: Corrected headers used in headers

parent 8b86373e
......@@ -16,6 +16,7 @@
#include "acl.h"
#include "admin.h"
#include "util.h"
#include <stdio.h>
......
......@@ -19,7 +19,6 @@
#include "common/httpp/httpp.h"
#include "icecasttypes.h"
#include "admin.h"
typedef enum acl_policy_tag {
/* Error on function call */
......
......@@ -40,6 +40,7 @@
#include "logging.h"
#include "auth.h"
#include "acl.h"
#ifdef _WIN32
#define snprintf _snprintf
#endif
......
......@@ -16,14 +16,9 @@
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <stdint.h>
#include "icecasttypes.h"
#include "compat.h"
#include "refbuf.h"
#include "client.h"
#include "source.h"
#include "auth.h"
/* types */
#define ADMINTYPE_ERROR (-1)
......
......@@ -21,10 +21,11 @@
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include "icecasttypes.h"
#include "cfgfile.h"
#include "client.h"
#include "common/thread/thread.h"
#include "common/httpp/httpp.h"
#include "icecasttypes.h"
/* implemented */
#define AUTH_TYPE_ANONYMOUS "anonymous"
......
......@@ -18,6 +18,7 @@
#include <string.h>
#include "auth.h"
#include "cfgfile.h"
#include "client.h"
#include "logging.h"
......
......@@ -42,6 +42,7 @@
#include "logging.h"
#include "util.h"
#include "acl.h"
/* for ADMIN_COMMAND_ERROR */
#include "admin.h"
......
......@@ -19,14 +19,12 @@
#ifndef __CLIENT_H__
#define __CLIENT_H__
#include "common/httpp/httpp.h"
#include "common/httpp/encoding.h"
#include "icecasttypes.h"
#include "errors.h"
#include "refbuf.h"
#include "acl.h"
#include "cfgfile.h"
#include "admin.h"
#include "common/httpp/httpp.h"
#include "common/httpp/encoding.h"
#define CLIENT_DEFAULT_ADMIN_FORMAT ADMIN_FORMAT_TRANSFORMED
......
......@@ -51,6 +51,7 @@
#include "logging.h"
#include "xslt.h"
#include "fserve.h"
#include "slave.h"
#include "sighandler.h"
#include "yp.h"
......@@ -61,6 +62,7 @@
#include "auth.h"
#include "matchfile.h"
#include "tls.h"
#include "acl.h"
#define CATMODULE "connection"
......
......@@ -21,7 +21,6 @@
#include "icecasttypes.h"
#include "compat.h"
#include "common/httpp/httpp.h"
#include "common/thread/thread.h"
#include "common/net/sock.h"
......
......@@ -11,6 +11,7 @@
#endif
#include "curl.h"
#include "cfgfile.h"
#include "logging.h"
#define CATMODULE "curl"
......
......@@ -21,6 +21,8 @@
#include "logging.h"
#include "admin.h"
#include "connection.h"
#include "client.h"
#include "cfgfile.h"
#define CATMODULE "event"
......
......@@ -9,18 +9,13 @@
#ifndef __EVENT_H__
#define __EVENT_H__
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include "common/httpp/httpp.h"
#include "cfgfile.h"
#include "client.h"
#include "source.h"
#include "common/thread/thread.h"
#include "icecasttypes.h"
/* implemented */
#define EVENT_TYPE_LOG "log"
......
......@@ -22,6 +22,7 @@
#include "event.h"
#include "global.h"
#include "source.h"
#include "logging.h"
#define CATMODULE "event_exec"
......
......@@ -13,6 +13,8 @@
#include <string.h>
#include "event.h"
#include "util.h"
#include "cfgfile.h"
#include "logging.h"
#define CATMODULE "event_log"
......
......@@ -14,6 +14,8 @@
#include "curl.h"
#include "event.h"
#include "cfgfile.h"
#include "util.h"
#include "logging.h"
#define CATMODULE "event_url"
......
......@@ -23,6 +23,7 @@
#include "icecasttypes.h"
#include "client.h"
#include "refbuf.h"
#include "cfgfile.h"
#include "common/httpp/httpp.h"
typedef enum _format_type_tag
......
......@@ -32,6 +32,7 @@
#include "refbuf.h"
#include "source.h"
#include "client.h"
#include "connection.h"
#include "stats.h"
#include "format.h"
......
......@@ -14,7 +14,8 @@
#define __FSERVE_H__
#include <stdio.h>
#include "cfgfile.h"
#include "icecasttypes.h"
typedef void (*fserve_callback_t)(client_t *, void *);
......
......@@ -22,13 +22,13 @@
#include "common/thread/thread.h"
#include "common/httpp/httpp.h"
#include "logging.h"
#include "connection.h"
#include "refbuf.h"
#include "client.h"
#include "compat.h"
#include "cfgfile.h"
#include "logging.h"
#include "util.h"
#ifdef _WIN32
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment