source: roaraudio/include/libroar/libroar.h @ 4708:c9d40761088a

Last change on this file since 4708:c9d40761088a was 4708:c9d40761088a, checked in by phi, 13 years ago

updated copyright statements

File size: 4.4 KB
RevLine 
[0]1//libroar.h:
2
[690]3/*
[4708]4 *      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2011
[690]5 *
6 *  This file is part of libroar a part of RoarAudio,
7 *  a cross-platform sound system for both, home and professional use.
8 *  See README for details.
9 *
10 *  This file is free software; you can redistribute it and/or modify
11 *  it under the terms of the GNU General Public License version 3
12 *  as published by the Free Software Foundation.
13 *
14 *  libroar is distributed in the hope that it will be useful,
15 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 *  GNU General Public License for more details.
18 *
19 *  You should have received a copy of the GNU General Public License
20 *  along with this software; see the file COPYING.  If not, write to
[3517]21 *  the Free Software Foundation, 51 Franklin Street, Fifth Floor,
22 *  Boston, MA 02110-1301, USA.
[690]23 *
24 *  NOTE for everyone want's to change something and send patches:
25 *  read README and HACKING! There a addition information on
26 *  the license of this document you need to read before you send
27 *  any patches.
28 *
29 *  NOTE for uses of non-GPL (LGPL,...) software using libesd, libartsc
30 *  or libpulse*:
31 *  The libs libroaresd, libroararts and libroarpulse link this lib
32 *  and are therefore GPL. Because of this it may be illigal to use
33 *  them with any software that uses libesd, libartsc or libpulse*.
34 */
35
[0]36#ifndef _LIBROAR_H_
37#define _LIBROAR_H_
38
[4299]39//#define ROAR_DBG_PREFIX  "libroar"
[0]40
[474]41#include <roaraudio.h>
42
[1351]43#include <stdarg.h>
44
[1386]45#ifdef ROAR_HAVE_WAIT
[1254]46#include <sys/wait.h>
[1386]47#endif
[1254]48
[1425]49#ifdef ROAR_HAVE_H_FCNTL
[0]50#include <fcntl.h>
[1425]51#endif
[1374]52
[3056]53#ifdef ROAR_HAVE_H_SIGNAL
[1418]54#include <signal.h>
55#endif
56
[3611]57#ifdef ROAR_HAVE_SYSLOG
58#include <syslog.h>
59#endif
60
[1374]61#ifdef ROAR_HAVE_BSDSOCKETS
62
[1075]63#ifndef ROAR_TARGET_WIN32
[4554]64#ifdef ROAR_HAVE_H_SYS_SOCKET
[322]65#include <sys/socket.h>
[4554]66#endif
[1374]67#ifdef ROAR_HAVE_IPV4
[726]68#include <netinet/in_systm.h>
[322]69#include <netinet/in.h>
70#include <netinet/ip.h>
[1374]71#endif
[902]72#include <sys/uio.h>
[3805]73
74#ifdef ROAR_HAVE_UNIX
75#include <sys/un.h>
[1075]76#endif
[3805]77#endif
78
[501]79#ifdef ROAR_HAVE_LIBDNET
80#include <netdnet/dn.h>
81#include <netdnet/dnetdb.h>
82#endif
[3805]83
[529]84#ifdef ROAR_HAVE_IPX
[528]85#include <netipx/ipx.h>
86#endif
[0]87
[1374]88#endif /* ROAR_HAVE_BSDSOCKETS */
89
[1322]90#ifdef ROAR_HAVE_LIBSSL
91#include <openssl/bio.h>
92#include <openssl/evp.h>
93#endif
94
[1996]95#ifdef ROAR_HAVE_LIBSLP
96#include <slp.h>
[3203]97#ifdef ROAR_HAVE_H_SYS_TIME
98#include <sys/time.h>
99#endif
100#ifdef ROAR_HAVE_H_TIME
101#include <time.h>
102#endif
[1996]103#endif
104
[3297]105#if defined(ROAR_HAVE_LIBDL)
106#include <dlfcn.h>
107#endif
108
[3371]109#ifdef ROAR_HAVE_LIBX11
110#include <X11/Xlib.h>
111#include <X11/Xatom.h>
112#endif
113
[4597]114#include "roarfeatures.h"
[797]115#include "error.h"
[2477]116#include "config.h"
[4524]117#include "roarfloat.h"
[4585]118#include "crc.h"
[4586]119#include "base64.h"
[3376]120#include "keyval.h"
[3958]121#include "env.h"
[3297]122#include "roardl.h"
[2648]123#include "debug.h"
[2976]124#include "memmgr.h"
[1280]125#include "stack.h"
[1297]126#include "buffer.h"
[4454]127#include "crypto.h"
[4446]128#include "random.h"
129#include "hash.h"
[4457]130#include "hash_tiger.h"
[2812]131#include "nnode.h"
[2058]132#include "vio_ctl.h"
[588]133#include "vio.h"
[3969]134#include "vio_buffer.h"
[3994]135#include "vio_buffer_store.h"
[1255]136#include "vio_cmd.h"
[1274]137#include "vio_ops.h"
[2060]138#include "vio_string.h"
[1274]139#include "vio_magic.h"
[1347]140#include "vio_bio.h"
[2059]141#include "vio_stdio.h"
[1347]142#include "vio_stack.h"
[2981]143#include "vio_jumbo.h"
[1300]144#include "vio_pipe.h"
[1331]145#include "vio_socket.h"
[3315]146#include "vio_winsock.h"
[1347]147#include "vio_proto.h"
[3272]148#include "vio_rtp.h"
[1506]149#include "vio_select.h"
[1326]150// dstr needs to have access to all other VIOs, so it must be included last
[1321]151#include "vio_dstr.h"
[3109]152#include "vio_tantalos.h"
[4533]153#include "vio_stdvios.h"
[2812]154#include "client.h"
[0]155#include "basic.h"
[4426]156#include "serverinfo.h"
[0]157#include "stream.h"
158#include "simple.h"
[808]159#include "cdrom.h"
[4483]160#include "authfile.h"
[0]161#include "auth.h"
162#include "socket.h"
163#include "ctl.h"
[4497]164#include "caps.h"
[94]165#include "meta.h"
[320]166#include "file.h"
[347]167#include "acl.h"
[1232]168#include "pinentry.h"
[1288]169#include "sshaskpass.h"
[4462]170#include "passwordapi.h"
[2000]171#include "roarslp.h"
[3632]172#include "display.h"
[3370]173#include "roarx11.h"
[3567]174#include "beep.h"
[4263]175#include "ltm.h"
[4172]176#include "vs.h"
[4300]177#include "enumdev.h"
[4302]178#include "notify.h"
[4314]179#include "notify_proxy.h"
[4341]180#include "asyncctl.h"
[0]181
[2067]182// some basic macros:
183#define ROAR_MAX2(a,b) ((a) > (b) ? (a) : (b))
184#define ROAR_MIN2(a,b) ((a) < (b) ? (a) : (b))
185
186#define ROAR_MAX3(a,b,c) ROAR_MAX2(ROAR_MAX2(a,b),c)
187#define ROAR_MIN3(a,b,c) ROAR_MIN2(ROAR_MIN2(a,b),c)
188
189#define ROAR_MAX4(a,b,c,d) ROAR_MAX2(ROAR_MAX2(a,b),ROAR_MAX2(c,d))
190#define ROAR_MIN4(a,b,c,d) ROAR_MIN2(ROAR_MIN2(a,b),ROAR_MIN2(c,d))
191
192#define ROAR_MAX ROAR_MAX2
193#define ROAR_MIN ROAR_MIN2
194
[0]195#endif
196
197//ll
Note: See TracBrowser for help on using the repository browser.