source: roaraudio/include/libroar/libroar.h @ 1385:59fc0c9c9ba5

Last change on this file since 1385:59fc0c9c9ba5 was 1374:62edbf82454a, checked in by phi, 15 years ago

only include IPv4 headers if we have IPv4 networking enabled, only include socket headers if we have BSD Sockets

File size: 2.6 KB
RevLine 
[0]1//libroar.h:
2
[690]3/*
[1284]4 *      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008, 2009
[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
21 *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22 *
23 *  NOTE for everyone want's to change something and send patches:
24 *  read README and HACKING! There a addition information on
25 *  the license of this document you need to read before you send
26 *  any patches.
27 *
28 *  NOTE for uses of non-GPL (LGPL,...) software using libesd, libartsc
29 *  or libpulse*:
30 *  The libs libroaresd, libroararts and libroarpulse link this lib
31 *  and are therefore GPL. Because of this it may be illigal to use
32 *  them with any software that uses libesd, libartsc or libpulse*.
33 */
34
[0]35#ifndef _LIBROAR_H_
36#define _LIBROAR_H_
37
38#define ROAR_DBG_PREFIX  "libroar"
39
[474]40#include <roaraudio.h>
41
[902]42#include <stdint.h>
43
[1351]44#include <stdarg.h>
45
[1254]46#include <sys/wait.h>
47
[0]48#include <fcntl.h>
[1374]49
50#ifdef ROAR_HAVE_BSDSOCKETS
51
[1075]52#ifndef ROAR_TARGET_WIN32
[322]53#include <sys/socket.h>
[1374]54#ifdef ROAR_HAVE_IPV4
[726]55#include <netinet/in_systm.h>
[322]56#include <netinet/in.h>
57#include <netinet/ip.h>
[1374]58#endif
[902]59#include <sys/uio.h>
[1075]60#endif
[501]61#ifdef ROAR_HAVE_LIBDNET
62#include <netdnet/dn.h>
63#include <netdnet/dnetdb.h>
64#endif
[529]65#ifdef ROAR_HAVE_IPX
[528]66#include <netipx/ipx.h>
67#endif
[0]68
[1374]69#endif /* ROAR_HAVE_BSDSOCKETS */
70
[1322]71#ifdef ROAR_HAVE_LIBSSL
72#include <openssl/bio.h>
73#include <openssl/evp.h>
74#endif
75
[797]76#include "error.h"
[1280]77#include "stack.h"
[1297]78#include "buffer.h"
[588]79#include "vio.h"
[1255]80#include "vio_cmd.h"
[1274]81#include "vio_ops.h"
82#include "vio_magic.h"
[1347]83#include "vio_bio.h"
84#include "vio_stack.h"
[1300]85#include "vio_pipe.h"
[1331]86#include "vio_socket.h"
[1347]87#include "vio_proto.h"
[1326]88// dstr needs to have access to all other VIOs, so it must be included last
[1321]89#include "vio_dstr.h"
[0]90#include "basic.h"
91#include "stream.h"
92#include "simple.h"
[808]93#include "cdrom.h"
[0]94#include "auth.h"
95#include "socket.h"
96#include "ctl.h"
[94]97#include "meta.h"
[320]98#include "file.h"
[347]99#include "acl.h"
[1232]100#include "pinentry.h"
[1288]101#include "sshaskpass.h"
[0]102
103#endif
104
105//ll
Note: See TracBrowser for help on using the repository browser.