FreeSWITCH API Documentation  1.7.0
switch_private.h
Go to the documentation of this file.
1 /* src/include/switch_private.h. Generated from switch_private.h.in by configure. */
2 /* src/include/switch_private.h.in. Generated from configure.ac by autoheader. */
3 
4 /* Define if building universal (internal helper macro) */
5 /* #undef AC_APPLE_UNIVERSAL_BUILD */
6 
7 /* Enable extra debugging. */
8 #define DEBUG /**/
9 
10 /* Define to 1 if you have the `asprintf' function. */
11 #define HAVE_ASPRINTF 1
12 
13 /* Define if you have clock_getres() */
14 #define HAVE_CLOCK_GETRES 1
15 
16 /* Define if you have clock_gettime() */
17 #define HAVE_CLOCK_GETTIME 1
18 
19 /* Define if you have clock_nanosleep() */
20 #define HAVE_CLOCK_NANOSLEEP 1
21 
22 /* Define if CPU_SET and CPU_ZERO defined */
23 #define HAVE_CPU_SET_MACROS 1
24 
25 /* Define to 1 if you have the declaration of `EL_PROMPT_ESC', and to 0 if you
26  don't. */
27 #define HAVE_DECL_EL_PROMPT_ESC 1
28 
29 /* Define to 1 if you have the declaration of `EL_REFRESH', and to 0 if you
30  don't. */
31 #define HAVE_DECL_EL_REFRESH 1
32 
33 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
34  don't. */
35 #define HAVE_DECL_STRERROR_R 1
36 
37 /* Define if you have /dev/ptmx */
38 #define HAVE_DEV_PTMX 1
39 
40 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
41  */
42 #define HAVE_DIRENT_H 1
43 
44 /* Define to 1 if you have the <dlfcn.h> header file. */
45 #define HAVE_DLFCN_H 1
46 
47 /* Define to 1 if you have the <ei.h> header file. */
48 #define HAVE_EI_H 1
49 
50 /* Define to 1 if you have libedit el_cursor support */
51 /* #undef HAVE_EL_CURSOR */
52 
53 /* Define to 1 if you have the `el_wset' function. */
54 #define HAVE_EL_WSET 1
55 
56 /* Define to 1 if you have the <execinfo.h> header file. */
57 #define HAVE_EXECINFO_H 1
58 
59 /* Define to 1 if you have the `getdtablesize' function. */
60 #define HAVE_GETDTABLESIZE 1
61 
62 /* Define to 1 if you have the `gethostname' function. */
63 #define HAVE_GETHOSTNAME 1
64 
65 /* Define to 1 if you have the `getifaddrs' function. */
66 #define HAVE_GETIFADDRS 1
67 
68 /* Define to 1 if you have the `getrusage' function. */
69 #define HAVE_GETRUSAGE 1
70 
71 /* Define to 1 if you have the `gettimeofday' function. */
72 #define HAVE_GETTIMEOFDAY 1
73 
74 /* Define to 1 if you have the `gmtime_r' function. */
75 #define HAVE_GMTIME_R 1
76 
77 /* Define to 1 if you have the `initgroups' function. */
78 #define HAVE_INITGROUPS 1
79 
80 /* Define to 1 if you have the <inttypes.h> header file. */
81 #define HAVE_INTTYPES_H 1
82 
83 /* Define to 1 if you have the `crypto' library (-lcrypto). */
84 #define HAVE_LIBCRYPTO 1
85 
86 /* Define to 1 if you have libedit is available */
87 #define HAVE_LIBEDIT 1
88 
89 /* Define to 1 if you have the `jpeg' library (-ljpeg). */
90 #define HAVE_LIBJPEG 1
91 
92 /* Define to 1 if you have the `mtmalloc' library (-lmtmalloc). */
93 /* #undef HAVE_LIBMTMALLOC */
94 
95 /* Define to 1 if you have the `pq' library (-lpq). */
96 /* #undef HAVE_LIBPQ */
97 
98 /* Define to 1 if you have the `socket' library (-lsocket). */
99 /* #undef HAVE_LIBSOCKET */
100 
101 /* Define to 1 if you have the `ssl' library (-lssl). */
102 #define HAVE_LIBSSL 1
103 
104 /* Define to 1 if you have the `localtime_r' function. */
105 #define HAVE_LOCALTIME_R 1
106 
107 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
108  to 0 otherwise. */
109 #define HAVE_MALLOC 1
110 
111 /* Define to 1 if the system has the type `memcached_instance_st*'. */
112 #define HAVE_MEMCACHED_INSTANCE_STP 1
113 
114 /* Define to 1 if you have the `memcached_server_name' function. */
115 #define HAVE_MEMCACHED_SERVER_NAME 1
116 
117 /* Define to 1 if you have the `memcached_stat_execute' function. */
118 #define HAVE_MEMCACHED_STAT_EXECUTE 1
119 
120 /* Define to 1 if you have the <memory.h> header file. */
121 #define HAVE_MEMORY_H 1
122 
123 /* Define to 1 if you have the `mlock' function. */
124 #define HAVE_MLOCK 1
125 
126 /* Define to 1 if you have the `mlockall' function. */
127 #define HAVE_MLOCKALL 1
128 
129 /* Define to 1 if you have the `mmap' function. */
130 #define HAVE_MMAP 1
131 
132 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
133 /* #undef HAVE_NDIR_H */
134 
135 /* Define to 1 if you have the <netdb.h> header file. */
136 #define HAVE_NETDB_H 1
137 
138 /* libodbc */
139 #define HAVE_ODBC 1
140 
141 /* Define if you have openpty() */
142 #define HAVE_OPENPTY 1
143 
144 /* Define to 1 if you have OpenSSL */
145 #define HAVE_OPENSSL 1
146 
147 /* HAVE_OPENSSL_DTLS */
148 #define HAVE_OPENSSL_DTLS 1
149 
150 /* HAVE_OPENSSL_DTLS_SRTP */
151 #define HAVE_OPENSSL_DTLS_SRTP 1
152 
153 /* Define to 1 if you have the <openssl/tls1.h> header file. */
154 /* #undef HAVE_OPENSSL_TLS1_H */
155 
156 /* Define to 1 if you have the `poll' function. */
157 #define HAVE_POLL 1
158 
159 /* Define to 1 if you have the `posix_openpt' function. */
160 #define HAVE_POSIX_OPENPT 1
161 
162 /* Define to 1 if you have the `pselect' function. */
163 #define HAVE_PSELECT 1
164 
165 /* Define if you have pthread_setschedparam() */
166 #define HAVE_PTHREAD_SETSCHEDPARAM 1
167 
168 /* RLIMIT_MEMLOCK constant for setrlimit */
169 #define HAVE_RLIMIT_MEMLOCK 1
170 
171 /* SCHED_FIFO constant for sched_setscheduler */
172 #define HAVE_SCHED_FIFO 1
173 
174 /* Define to 1 if you have the `sched_getaffinity' function. */
175 #define HAVE_SCHED_GETAFFINITY 1
176 
177 /* Define to 1 if you have the <sched.h> header file. */
178 #define HAVE_SCHED_H 1
179 
180 /* SCHED_RR constant for sched_setscheduler */
181 #define HAVE_SCHED_RR 1
182 
183 /* Define to 1 if you have the `sched_setaffinity' function. */
184 #define HAVE_SCHED_SETAFFINITY 1
185 
186 /* Define to 1 if you have the `sched_setscheduler' function. */
187 #define HAVE_SCHED_SETSCHEDULER 1
188 
189 /* Define to 1 if you have the `setenv' function. */
190 #define HAVE_SETENV 1
191 
192 /* Define to 1 if you have the `setgroups' function. */
193 #define HAVE_SETGROUPS 1
194 
195 /* Define to 1 if you have the `setpriority' function. */
196 #define HAVE_SETPRIORITY 1
197 
198 /* Define to 1 if you have the `setrlimit' function. */
199 #define HAVE_SETRLIMIT 1
200 
201 /* Define to 1 if you have the <stdint.h> header file. */
202 #define HAVE_STDINT_H 1
203 
204 /* Define to 1 if you have the <stdlib.h> header file. */
205 #define HAVE_STDLIB_H 1
206 
207 /* Define to 1 if you have the `strcasecmp' function. */
208 #define HAVE_STRCASECMP 1
209 
210 /* Define to 1 if you have the `strerror_r' function. */
211 #define HAVE_STRERROR_R 1
212 
213 /* Define to 1 if you have the `strftime' function. */
214 #define HAVE_STRFTIME 1
215 
216 /* Define to 1 if you have the `stricmp' function. */
217 /* #undef HAVE_STRICMP */
218 
219 /* Define to 1 if you have the <strings.h> header file. */
220 #define HAVE_STRINGS_H 1
221 
222 /* Define to 1 if you have the <string.h> header file. */
223 #define HAVE_STRING_H 1
224 
225 /* Define to 1 if you have the `strtoll' function. */
226 #define HAVE_STRTOLL 1
227 
228 /* Define to 1 if you have the `strtoq' function. */
229 #define HAVE_STRTOQ 1
230 
231 /* Define to 1 if you have the `strtoull' function. */
232 #define HAVE_STRTOULL 1
233 
234 /* Define to 1 if you have the `strtouq' function. */
235 #define HAVE_STRTOUQ 1
236 
237 /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
238 #define HAVE_STRUCT_TM_TM_GMTOFF 1
239 
240 /* Define to 1 if `tm_zone' is a member of `struct tm'. */
241 #define HAVE_STRUCT_TM_TM_ZONE 1
242 
243 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
244  */
245 /* #undef HAVE_SYS_DIR_H */
246 
247 /* Define to 1 if you have the <sys/filio.h> header file. */
248 /* #undef HAVE_SYS_FILIO_H */
249 
250 /* Define to 1 if you have the <sys/ioctl.h> header file. */
251 #define HAVE_SYS_IOCTL_H 1
252 
253 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
254  */
255 /* #undef HAVE_SYS_NDIR_H */
256 
257 /* Define to 1 if you have the <sys/prctl.h> header file. */
258 #define HAVE_SYS_PRCTL_H 1
259 
260 /* Define to 1 if you have the <sys/resource.h> header file. */
261 #define HAVE_SYS_RESOURCE_H 1
262 
263 /* Define to 1 if you have the <sys/select.h> header file. */
264 #define HAVE_SYS_SELECT_H 1
265 
266 /* Define to 1 if you have the <sys/stat.h> header file. */
267 #define HAVE_SYS_STAT_H 1
268 
269 /* Define to 1 if you have the <sys/time.h> header file. */
270 #define HAVE_SYS_TIME_H 1
271 
272 /* Define to 1 if you have the <sys/types.h> header file. */
273 #define HAVE_SYS_TYPES_H 1
274 
275 /* Define to 1 if you have the `timerfd_create' function. */
276 #define HAVE_TIMERFD_CREATE 1
277 
278 /* Define to 1 if you have TLS */
279 #define HAVE_TLS 1
280 
281 /* Define to 1 if you have the <unistd.h> header file. */
282 #define HAVE_UNISTD_H 1
283 
284 /* Define to 1 if you have the `usleep' function. */
285 #define HAVE_USLEEP 1
286 
287 /* Define to 1 if you have the `vasprintf' function. */
288 #define HAVE_VASPRINTF 1
289 
290 /* Define to 1 if you have the <wchar.h> header file. */
291 #define HAVE_WCHAR_H 1
292 
293 /* Define to 1 if you have the `wcsncmp' function. */
294 #define HAVE_WCSNCMP 1
295 
296 /* Define to 1 if you have the `_stricmp' function. */
297 /* #undef HAVE__STRICMP */
298 
299 /* Define to 1 if you have the `__strtoll' function. */
300 /* #undef HAVE___STRTOLL */
301 
302 /* Define to 1 if you have the `__strtoull' function. */
303 /* #undef HAVE___STRTOULL */
304 
305 /* Define if you have Java */
306 /* #undef HasJava */
307 
308 /* Define to the sub-directory in which libtool stores uninstalled libraries.
309  */
310 #define LT_OBJDIR ".libs/"
311 
312 /* Enable Optimization. */
313 /* #undef OPTIMZER */
314 
315 /* Name of package */
316 #define PACKAGE "freeswitch"
317 
318 /* Define to the address where bug reports for this package should be sent. */
319 #define PACKAGE_BUGREPORT "bugs@freeswitch.org"
320 
321 /* Define to the full name of this package. */
322 #define PACKAGE_NAME "freeswitch"
323 
324 /* Define to the full name and version of this package. */
325 #define PACKAGE_STRING "freeswitch 1.7.0"
326 
327 /* Define to the one symbol short name of this package. */
328 #define PACKAGE_TARNAME "freeswitch"
329 
330 /* Define to the home page for this package. */
331 #define PACKAGE_URL ""
332 
333 /* Define to the version of this package. */
334 #define PACKAGE_VERSION "1.7.0"
335 
336 /* Specifies the version of PostgreSQL we are linking against */
337 /* #undef POSTGRESQL_MAJOR_VERSION */
338 
339 /* Specifies the version of PostgreSQL we are linking against */
340 /* #undef POSTGRESQL_MINOR_VERSION */
341 
342 /* Specifies the version of PostgreSQL we are linking against */
343 /* #undef POSTGRESQL_PATCH_VERSION */
344 
345 /* Specifies the version of PostgreSQL we are linking against */
346 /* #undef POSTGRESQL_VERSION */
347 
348 /* Define as the return type of signal handlers (`int' or `void'). */
349 #define RETSIGTYPE void
350 
351 /* The size of `char', as computed by sizeof. */
352 #define SIZEOF_CHAR 1
353 
354 /* The size of `int', as computed by sizeof. */
355 #define SIZEOF_INT 4
356 
357 /* The size of `long', as computed by sizeof. */
358 #define SIZEOF_LONG 8
359 
360 /* The size of `long long', as computed by sizeof. */
361 #define SIZEOF_LONG_LONG 8
362 
363 /* The size of `short', as computed by sizeof. */
364 #define SIZEOF_SHORT 2
365 
366 /* The size of size_t */
367 #define SIZEOF_SIZE_T 8
368 
369 /* The size of ssize_t */
370 #define SIZEOF_SSIZE_T 8
371 
372 /* The size of `void*', as computed by sizeof. */
373 #define SIZEOF_VOIDP 8
374 
375 /* Solaris 11 privilege management */
376 /* #undef SOLARIS_PRIVILEGES */
377 
378 /* Define to 1 if you have the ANSI C header files. */
379 #define STDC_HEADERS 1
380 
381 /* Define to 1 if strerror_r returns char *. */
382 #define STRERROR_R_CHAR_P 1
383 
384 /* Little Endian */
385 #define SWITCH_BYTE_ORDER __LITTLE_ENDIAN
386 
387 /* where to put cache files */
388 #define SWITCH_CACHE_DIR "/usr/local/freeswitch/cache"
389 
390 /* where to put certs files */
391 #define SWITCH_CERTS_DIR "/usr/local/freeswitch/certs"
392 
393 /* directory for configuration files */
394 #define SWITCH_CONF_DIR "/usr/local/freeswitch/conf"
395 
396 /* directory for data files */
397 #define SWITCH_DATA_DIR "/usr/local/freeswitch"
398 
399 /* where to put db files */
400 #define SWITCH_DB_DIR "/usr/local/freeswitch/db"
401 
402 /* Define to 1 to enable deprecated core db events */
403 /* #undef SWITCH_DEPRECATED_CORE_DB */
404 
405 /* where to put font files */
406 #define SWITCH_FONTS_DIR "/usr/local/freeswitch/fonts"
407 
408 /* where to put grammar files */
409 #define SWITCH_GRAMMAR_DIR "/usr/local/freeswitch/grammar"
410 
411 /* Define to 1 if PostgreSQL libraries are available */
412 /* #undef SWITCH_HAVE_PGSQL */
413 
414 /* where to put htdocs files */
415 #define SWITCH_HTDOCS_DIR "/usr/local/freeswitch/htdocs"
416 
417 /* where to put image files */
418 #define SWITCH_IMAGES_DIR "/usr/local/freeswitch/images"
419 
420 /* directory for local state files */
421 #define SWITCH_LOCALSTATE_DIR "/usr/local/freeswitch"
422 
423 /* where to put log files */
424 #define SWITCH_LOG_DIR "/usr/local/freeswitch/log"
425 
426 /* where to install the modules to */
427 #define SWITCH_MOD_DIR "/usr/local/freeswitch/mod"
428 
429 /* where to put recording files */
430 #define SWITCH_RECORDINGS_DIR "/usr/local/freeswitch/recordings"
431 
432 /* where to put pidfile to */
433 #define SWITCH_RUN_DIR "/usr/local/freeswitch/run"
434 
435 /* where to put script files */
436 #define SWITCH_SCRIPT_DIR "/usr/local/freeswitch/scripts"
437 
438 /* where to put sounds files */
439 #define SWITCH_SOUNDS_DIR "/usr/local/freeswitch/sounds"
440 
441 /* where to put storage files */
442 #define SWITCH_STORAGE_DIR "/usr/local/freeswitch/storage"
443 
444 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
445 #define TIME_WITH_SYS_TIME 1
446 
447 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
448 /* #undef TM_IN_SYS_TIME */
449 
450 /* Enable mlockall support */
451 #define USE_MLOCKALL 1
452 
453 /* Enable round-robin scheduler using sched_setscheduler */
454 #define USE_SCHED_SETSCHEDULER 1
455 
456 /* Use setrlimit to disable mlock limit for non-root users */
457 #define USE_SETRLIMIT 1
458 
459 /* Version number of package */
460 #define VERSION "1.7.0"
461 
462 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
463  significant byte first (like Motorola and SPARC, unlike Intel). */
464 #if defined AC_APPLE_UNIVERSAL_BUILD
465 # if defined __BIG_ENDIAN__
466 # define WORDS_BIGENDIAN 1
467 # endif
468 #else
469 # ifndef WORDS_BIGENDIAN
470 /* # undef WORDS_BIGENDIAN */
471 # endif
472 #endif
473 
474 /* Define to empty if `const' does not conform to ANSI C. */
475 /* #undef const */
476 
477 /* Define to `__inline__' or `__inline' if that's what the C compiler
478  calls it, or to nothing if 'inline' is not supported under any name. */
479 #ifndef __cplusplus
480 /* #undef inline */
481 #endif
482 
483 /* Define to rpl_malloc if the replacement function should be used. */
484 /* #undef malloc */
485 
486 /* Define to `unsigned int' if <sys/types.h> does not define. */
487 /* #undef size_t */
488 
489 /* Define to `int' if <sys/types.h> does not define. */
490 /* #undef ssize_t */