~ubuntu-branches/ubuntu/trusty/libupnp4/trusty-updates

« back to all changes in this revision

Viewing changes to upnp/src/inc/config.h

  • Committer: Bazaar Package Importer
  • Author(s): Nick Leverton
  • Date: 2010-03-08 18:26:14 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100308182614-y3j47t5ddhrza6be
Tags: 1.8.0~svn20090313-1
* ACK NMU (thanks to gregor herrmann and Stefan Potyra).
* Pull from svn, see upstream changes.gz for details
  (Closes: #492160, FTBFS on GNU/kFreeBSD, thanks to Petr Salinger).
* Update Sections and general Policy to 3.8.4
* Use debhelper 7 dh instead of dbs
* Generate and update symbols file
* Rename libs to libupnp4, libixml4 and libthreadutil4, to allow
  co-installing libupnp3 and libupnp4.
* New patch 04-string-access-functions.patch: add _strget_ accessors
  to API, to avoid remembering to call UpnpString_get_String in clients.
* New patch 05-const-tidyup.patch for a few constness fixes.
* Upstream patch 06-patch-statevar-query.patch for missing CRNL.
* New patch 07-neaten-debug.patch to improve debug readability
* New patch 08-renewals-sid.patch to fix autorenewals.
* New patch 09-update-doc.patch to generate up to date -doc package.
* New patch 10-upnpinit-ntoa.patch to replace inet_ntoa by inet_ntop.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
///////////////////////////////////////////////////////////////////////////
2
 
//
3
 
// Copyright (c) 2000-2003 Intel Corporation 
4
 
// All rights reserved. 
5
 
//
6
 
// Redistribution and use in source and binary forms, with or without 
7
 
// modification, are permitted provided that the following conditions are met: 
8
 
//
9
 
// * Redistributions of source code must retain the above copyright notice, 
10
 
// this list of conditions and the following disclaimer. 
11
 
// * Redistributions in binary form must reproduce the above copyright notice, 
12
 
// this list of conditions and the following disclaimer in the documentation 
13
 
// and/or other materials provided with the distribution. 
14
 
// * Neither name of Intel Corporation nor the names of its contributors 
15
 
// may be used to endorse or promote products derived from this software 
16
 
// without specific prior written permission.
17
 
// 
18
 
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
19
 
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
20
 
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
21
 
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR 
22
 
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
23
 
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
24
 
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
25
 
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
26
 
// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27
 
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
28
 
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
 
//
30
 
///////////////////////////////////////////////////////////////////////////
 
1
/**************************************************************************
 
2
 *
 
3
 * Copyright (c) 2000-2003 Intel Corporation 
 
4
 * All rights reserved. 
 
5
 *
 
6
 * Redistribution and use in source and binary forms, with or without 
 
7
 * modification, are permitted provided that the following conditions are met: 
 
8
 *
 
9
 * - Redistributions of source code must retain the above copyright notice, 
 
10
 * this list of conditions and the following disclaimer. 
 
11
 * - Redistributions in binary form must reproduce the above copyright notice, 
 
12
 * this list of conditions and the following disclaimer in the documentation 
 
13
 * and/or other materials provided with the distribution. 
 
14
 * - Neither name of Intel Corporation nor the names of its contributors 
 
15
 * may be used to endorse or promote products derived from this software 
 
16
 * without specific prior written permission.
 
17
 * 
 
18
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
 
19
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
 
20
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
 
21
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR 
 
22
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
 
23
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
 
24
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
 
25
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
 
26
 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 
27
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
 
28
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
29
 *
 
30
 **************************************************************************/
 
31
 
31
32
 
32
33
#ifndef INTERNAL_CONFIG_H
33
34
#define INTERNAL_CONFIG_H 
36
37
#include "autoconfig.h"
37
38
 
38
39
 
39
 
/** @name Compile time configuration options
 
40
/*!
 
41
 *  \name Compile time configuration options
 
42
 *
40
43
 *  The Linux SDK for UPnP Devices contains some compile-time parameters 
41
44
 *  that effect the behavior of the SDK.  All configuration options are 
42
45
 *  located in {\tt src/inc/config.h}.
 
46
 *
 
47
 * @{
43
48
 */
44
 
 
45
 
//@{
46
 
 
47
 
/** @name THREAD_IDLE_TIME
 
49
 
 
50
 
 
51
/*!
 
52
 *  \name THREAD_IDLE_TIME
 
53
 *
48
54
 *  The {\tt THREAD_IDLE_TIME} constant determines when a thread will be
49
55
 *  removed from the thread pool and returned to the operating system. When 
50
56
 *  a thread in the thread pool has been idle for this number of milliseconds
51
57
 *  the thread will be released from the thread pool.  The default value is
52
58
 *  5000 milliseconds (5 seconds).
 
59
 *
 
60
 * @{
53
61
 */
54
 
 
55
 
//@{
56
62
#define THREAD_IDLE_TIME 5000
57
 
//@}
58
 
 
59
 
/** @name JOBS_PER_THREAD
60
 
 *  The {\tt JOBS_PER_THREAD} constant determines when a new thread will be
61
 
 *  allocated to the thread pool inside the  SDK. The thread pool will
62
 
 *  try and maintain this jobs/thread ratio. When the jobs/thread ratio 
63
 
 *  becomes greater than this, then a new thread (up to the max) will be 
64
 
 *  allocated to the thread pool.  The default ratio is 10 jobs/thread.
 
63
/* @} */
 
64
 
 
65
 
 
66
/*!
 
67
 * \name JOBS_PER_THREAD
 
68
 *
 
69
 * The {\tt JOBS_PER_THREAD} constant determines when a new thread will be
 
70
 * allocated to the thread pool inside the  SDK. The thread pool will
 
71
 * try and maintain this jobs/thread ratio. When the jobs/thread ratio 
 
72
 * becomes greater than this, then a new thread (up to the max) will be 
 
73
 * allocated to the thread pool.  The default ratio is 10 jobs/thread.
 
74
 *
 
75
 * @{
65
76
 */
66
 
 
67
 
//@{
68
77
#define JOBS_PER_THREAD 10
69
 
//@}
70
 
 
71
 
/** @name MIN_THREADS
72
 
 *  The {\tt MIN_THREADS} constant defines the minimum number of threads the
73
 
 *  thread pool inside the SDK will create.  The thread pool will
74
 
 *  always have this number of threads. These threads are used
75
 
 *  for both callbacks into applications built on top of the SDK and also
76
 
 *  for making connections to other control points and devices. This number
77
 
 *  includes persistent threads.  The default value is two threads.
 
78
/* @} */
 
79
 
 
80
 
 
81
/*!
 
82
 * \name MIN_THREADS
 
83
 *
 
84
 * The {\tt MIN_THREADS} constant defines the minimum number of threads the
 
85
 * thread pool inside the SDK will create.  The thread pool will
 
86
 * always have this number of threads. These threads are used
 
87
 * for both callbacks into applications built on top of the SDK and also
 
88
 * for making connections to other control points and devices. This number
 
89
 * includes persistent threads.  The default value is two threads.
 
90
 *
 
91
 * @{
78
92
 */
79
 
 
80
 
//@{
81
93
#define MIN_THREADS 2 
82
 
//@}
83
 
 
84
 
/** @name MAX_THREADS
85
 
 *  The {\tt MAX_THREADS} constant defines the maximum number of threads the
86
 
 *  thread pool inside the SDK will create.  These threads are used
87
 
 *  for both callbacks into applications built on top of the library and also 
88
 
 *  for making connections to other control points and devices.  It is not 
89
 
 *  recommended that this value be below 10, since the threads are 
90
 
 *  necessary for correct operation.  This value can be increased for greater
91
 
 *  performance in operation at the expense of greater memory overhead.  The 
92
 
 *  default value is 12.
 
94
/* @} */
 
95
 
 
96
 
 
97
/*!
 
98
 * \name MAX_THREADS
 
99
 *
 
100
 * The {\tt MAX_THREADS} constant defines the maximum number of threads the
 
101
 * thread pool inside the SDK will create.  These threads are used
 
102
 * for both callbacks into applications built on top of the library and also 
 
103
 * for making connections to other control points and devices.  It is not 
 
104
 * recommended that this value be below 10, since the threads are 
 
105
 * necessary for correct operation.  This value can be increased for greater
 
106
 * performance in operation at the expense of greater memory overhead.  The 
 
107
 * default value is 12.
 
108
 *
 
109
 * @{
93
110
 */
94
 
 
95
 
//@{
96
111
#define MAX_THREADS 12 
97
 
//@}
98
 
 
99
 
/** @name MAX_JOBS_TOTAL
 
112
/* @} */
 
113
 
 
114
 
 
115
/*! \name MAX_JOBS_TOTAL
 
116
 *
100
117
 *  The {\tt MAX_JOBS_TOTAL} constant determines the maximum number of jobs
101
118
 *  that can be queued. If this limit is reached further jobs will be thrown
102
119
 *  to avoid memory exhaustion. The default value 100.
103
120
 *  (Added by Axis.)
 
121
 *
 
122
 * @{
104
123
 */
105
 
 
106
 
//@{
107
124
#define MAX_JOBS_TOTAL 100
108
 
//@}
109
 
 
110
 
/** @name DEFAULT_SOAP_CONTENT_LENGTH
 
125
/* @} */
 
126
 
 
127
 
 
128
/*!
 
129
 * \name DEFAULT_SOAP_CONTENT_LENGTH
 
130
 *
111
131
 * SOAP messages will read at most {\tt DEFAULT_SOAP_CONTENT_LENGTH} bytes.  
112
132
 * This prevents devices that have a misbehaving web server to send 
113
133
 * a large amount of data to the control point causing it to crash.  
114
134
 * This can be adjusted dynamically with {\tt UpnpSetMaxContentLength}.
 
135
 *
 
136
 * @{
115
137
 */
116
 
//@{
117
138
#define DEFAULT_SOAP_CONTENT_LENGTH 16000
118
 
//@}
119
 
 
120
 
/** @name NUM_SSDP_COPY
 
139
/* @} */
 
140
 
 
141
 
 
142
/*!
 
143
 * \name NUM_SSDP_COPY
 
144
 *
121
145
 * This configuration parameter determines how many copies of each SSDP 
122
146
 * advertisement and search packets will be sent. By default it will send two 
123
147
 * copies of every packet.  
 
148
 *
 
149
 * @{
124
150
 */
125
 
//@{
126
151
#define NUM_SSDP_COPY  2
127
 
//@}
128
 
 
129
 
/** @name SSDP_PAUSE
 
152
/* @} */
 
153
 
 
154
 
 
155
/*!
 
156
 * \name SSDP_PAUSE
 
157
 *
130
158
 * This configuration parameter determines the pause between identical SSDP 
131
159
 * advertisement and search packets. The pause is measured in milliseconds
132
160
 * and defaults to 100.
 
161
 *
 
162
 * @{
133
163
 */
134
 
//@{
135
164
#define SSDP_PAUSE  100
136
 
//@}
 
165
/* @} */
137
166
 
138
 
/** @name WEB_SERVER_BUF_SIZE 
 
167
/*!
 
168
 * \name WEB_SERVER_BUF_SIZE
 
169
 * 
139
170
 * This configuration parameter sets the maximum buffer size for the 
140
 
 * webserver.  The default value is 1MB.
 
171
 * webserver. The default value is 1MB.
 
172
 *
 
173
 * @{
141
174
 */
142
 
//@{
143
175
#define WEB_SERVER_BUF_SIZE  (1024*1024)
144
 
//@}
 
176
/* @} */
145
177
 
146
 
/** @name AUTO_RENEW_TIME
 
178
/*!
 
179
 * \name AUTO_RENEW_TIME
 
180
 *
147
181
 * The {\tt AUTO_RENEW_TIME} is the time, in seconds, before a subscription
148
182
 * expires that the SDK automatically resubscribes.  The default 
149
183
 * value is 10 seconds.  Setting this value too low can result in the 
151
185
 * subscription to timeout. In order to avoid continually resubscribing
152
186
 * the minimum subscription time is five seconds more than the auto renew
153
187
 * time.
 
188
 *
 
189
 * @{
154
190
 */
155
 
 
156
 
//@{
157
191
#define AUTO_RENEW_TIME 10
158
 
//@}
 
192
/* @} */
159
193
 
160
 
/** @name CP_MINIMUM_SUBSCRIPTION_TIME 
 
194
/*!
 
195
 * \name CP_MINIMUM_SUBSCRIPTION_TIME
 
196
 *
161
197
 * The {\tt CP_MINIMUM_SUBSCRIPTION_TIME} is the minimum subscription time
162
198
 * allowed for a control point using the SDK. Subscribing for less than
163
199
 * this time automatically results in a subscription for this amount.  The 
164
200
 * default value is 5 seconds more than the {\tt AUTO_RENEW_TIME}, or 15
165
201
 * seconds.
 
202
 *
 
203
 * @{
166
204
 */
167
 
 
168
 
//@{
169
205
#define CP_MINIMUM_SUBSCRIPTION_TIME (AUTO_RENEW_TIME + 5)
170
 
//@}
171
 
 
172
 
/** @name MAX_SEARCH_TIME 
 
206
/* @} */
 
207
 
 
208
 
 
209
/*!
 
210
 * \name MAX_SEARCH_TIME
 
211
 *
173
212
 * The {\tt MAX_SEARCH_TIME} is the maximum time
174
213
 * allowed for an SSDP search by a control point. Searching for greater than
175
214
 * this time automatically results in a search for this amount.  The default 
176
215
 * value is 80 seconds.
 
216
 *
 
217
 * @{
177
218
 */
178
 
 
179
 
//@{
180
219
#define MAX_SEARCH_TIME 80
181
 
//@}
182
 
 
183
 
/** @name MIN_SEARCH_TIME 
 
220
/* @} */
 
221
 
 
222
 
 
223
/*!
 
224
 * \name MIN_SEARCH_TIME
 
225
 *
184
226
 * The {\tt MIN_SEARCH_TIME} is the minimumm time
185
227
 * allowed for an SSDP search by a control point. Searching for less than
186
228
 * this time automatically results in a search for this amount.  The default 
187
229
 * value is 2 seconds.
 
230
 *
 
231
 * @{
188
232
 */
189
 
 
190
 
//@{
191
233
#define MIN_SEARCH_TIME 2
192
 
//@}
193
 
 
194
 
 
195
 
/** @name AUTO_ADVERTISEMENT_TIME
196
 
 *  The {\tt AUTO_ADVERTISEMENT_TIME} is the time, in seconds, before an
197
 
 *  device advertisements expires before a renewed advertisement is sent.
198
 
 *  The default time is 30 seconds.
 
234
/* @} */
 
235
 
 
236
 
 
237
/*!
 
238
 * \name AUTO_ADVERTISEMENT_TIME
 
239
 *
 
240
 * The {\tt AUTO_ADVERTISEMENT_TIME} is the time, in seconds, before an
 
241
 * device advertisements expires before a renewed advertisement is sent.
 
242
 * The default time is 30 seconds.
 
243
 *
 
244
 * @{
199
245
 */
200
 
 
201
 
//@{
202
246
#define AUTO_ADVERTISEMENT_TIME 30
203
 
//@}
204
 
 
205
 
/** @name SSDP_PACKET_DISTRIBUTE
206
 
 *  The {\tt SSDP_PACKET_DISTRIBUTE} enables the SSDP packets to be sent
207
 
 *  at an interval equal to half of the expiration time of SSDP packets
208
 
 *  minus the AUTO_ADVERTISEMENT_TIME. This is used to increase
209
 
 *  the probability of SSDP packets reaching to control points.
210
 
 *  It is recommended that this flag be turned on for embedded wireless 
211
 
 *  devices.
 
247
/* @} */
 
248
 
 
249
 
 
250
/*!
 
251
 * \name SSDP_PACKET_DISTRIBUTE
 
252
 *
 
253
 * The {\tt SSDP_PACKET_DISTRIBUTE} enables the SSDP packets to be sent
 
254
 * at an interval equal to half of the expiration time of SSDP packets
 
255
 * minus the AUTO_ADVERTISEMENT_TIME. This is used to increase
 
256
 * the probability of SSDP packets reaching to control points.
 
257
 * It is recommended that this flag be turned on for embedded wireless 
 
258
 * devices.
 
259
 *
 
260
 * @{
212
261
 */
213
 
 
214
 
//@{
215
262
#define SSDP_PACKET_DISTRIBUTE 1
216
 
//@}
217
 
 
218
 
/** @name Module Exclusion
219
 
 *  Depending on the requirements, the user can selectively discard any of 
220
 
 *  the major modules like SOAP, GENA, SSDP or the Internal web server. By 
221
 
 *  default everything is included inside the SDK.  By setting any of
222
 
 *  the values below to 0, that component will not be included in the final
223
 
 *  SDK.
224
 
 *  \begin{itemize}
225
 
 *    \item {\tt EXCLUDE_SOAP[0,1]}
226
 
 *    \item {\tt EXCLUDE_GENA[0,1]}
227
 
 *    \item {\tt EXCLUDE_SSDP[0,1]}
228
 
 *    \item {\tt EXCLUDE_DOM [0,1]}
229
 
 *    \item {\tt EXCLUDE_MINISERVER[0,1]}
230
 
 *    \item {\tt EXCLUDE_WEB_SERVER[0,1]}
231
 
 *    \item {\tt EXCLUDE_JNI[0,1]}
232
 
 *  \end{itemize}
233
 
 *
 
263
/* @} */
 
264
 
 
265
 
 
266
/*!
 
267
 * \name Module Exclusion
 
268
 *
 
269
 * Depending on the requirements, the user can selectively discard any of 
 
270
 * the major modules like SOAP, GENA, SSDP or the Internal web server. By 
 
271
 * default everything is included inside the SDK.  By setting any of
 
272
 * the values below to 0, that component will not be included in the final
 
273
 * SDK.
 
274
 * \begin{itemize}
 
275
 *   \item {\tt EXCLUDE_SOAP[0,1]}
 
276
 *   \item {\tt EXCLUDE_GENA[0,1]}
 
277
 *   \item {\tt EXCLUDE_SSDP[0,1]}
 
278
 *   \item {\tt EXCLUDE_DOM [0,1]}
 
279
 *   \item {\tt EXCLUDE_MINISERVER[0,1]}
 
280
 *   \item {\tt EXCLUDE_WEB_SERVER[0,1]}
 
281
 *   \item {\tt EXCLUDE_JNI[0,1]}
 
282
 * \end{itemize}
 
283
 *
 
284
 * @{
234
285
 */
235
 
 
236
 
//@{
237
286
#define EXCLUDE_SSDP 0
238
287
#define EXCLUDE_SOAP 0
239
288
#define EXCLUDE_GENA 0
245
294
#else
246
295
#       define EXCLUDE_JNI 1
247
296
#endif
248
 
//@}
 
297
/* @} */
249
298
 
250
299
    
251
 
/** @name DEBUG_TARGET
252
 
 *  The user has the option to redirect the library output debug messages 
253
 
 *  to either the screen or to a log file.  All the output messages with 
254
 
 *  debug level 0 will go to {\tt upnp.err} and messages with debug level 
255
 
 *  greater than zero will be redirected to {\tt upnp.out}.
 
300
/*!
 
301
 * \name DEBUG_TARGET
 
302
 *
 
303
 * The user has the option to redirect the library output debug messages 
 
304
 * to either the screen or to a log file.  All the output messages with 
 
305
 * debug level 0 will go to {\tt upnp.err} and messages with debug level 
 
306
 * greater than zero will be redirected to {\tt upnp.out}.
 
307
 *
 
308
 * @{
256
309
 */
257
 
 
258
 
//@{
259
310
#define DEBUG_TARGET            1   
260
 
//@}
261
 
 
262
 
 
263
 
/** @name Other debugging features
264
 
          The UPnP SDK contains other features to aid in debugging:
265
 
          see <upnp/inc/upnpdebug.h>
 
311
/* @} */
 
312
 
 
313
 
 
314
/*!
 
315
 * \name Other debugging features
 
316
 *
 
317
 * The UPnP SDK contains other features to aid in debugging:
 
318
 * see <upnp/inc/upnpdebug.h>
266
319
 */
267
320
 
268
321
#define DEBUG_ALL               1
275
328
#define DEBUG_HTTP              0
276
329
#define DEBUG_API               0
277
330
 
278
 
//@} // Compile time configuration options
 
331
 
 
332
/*
 
333
 * @} Compile time configuration options
 
334
 */
279
335
 
280
336
 
281
337
/***************************************************************************
282
 
 * Do not change, Internal purpose only!!! 
 
338
 * Do not change, Internal purpose only!!!
283
339
 ***************************************************************************/ 
284
340
 
285
 
//@{
 
341
/*!
 
342
 * @{
 
343
 */
 
344
 
286
345
 
287
346
/*
288
347
 * Set additional defines based on requested configuration 
289
348
 */
290
349
 
291
 
// configure --enable-client
 
350
 
 
351
/* configure --enable-client */
292
352
#if UPNP_HAVE_CLIENT
293
353
#       define INCLUDE_CLIENT_APIS      1
294
354
#endif
295
355
 
296
 
// configure --enable-device
 
356
 
 
357
/* configure --enable-device */
297
358
#if UPNP_HAVE_DEVICE
298
359
#       define INCLUDE_DEVICE_APIS      1
299
360
#endif
300
361
 
301
 
// configure --enable-webserver --enable-device
 
362
 
 
363
/* configure --enable-webserver --enable-device */
302
364
#if UPNP_HAVE_WEBSERVER
303
365
#       define INTERNAL_WEB_SERVER      1
304
366
#endif
305
367
 
306
368
 
307
 
 
308
 
#undef  EXCLUDE_WEB_SERVER 
309
 
#undef  EXCLUDE_MINISERVER 
 
369
#undef  EXCLUDE_WEB_SERVER
 
370
#undef  EXCLUDE_MINISERVER
310
371
#ifdef  INTERNAL_WEB_SERVER
311
372
#       define EXCLUDE_WEB_SERVER 0
312
373
#       define EXCLUDE_MINISERVER 0
315
376
#       define EXCLUDE_MINISERVER 1
316
377
#endif
317
378
 
 
379
 
318
380
#if EXCLUDE_GENA == 1 && EXCLUDE_SOAP == 1 && EXCLUDE_WEB_SERVER == 1
319
 
#       undef  EXCLUDE_MINISERVER 
 
381
#       undef  EXCLUDE_MINISERVER
320
382
#       define EXCLUDE_MINISERVER 1
321
383
#       if INTERNAL_WEB_SERVER
322
384
#               error "conflicting settings: use configure --disable-webserver"
323
385
#       endif
324
386
#endif
325
387
 
 
388
 
326
389
#if EXCLUDE_GENA == 0 || EXCLUDE_SOAP == 0 || EXCLUDE_WEB_SERVER == 0
327
 
#       undef  EXCLUDE_MINISERVER 
 
390
#       undef  EXCLUDE_MINISERVER
328
391
#       define EXCLUDE_MINISERVER 0
329
392
#       if EXCLUDE_WEB_SERVER == 0 && !defined INTERNAL_WEB_SERVER
330
393
#               error "conflicting settings : use configure --enable-webserver"
332
395
#endif
333
396
 
334
397
 
335
 
 
336
398
#ifdef INCLUDE_CLIENT_APIS
337
399
#       define CLIENTONLY(x) x
338
 
#else 
 
400
#else /* INCLUDE_CLIENT_APIS */
339
401
#       define CLIENTONLY(x)
340
 
#endif
341
 
 
342
 
//@}
343
 
#endif
 
402
#endif /* INCLUDE_CLIENT_APIS */
 
403
 
 
404
 
 
405
/*
 
406
 * @}
 
407
 */
 
408
 
 
409
 
 
410
#endif /* INTERNAL_CONFIG_H */
344
411