mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
refer to cfgfile.h instead of config.h for icecast.xml, and use config.h
for autoconf svn path=/trunk/icecast/; revision=5156
This commit is contained in:
parent
88fd04cfd0
commit
43953202a2
@ -1,3 +1,7 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
@ -6,7 +10,7 @@
|
||||
#include <libxml/parser.h>
|
||||
#include <libxml/tree.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
#include "connection.h"
|
||||
#include "refbuf.h"
|
||||
#include "client.h"
|
||||
|
@ -4,6 +4,10 @@
|
||||
**
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
|
||||
void _dump_config(ice_config_t *config);
|
||||
|
||||
|
@ -1,4 +1,8 @@
|
||||
/* -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -27,7 +31,7 @@
|
||||
#include "net/sock.h"
|
||||
#include "httpp/httpp.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
#include "global.h"
|
||||
#include "util.h"
|
||||
#include "connection.h"
|
||||
|
@ -1,5 +1,9 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "event.h"
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
|
||||
#include "refbuf.h"
|
||||
#include "client.h"
|
||||
|
@ -5,6 +5,10 @@
|
||||
**
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
@ -5,6 +5,10 @@
|
||||
**
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -4,6 +4,10 @@
|
||||
**
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -1,3 +1,7 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -28,7 +32,7 @@
|
||||
#include "stats.h"
|
||||
#include "format.h"
|
||||
#include "logging.h"
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
#include "util.h"
|
||||
|
||||
#include "fserve.h"
|
||||
|
@ -1,4 +1,8 @@
|
||||
/* -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@ -12,7 +16,7 @@
|
||||
#include "format.h"
|
||||
#include "geturl.h"
|
||||
#include "source.h"
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
|
||||
#include <curl/curl.h>
|
||||
#include <curl/types.h>
|
||||
|
@ -1,4 +1,8 @@
|
||||
/* -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "thread/thread.h"
|
||||
|
@ -1,3 +1,7 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
@ -10,7 +14,7 @@
|
||||
#include "client.h"
|
||||
|
||||
#include "os.h"
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
#include "logging.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
@ -1,4 +1,8 @@
|
||||
/* -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -15,7 +19,7 @@
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
#include "sighandler.h"
|
||||
|
||||
#include "global.h"
|
||||
|
@ -4,6 +4,10 @@
|
||||
**
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#include "thread/thread.h"
|
||||
@ -46,8 +50,6 @@ void _sig_hup(int signo)
|
||||
|
||||
connection_inject_event(EVENT_CONFIG_READ, NULL);
|
||||
|
||||
/* reopen logfiles (TODO: We don't do this currently) */
|
||||
|
||||
/* some OSes require us to reattach the signal handler */
|
||||
signal(SIGHUP, _sig_hup);
|
||||
}
|
||||
|
@ -6,6 +6,10 @@
|
||||
* and creates source threads for any it doesn't already have.
|
||||
* */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -30,7 +34,7 @@
|
||||
#include "net/sock.h"
|
||||
#include "httpp/httpp.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
#include "global.h"
|
||||
#include "util.h"
|
||||
#include "connection.h"
|
||||
|
@ -1,4 +1,8 @@
|
||||
/* -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -26,7 +30,7 @@
|
||||
#include "client.h"
|
||||
#include "stats.h"
|
||||
#include "logging.h"
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
#include "util.h"
|
||||
#ifdef USE_YP
|
||||
#include "geturl.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef __SOURCE_H__
|
||||
#define __SOURCE_H__
|
||||
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
#include "yp.h"
|
||||
#include "util.h"
|
||||
#include "format.h"
|
||||
|
@ -1,3 +1,7 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,3 +1,7 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@ -21,7 +25,7 @@
|
||||
|
||||
#include "net/sock.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
#include "util.h"
|
||||
#include "os.h"
|
||||
#include "refbuf.h"
|
||||
|
@ -1,3 +1,7 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <libxml/xmlmemory.h>
|
||||
#include <libxml/debugXML.h>
|
||||
|
6
src/yp.c
6
src/yp.c
@ -1,4 +1,8 @@
|
||||
/* -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@ -12,7 +16,7 @@
|
||||
#include "format.h"
|
||||
#include "geturl.h"
|
||||
#include "source.h"
|
||||
#include "config.h"
|
||||
#include "cfgfile.h"
|
||||
|
||||
#define CATMODULE "yp"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user