The Netsukuku Project
0.0.9
An Alternative routing method
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
includes.h
Go to the documentation of this file.
1
/* This file is part of Netsukuku
2
* (c) Copyright 2004 Andrea Lo Pumo aka AlpT <alpt@freaknet.org>
3
*
4
* This source code is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License as published
6
* by the Free Software Foundation; either version 2 of the License,
7
* or (at your option) any later version.
8
*
9
* This source code is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
* Please refer to the GNU Public License for more details.
13
*
14
* You should have received a copy of the GNU Public License along with
15
* this source code; if not, write to:
16
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
*/
18
19
#ifndef INCLUDES_H
20
#define INCLUDES_H
21
22
#include <string.h>
23
#include <ctype.h>
24
#include <stdlib.h>
25
#include <stdio.h>
26
#include <syslog.h>
27
#include <stdarg.h>
28
#include <errno.h>
29
#include <sys/time.h>
30
#include <sys/types.h>
31
#include <sys/socket.h>
32
#include <arpa/inet.h>
33
#include <sys/sendfile.h>
34
#include <netinet/in.h>
35
#include <netinet/in_systm.h>
36
#include <net/if.h>
37
38
#include <sys/stat.h>
39
40
#include <time.h>
41
42
#include <netdb.h>
43
#include <unistd.h>
44
#include <getopt.h>
45
46
#include <sys/ioctl.h>
47
#include <fcntl.h>
48
49
#include <limits.h>
50
#include <signal.h>
51
52
#include <gmp.h>
53
#include <pthread.h>
54
55
56
#define _PACKED_ __attribute__ ((__packed__))
57
58
#define DEBUG_TEST
59
60
/* Currently the IPV6 is disabled */
61
#define IPV6_DISABLED
62
63
#ifdef DEBUG
64
#warning the DEBUG code is being built!
65
#include <execinfo.h>
66
#define ANDNA_DEBUG
67
#undef USE_DMALLOC
68
#endif
69
70
#endif
/*INCLUDES_H*/
src
includes.h
Generated on Wed Feb 19 2014 14:19:07 for The Netsukuku Project by
1.8.6