libUPnP  1.8.2
upnpconfig.h
1 /* upnp/inc/upnpconfig.h. Generated from upnpconfig.h.in by configure. */
2 /* -*- C -*- */
3 /*******************************************************************************
4  *
5  * Copyright (c) 2006 RĂ©mi Turboult <r3mi@users.sourceforge.net>
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions are met:
10  *
11  * * Redistributions of source code must retain the above copyright notice,
12  * this list of conditions and the following disclaimer.
13  * * Redistributions in binary form must reproduce the above copyright notice,
14  * this list of conditions and the following disclaimer in the documentation
15  * and/or other materials provided with the distribution.
16  * * Neither name of Intel Corporation nor the names of its contributors
17  * may be used to endorse or promote products derived from this software
18  * without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
28  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  ******************************************************************************/
33 
34 #ifndef UPNP_CONFIG_H
35 #define UPNP_CONFIG_H
36 
37 
38 /***************************************************************************
39  * Library version
40  ***************************************************************************/
41 
43 #define UPNP_VERSION_STRING "1.8.2"
44 
46 #define UPNP_VERSION_MAJOR 1
47 
49 #define UPNP_VERSION_MINOR 8
50 
52 #define UPNP_VERSION_PATCH 2
53 
55 #define UPNP_VERSION \
56  ((UPNP_VERSION_MAJOR * 100 + UPNP_VERSION_MINOR) * 100 + UPNP_VERSION_PATCH)
57 
58 
59 
60 /***************************************************************************
61  * Large file support
62  ***************************************************************************/
63 
65 #define _FILE_OFFSET_BITS 64
66 
68 /* #undef _LARGEFILE_SOURCE */
69 
71 #define _LARGE_FILE_SOURCE
72 
73 /***************************************************************************
74  * Library optional features
75  ***************************************************************************/
76 
77 /*
78  * The following defines can be tested in order to know which
79  * optional features have been included in the installed library.
80  */
81 
82 
85 /* #undef UPNP_HAVE_DEBUG */
86 
89 #define UPNP_HAVE_CLIENT 1
90 
93 #define UPNP_HAVE_DEVICE 1
94 
97 #define UPNP_HAVE_WEBSERVER 1
98 
101 #define UPNP_HAVE_SSDP 1
102 
105 #define UPNP_HAVE_OPTSSDP 1
106 
109 #define UPNP_HAVE_SOAP 1
110 
113 #define UPNP_HAVE_GENA 1
114 
117 #define UPNP_HAVE_TOOLS 1
118 
121 #define UPNP_ENABLE_IPV6 1
122 
125 /* #undef UPNP_ENABLE_UNSPECIFIED_SERVER */
126 
129 /* #undef UPNP_ENABLE_OPEN_SSL */
130 
133 #define UPNP_ENABLE_BLOCKING_TCP_CONNECTIONS 1
134 
137 /* #undef UPNP_ENABLE_POST_WRITE */
138 
141 /* #undef UPNP_MINISERVER_REUSEADDR */
142 
143 #endif /* UPNP_CONFIG_H */