Debian Codegraph @

lib/freeDiameter-1.2.1/include/freeDiameter/freeDiameter-host.h.in

raw
1 /*********************************************************************************************************
2 * Software License Agreement (BSD License) *
3 * Author: Sebastien Decugis <[email protected]> *
4 * *
5 * Copyright (c) 2015, WIDE Project and NICT *
6 * All rights reserved. *
7 * *
8 * Redistribution and use of this software in source and binary forms, with or without modification, are *
9 * permitted provided that the following conditions are met: *
10 * *
11 * * Redistributions of source code must retain the above *
12 * copyright notice, this list of conditions and the *
13 * following disclaimer. *
14 * *
15 * * Redistributions in binary form must reproduce the above *
16 * copyright notice, this list of conditions and the *
17 * following disclaimer in the documentation and/or other *
18 * materials provided with the distribution. *
19 * *
20 * * Neither the name of the WIDE Project or NICT nor the *
21 * names of its contributors may be used to endorse or *
22 * promote products derived from this software without *
23 * specific prior written permission of WIDE Project and *
24 * NICT. *
25 * *
26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED *
27 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
28 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR *
29 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT *
30 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS *
31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR *
32 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF *
33 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
34 *********************************************************************************************************/
35
36 /* Configuration from compile-time */
37 #ifndef FD_IS_CONFIG
38 #define FD_IS_CONFIG
39
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43
44 #cmakedefine HAVE_NTOHLL
45 #cmakedefine HAVE_MALLOC_H
46 #cmakedefine HAVE_SIGNALENT_H
47 #cmakedefine HAVE_AI_ADDRCONFIG
48 #cmakedefine HAVE_CLOCK_GETTIME
49 #cmakedefine HAVE_STRNDUP
50 #cmakedefine HAVE_PTHREAD_BAR
51
52 #cmakedefine HOST_BIG_ENDIAN @HOST_BIG_ENDIAN@
53
54 #cmakedefine DISABLE_SCTP
55 #cmakedefine DEBUG_SCTP
56 #cmakedefine DEBUG_WITH_META
57 #cmakedefine SCTP_USE_MAPPED_ADDRESSES
58 #cmakedefine SCTP_CONNECTX_4_ARGS
59 #cmakedefine SKIP_DLCLOSE
60 #cmakedefine DIAMID_IDNA_IGNORE
61 #cmakedefine DIAMID_IDNA_REJECT
62 #cmakedefine DISABLE_PEER_EXPIRY
63 #cmakedefine WORKAROUND_ACCEPT_INVALID_VSAI
64 #cmakedefine GNUTLS_VERSION_210
65 #cmakedefine GNUTLS_VERSION_212
66 #cmakedefine GNUTLS_VERSION_300
67 #cmakedefine GNUTLS_VERSION_310
68
69 #cmakedefine ERRORS_ON_TODO
70 #cmakedefine DEBUG
71
72 #cmakedefine FD_PROJECT_BINARY "@FD_PROJECT_BINARY@"
73 #cmakedefine FD_PROJECT_NAME "@FD_PROJECT_NAME@"
74 #cmakedefine FD_PROJECT_VERSION_MAJOR @FD_PROJECT_VERSION_MAJOR@
75 #ifndef FD_PROJECT_VERSION_MAJOR
76 # define FD_PROJECT_VERSION_MAJOR 0
77 #endif /*FD_PROJECT_VERSION_MAJOR*/
78 #cmakedefine FD_PROJECT_VERSION_MINOR @FD_PROJECT_VERSION_MINOR@
79 #ifndef FD_PROJECT_VERSION_MINOR
80 # define FD_PROJECT_VERSION_MINOR 0
81 #endif /*FD_PROJECT_VERSION_MINOR*/
82 #cmakedefine FD_PROJECT_VERSION_REV @FD_PROJECT_VERSION_REV@
83 #ifndef FD_PROJECT_VERSION_REV
84 # define FD_PROJECT_VERSION_REV 0
85 #endif /*FD_PROJECT_VERSION_REV*/
86 #cmakedefine FD_PROJECT_VERSION_API @FD_PROJECT_VERSION_API@
87 #ifndef FD_PROJECT_VERSION_API
88 # define FD_PROJECT_VERSION_API 0
89 #endif /*FD_PROJECT_VERSION_API*/
90 #cmakedefine FD_PROJECT_COPYRIGHT "@FD_PROJECT_COPYRIGHT@"
91
92 #cmakedefine DEFAULT_CONF_PATH "@DEFAULT_CONF_PATH@"
93 #cmakedefine DEFAULT_EXTENSIONS_PATH "@DEFAULT_EXTENSIONS_PATH@"
94
95 #ifndef FD_DEFAULT_CONF_FILENAME
96 #define FD_DEFAULT_CONF_FILENAME "freeDiameter.conf"
97 #endif /* FD_DEFAULT_CONF_FILENAME */
98
99 /* Maximum number of hooks handlers that can be registered. Make this compilation option if needed */
100 #define FD_HOOK_HANDLE_LIMIT 5
101
102 #ifdef __cplusplus
103 }
104 #endif
105
106 #endif /* FD_IS_CONFIG */