]> git.donarmstrong.com Git - bamtools.git/blob - src/api/internal/io/NetUnix_p.h
Updated file headers (filename, license, description, etc)
[bamtools.git] / src / api / internal / io / NetUnix_p.h
1 // ***************************************************************************
2 // NetUnix_p.h (c) 2011 Derek Barnett
3 // Marth Lab, Department of Biology, Boston College
4 // ---------------------------------------------------------------------------
5 // Last modified: 10 November 2011 (DB)
6 // ---------------------------------------------------------------------------
7 // Provides common networking-related includes, etc. for all UNIX-like systems
8 // ***************************************************************************
9
10 #ifndef NETUNIX_P_H
11 #define NETUNIX_P_H
12
13 //  -------------
14 //  W A R N I N G
15 //  -------------
16 //
17 // This file is not part of the BamTools API.  It exists purely as an
18 // implementation detail. This header file may change from version to version
19 // without notice, or even be removed.
20 //
21 // We mean it.
22
23 #ifndef _WIN32 // <-- source files only include the proper Net*_p.h, but this is a double-check
24
25 #include <arpa/inet.h>
26 #include <sys/ioctl.h>
27 #include <sys/socket.h>
28 #include <sys/stat.h>
29 #include <sys/time.h>
30 #include <sys/types.h>
31 #include <netdb.h>
32 #include <unistd.h>
33
34 #ifndef   BT_SOCKLEN_T
35 #  define BT_SOCKLEN_T socklen_t
36 #endif
37
38 #endif // _WIN32
39 #endif // NETUNIX_P_H