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

Update: Moved headers around so they can be used

This commit is contained in:
Philipp Schafft 2018-10-26 14:20:20 +00:00
parent 56053f3a58
commit 2ed4716a10
28 changed files with 30 additions and 27 deletions

View File

@ -6,7 +6,16 @@ SUBDIRS = avl httpp log net thread timing
lib_LTLIBRARIES = libigloo.la
pkginclude_HEADERS = include/igloo.h
pkginclude_HEADERS = \
include/igloo/avl.h \
include/igloo/encoding.h \
include/igloo/httpp.h \
include/igloo/igloo.h \
include/igloo/log.h \
include/igloo/resolver.h \
include/igloo/sock.h \
include/igloo/thread.h \
include/igloo/timing.h
libigloo_la_SOURCES = src/libigloo.c
libigloo_la_LIBADD = \

View File

@ -5,7 +5,6 @@ AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = BUILDING COPYING README TODO avl.dsp test.c
noinst_LTLIBRARIES = libiceavl.la
pkginclude_HEADERS = avl.h
libiceavl_la_SOURCES = avl.c

View File

@ -37,7 +37,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "avl.h"
#include "../include/igloo/avl.h"
igloo_avl_node *
igloo_avl_node_new (void * key,

View File

@ -1,5 +1,5 @@
#include <stdio.h>
#include "avl.h"
#include "../include/igloo/avl.h"
#ifdef _WIN32
#define snprintf _snprintf

View File

@ -3,7 +3,6 @@
AUTOMAKE_OPTIONS = foreign
noinst_LTLIBRARIES = libicehttpp.la
pkginclude_HEADERS = httpp.h encoding.h
libicehttpp_la_SOURCES = httpp.c encoding.c
AM_CPPFLAGS = -I$(srcdir)/..

View File

@ -32,7 +32,7 @@
#include <stdlib.h>
#include <stdio.h>
#include "encoding.h"
#include "../include/igloo/encoding.h"
struct igloo_httpp_encoding_tag {
size_t refc;

View File

@ -38,8 +38,8 @@
#include <strings.h>
#endif
#include <avl/avl.h>
#include "httpp.h"
#include "../include/igloo/avl.h"
#include "../include/igloo/httpp.h"
#define MAX_HEADERS 32

View File

@ -1,7 +1,7 @@
#include <stdio.h>
#include <avl/avl.h>
#include "httpp.h"
#include "../include/igloo/httpp.h"
int main(int argc, char **argv)

View File

@ -15,7 +15,7 @@ extern "C" {
#define AVL_KEY_PRINTER_BUFLEN (256)
#ifndef NO_THREAD
#include "thread/thread.h"
#include "thread.h"
#else
#define thread_rwlock_create(x) do{}while(0)
#define igloo_thread_rwlock_destroy(x) do{}while(0)

View File

@ -27,7 +27,7 @@
#ifndef _LIBIGLOO__HTTPP_H_
#define _LIBIGLOO__HTTPP_H_
#include <avl/avl.h>
#include "avl.h"
#define igloo_HTTPP_VAR_PROTOCOL "__protocol"
#define igloo_HTTPP_VAR_VERSION "__version"

View File

@ -5,7 +5,6 @@ AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = test.c
noinst_LTLIBRARIES = libicelog.la
pkginclude_HEADERS = log.h
libicelog_la_SOURCES = log.c

View File

@ -51,7 +51,7 @@
#include <windows.h>
#endif
#include "log.h"
#include "../include/igloo/log.h"
#define LOG_MAXLOGS 25
#define LOG_MAXLINELEN 1024

View File

@ -1,4 +1,4 @@
#include "log.h"
#include "../include/igloo/log.h"
#define CATMODULE "test"

View File

@ -5,7 +5,6 @@ AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = BUILDING COPYING README TODO test_resolver.c
noinst_LTLIBRARIES = libicenet.la
pkginclude_HEADERS = resolver.h sock.h
libicenet_la_SOURCES = sock.c resolver.c

View File

@ -42,7 +42,7 @@
#endif
#ifndef NO_THREAD
#include <thread/thread.h>
#include "../include/igloo/thread.h"
#else
#define thread_mutex_create(x) do{}while(0)
#define igloo_thread_mutex_destroy(x) do{}while(0)
@ -50,8 +50,8 @@
#define thread_mutex_unlock(x) do{}while(0)
#endif
#include "resolver.h"
#include "sock.h"
#include "../include/igloo/resolver.h"
#include "../include/igloo/sock.h"
/* internal function */

View File

@ -56,8 +56,8 @@
#include <winsock2.h>
#endif
#include "sock.h"
#include "resolver.h"
#include "../include/igloo/sock.h"
#include "../include/igloo/resolver.h"
/* for older C libraries */
#ifndef AI_NUMERICSERV

View File

@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "resolver.h"
#include "../include/igloo/resolver.h"
int main()
{

View File

@ -5,7 +5,6 @@ AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = BUILDING COPYING README TODO
noinst_LTLIBRARIES = libicethread.la
pkginclude_HEADERS = thread.h
libicethread_la_SOURCES = thread.c

View File

@ -47,10 +47,10 @@
#include <signal.h>
#include <thread/thread.h>
#include <avl/avl.h>
#include "../include/igloo/thread.h"
#include "../include/igloo/avl.h"
#ifdef THREAD_DEBUG
#include <log/log.h>
#include "../include/igloo/log.h"
#endif
#ifdef _WIN32

View File

@ -5,7 +5,6 @@ AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = BUILDING COPYING README TODO
noinst_LTLIBRARIES = libicetiming.la
pkginclude_HEADERS = timing.h
libicetiming_la_SOURCES = timing.c

View File

@ -59,7 +59,7 @@
#include <sys/timeb.h>
#endif
#include "timing.h"
#include "../include/igloo/timing.h"
/*
* Returns milliseconds no matter what.