corosync  3.1.10
config.h
Go to the documentation of this file.
1 /* include/corosync/config.h. Generated from config.h.in by configure. */
2 /* include/corosync/config.h.in. Generated from configure.ac by autoheader. */
3 
4 /* Define to 1 if the 'closedir' function returns void instead of int. */
5 /* #undef CLOSEDIR_VOID */
6 
7 /* corosync config directory */
8 #define COROSYSCONFDIR "/etc/corosync"
9 
10 /* Define to 1 if using 'alloca.c'. */
11 /* #undef C_ALLOCA */
12 
13 /* Compiling Debugging code */
14 /* #undef DEBUG */
15 
16 /* Build in support for sending SNMP traps */
17 #define ENABLE_SNMP 1
18 
19 /* Define to 1 if you have the 'alarm' function. */
20 #define HAVE_ALARM 1
21 
22 /* Define to 1 if you have 'alloca', as a function or macro. */
23 #define HAVE_ALLOCA 1
24 
25 /* Define to 1 if <alloca.h> works. */
26 #define HAVE_ALLOCA_H 1
27 
28 /* Define to 1 if you have the 'alphasort' function. */
29 #define HAVE_ALPHASORT 1
30 
31 /* Define to 1 if you have the <arpa/inet.h> header file. */
32 #define HAVE_ARPA_INET_H 1
33 
34 /* Define to 1 if you have the 'atexit' function. */
35 #define HAVE_ATEXIT 1
36 
37 /* Define to 1 if you have the 'bzero' function. */
38 #define HAVE_BZERO 1
39 
40 /* Define to 1 if you have the 'clock_gettime' function. */
41 #define HAVE_CLOCK_GETTIME 1
42 
43 /* have dbus */
44 #define HAVE_DBUS 1
45 
46 /* Define to 1 if you have the <dirent.h> header file, and it defines 'DIR'.
47  */
48 #define HAVE_DIRENT_H 1
49 
50 /* Define to 1 if you have the <dlfcn.h> header file. */
51 #define HAVE_DLFCN_H 1
52 
53 /* Define to 1 if you don't have 'vprintf' but do have '_doprnt.' */
54 /* #undef HAVE_DOPRNT */
55 
56 /* Define to 1 if you have the 'dup2' function. */
57 #define HAVE_DUP2 1
58 
59 /* Define to 1 if you have the 'endgrent' function. */
60 #define HAVE_ENDGRENT 1
61 
62 /* Define to 1 if you have the 'endpwent' function. */
63 #define HAVE_ENDPWENT 1
64 
65 /* Define to 1 if you have the 'fcntl' function. */
66 #define HAVE_FCNTL 1
67 
68 /* Define to 1 if you have the <fcntl.h> header file. */
69 #define HAVE_FCNTL_H 1
70 
71 /* Define to 1 if you have the 'fdatasync' function. */
72 #define HAVE_FDATASYNC 1
73 
74 /* Define to 1 if you have the 'fork' function. */
75 #define HAVE_FORK 1
76 
77 /* Define to 1 if you have the 'ftruncate' function. */
78 #define HAVE_FTRUNCATE 1
79 
80 /* Define to 1 if you have the 'getcwd' function. */
81 #define HAVE_GETCWD 1
82 
83 /* Define to 1 if you have the 'gethostname' function. */
84 #define HAVE_GETHOSTNAME 1
85 
86 /* Define to 1 if you have the 'getifaddrs' function. */
87 #define HAVE_GETIFADDRS 1
88 
89 /* Define to 1 if you have the <getopt.h> header file. */
90 #define HAVE_GETOPT_H 1
91 
92 /* Define to 1 if you have the 'getpagesize' function. */
93 #define HAVE_GETPAGESIZE 1
94 
95 /* Define to 1 if you have the 'getpeereid' function. */
96 /* #undef HAVE_GETPEEREID */
97 
98 /* Define to 1 if you have the 'getpeerucred' function. */
99 /* #undef HAVE_GETPEERUCRED */
100 
101 /* Define to 1 if you have the 'gettimeofday' function. */
102 #define HAVE_GETTIMEOFDAY 1
103 
104 /* Define to 1 if you have the <ifaddrs.h> header file. */
105 #define HAVE_IFADDRS_H 1
106 
107 /* Define to 1 if you have the 'inet_ntoa' function. */
108 #define HAVE_INET_NTOA 1
109 
110 /* Define to 1 if you have the <inttypes.h> header file. */
111 #define HAVE_INTTYPES_H 1
112 
113 /* have knet access list */
114 #define HAVE_KNET_ACCESS_LIST 1
115 
116 /* have knet crypto reconfig support */
117 #define HAVE_KNET_CRYPTO_RECONF 1
118 
119 /* have knet onwire versioning */
120 /* #undef HAVE_KNET_ONWIRE_VER */
121 
122 /* have knet dscp traffic prioritization */
123 #define HAVE_KNET_SETPRIO_DSCP 1
124 
125 /* Define to 1 if you have the 'asan' library (-lasan). */
126 /* #undef HAVE_LIBASAN */
127 
128 /* have nozzle */
129 #define HAVE_LIBNOZZLE 1
130 
131 /* Define to 1 if you have the 'nsl' library (-lnsl). */
132 /* #undef HAVE_LIBNSL */
133 
134 /* Define to 1 if you have the 'pthread' library (-lpthread). */
135 #define HAVE_LIBPTHREAD 1
136 
137 /* Define to 1 if you have the 'rt' library (-lrt). */
138 #define HAVE_LIBRT 1
139 
140 /* Define to 1 if you have the 'socket' library (-lsocket). */
141 /* #undef HAVE_LIBSOCKET */
142 
143 /* have libstatgrab >= 0.90 */
144 #define HAVE_LIBSTATGRAB_GE_090 1
145 
146 /* have systemd interface library */
147 #define HAVE_LIBSYSTEMD 1
148 
149 /* Define to 1 if you have the 'tsan' library (-ltsan). */
150 /* #undef HAVE_LIBTSAN */
151 
152 /* Define to 1 if you have the 'ubsan' library (-lubsan). */
153 /* #undef HAVE_LIBUBSAN */
154 
155 /* Define to 1 if you have the <limits.h> header file. */
156 #define HAVE_LIMITS_H 1
157 
158 /* Define to 1 if you have the 'localtime_r' function. */
159 #define HAVE_LOCALTIME_R 1
160 
161 /* Define to 1 if your system has a GNU libc compatible 'malloc' function, and
162  to 0 otherwise. */
163 #define HAVE_MALLOC 1
164 
165 /* Define to 1 if you have the <malloc.h> header file. */
166 #define HAVE_MALLOC_H 1
167 
168 /* Define to 1 if you have the 'memmove' function. */
169 #define HAVE_MEMMOVE 1
170 
171 /* Define to 1 if you have the 'memset' function. */
172 #define HAVE_MEMSET 1
173 
174 /* Define to 1 if you have the <minix/config.h> header file. */
175 /* #undef HAVE_MINIX_CONFIG_H */
176 
177 /* Define to 1 if you have the 'mkdir' function. */
178 #define HAVE_MKDIR 1
179 
180 /* Define to 1 if you have a working 'mmap' system call. */
181 #define HAVE_MMAP 1
182 
183 /* have resource monitoring */
184 #define HAVE_MONITORING 1
185 
186 /* Define to 1 if you have the 'munmap' function. */
187 #define HAVE_MUNMAP 1
188 
189 /* Define to 1 if you have the <ndir.h> header file, and it defines 'DIR'. */
190 /* #undef HAVE_NDIR_H */
191 
192 /* Define to 1 if you have the <netdb.h> header file. */
193 #define HAVE_NETDB_H 1
194 
195 /* Define to 1 if you have the <netinet/in.h> header file. */
196 #define HAVE_NETINET_IN_H 1
197 
198 /* Define to 1 if you have the 'netsnmp_tdomain_transport' function. */
199 /* #undef HAVE_NETSNMP_TDOMAIN_TRANSPORT */
200 
201 /* Define to 1 if you have the 'netsnmp_transport_open_client' function. */
202 #define HAVE_NETSNMP_TRANSPORT_OPEN_CLIENT 1
203 
204 /* Define to 1 if you have the <net-snmp/net-snmp-config.h> header file. */
205 #define HAVE_NET_SNMP_NET_SNMP_CONFIG_H 1
206 
207 /* Define to 1 if you have the 'pthread_setschedparam' function. */
208 #define HAVE_PTHREAD_SETSCHEDPARAM 1
209 
210 /* have qb_log_file_reopen */
211 #define HAVE_QB_LOG_FILE_REOPEN 1
212 
213 /* have qb_log_thread_priority_set */
214 #define HAVE_QB_LOG_THREAD_PRIORITY_SET 1
215 
216 /* Define to 1 if you have the <readline/history.h> header file. */
217 #define HAVE_READLINE_HISTORY_H 1
218 
219 /* Define to 1 if you have the <readline/readline.h> header file. */
220 #define HAVE_READLINE_READLINE_H 1
221 
222 /* Define to 1 if your system has a GNU libc compatible 'realloc' function,
223  and to 0 otherwise. */
224 #define HAVE_REALLOC 1
225 
226 /* Define to 1 if you have the 'scandir' function. */
227 #define HAVE_SCANDIR 1
228 
229 /* Define to 1 if you have the 'sched_get_priority_max' function. */
230 #define HAVE_SCHED_GET_PRIORITY_MAX 1
231 
232 /* Define to 1 if you have the 'sched_setscheduler' function. */
233 #define HAVE_SCHED_SETSCHEDULER 1
234 
235 /* Define to 1 if you have the 'select' function. */
236 #define HAVE_SELECT 1
237 
238 /* have small_memory_footprint */
239 /* #undef HAVE_SMALL_MEMORY_FOOTPRINT */
240 
241 /* Define to 1 if you have the 'socket' function. */
242 #define HAVE_SOCKET 1
243 
244 /* sockaddr_in6 needs sin6_len */
245 /* #undef HAVE_SOCK_SIN6_LEN */
246 
247 /* sockaddr_in needs sin_len */
248 /* #undef HAVE_SOCK_SIN_LEN */
249 
250 /* Define to 1 if you have the <stddef.h> header file. */
251 #define HAVE_STDDEF_H 1
252 
253 /* Define to 1 if you have the <stdint.h> header file. */
254 #define HAVE_STDINT_H 1
255 
256 /* Define to 1 if you have the <stdio.h> header file. */
257 #define HAVE_STDIO_H 1
258 
259 /* Define to 1 if you have the <stdlib.h> header file. */
260 #define HAVE_STDLIB_H 1
261 
262 /* Define to 1 if you have the 'strcasecmp' function. */
263 #define HAVE_STRCASECMP 1
264 
265 /* Define to 1 if you have the 'strchr' function. */
266 #define HAVE_STRCHR 1
267 
268 /* Define to 1 if you have the 'strdup' function. */
269 #define HAVE_STRDUP 1
270 
271 /* Define to 1 if you have the 'strerror' function. */
272 #define HAVE_STRERROR 1
273 
274 /* Define to 1 if you have the <strings.h> header file. */
275 #define HAVE_STRINGS_H 1
276 
277 /* Define to 1 if you have the <string.h> header file. */
278 #define HAVE_STRING_H 1
279 
280 /* Define to 1 if you have the 'strrchr' function. */
281 #define HAVE_STRRCHR 1
282 
283 /* Define to 1 if you have the 'strspn' function. */
284 #define HAVE_STRSPN 1
285 
286 /* Define to 1 if you have the 'strstr' function. */
287 #define HAVE_STRSTR 1
288 
289 /* Define to 1 if you have the 'strtol' function. */
290 #define HAVE_STRTOL 1
291 
292 /* Define to 1 if you have the <syslog.h> header file. */
293 #define HAVE_SYSLOG_H 1
294 
295 /* Define to 1 if you have the <sys/dir.h> header file, and it defines 'DIR'.
296  */
297 /* #undef HAVE_SYS_DIR_H */
298 
299 /* Define to 1 if you have the <sys/file.h> header file. */
300 #define HAVE_SYS_FILE_H 1
301 
302 /* Define to 1 if you have the <sys/ioctl.h> header file. */
303 #define HAVE_SYS_IOCTL_H 1
304 
305 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines 'DIR'.
306  */
307 /* #undef HAVE_SYS_NDIR_H */
308 
309 /* Define to 1 if you have the <sys/param.h> header file. */
310 #define HAVE_SYS_PARAM_H 1
311 
312 /* Define to 1 if you have the <sys/select.h> header file. */
313 #define HAVE_SYS_SELECT_H 1
314 
315 /* Define to 1 if you have the <sys/socket.h> header file. */
316 #define HAVE_SYS_SOCKET_H 1
317 
318 /* Define to 1 if you have the <sys/stat.h> header file. */
319 #define HAVE_SYS_STAT_H 1
320 
321 /* Define to 1 if you have the <sys/time.h> header file. */
322 #define HAVE_SYS_TIME_H 1
323 
324 /* Define to 1 if you have the <sys/types.h> header file. */
325 #define HAVE_SYS_TYPES_H 1
326 
327 /* Define to 1 if you have the <sys/uio.h> header file. */
328 #define HAVE_SYS_UIO_H 1
329 
330 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
331 #define HAVE_SYS_WAIT_H 1
332 
333 /* Define to 1 if you have the <unistd.h> header file. */
334 #define HAVE_UNISTD_H 1
335 
336 /* Define to 1 if you have the <utmpx.h> header file. */
337 #define HAVE_UTMPX_H 1
338 
339 /* Define to 1 if you have the 'vfork' function. */
340 #define HAVE_VFORK 1
341 
342 /* Define to 1 if you have the <vfork.h> header file. */
343 /* #undef HAVE_VFORK_H */
344 
345 /* Define to 1 if you have the 'vprintf' function. */
346 #define HAVE_VPRINTF 1
347 
348 /* have watchdog */
349 #define HAVE_WATCHDOG 1
350 
351 /* Define to 1 if you have the <wchar.h> header file. */
352 #define HAVE_WCHAR_H 1
353 
354 /* Define to 1 if 'fork' works. */
355 #define HAVE_WORKING_FORK 1
356 
357 /* Define to 1 if 'vfork' works. */
358 #define HAVE_WORKING_VFORK 1
359 
360 /* localstate directory */
361 #define LOCALSTATEDIR "/var"
362 
363 /* Define to the sub-directory where libtool stores uninstalled libraries. */
364 #define LT_OBJDIR ".libs/"
365 
366 /* have net-snmp5.4 over */
367 #define NETSNMPV54
368 
369 /* Name of package */
370 #define PACKAGE "corosync"
371 
372 /* Define to the address where bug reports for this package should be sent. */
373 #define PACKAGE_BUGREPORT "users@clusterlabs.org"
374 
375 /* corosync built-in features */
376 #define PACKAGE_FEATURES " dbus monitoring watchdog augeas systemd xmlconf vqsim nozzle snmp pie relro bindnow"
377 
378 /* Define to the full name of this package. */
379 #define PACKAGE_NAME "corosync"
380 
381 /* Define to the full name and version of this package. */
382 #define PACKAGE_STRING "corosync 3.1.10"
383 
384 /* Define to the one symbol short name of this package. */
385 #define PACKAGE_TARNAME "corosync"
386 
387 /* Define to the home page for this package. */
388 #define PACKAGE_URL ""
389 
390 /* Define to the version of this package. */
391 #define PACKAGE_VERSION "3.1.10"
392 
393 /* Define to the type of arg 1 for 'select'. */
394 #define SELECT_TYPE_ARG1 int
395 
396 /* Define to the type of args 2, 3 and 4 for 'select'. */
397 #define SELECT_TYPE_ARG234 (fd_set *)
398 
399 /* Define to the type of arg 5 for 'select'. */
400 #define SELECT_TYPE_ARG5 (struct timeval *)
401 
402 /* If using the C implementation of alloca, define if you know the
403  direction of stack growth for your system; otherwise it will be
404  automatically deduced at runtime.
405  STACK_DIRECTION > 0 => grows toward higher addresses
406  STACK_DIRECTION < 0 => grows toward lower addresses
407  STACK_DIRECTION = 0 => direction of growth unknown */
408 /* #undef STACK_DIRECTION */
409 
410 /* Define to 1 if all of the C89 standard headers exist (not just the ones
411  required in a freestanding environment). This macro is provided for
412  backward compatibility; new code need not use it. */
413 #define STDC_HEADERS 1
414 
415 /* Enable extensions on AIX, Interix, z/OS. */
416 #ifndef _ALL_SOURCE
417 # define _ALL_SOURCE 1
418 #endif
419 /* Enable general extensions on macOS. */
420 #ifndef _DARWIN_C_SOURCE
421 # define _DARWIN_C_SOURCE 1
422 #endif
423 /* Enable general extensions on Solaris. */
424 #ifndef __EXTENSIONS__
425 # define __EXTENSIONS__ 1
426 #endif
427 /* Enable GNU extensions on systems that have them. */
428 #ifndef _GNU_SOURCE
429 # define _GNU_SOURCE 1
430 #endif
431 /* Enable X/Open compliant socket functions that do not require linking
432  with -lxnet on HP-UX 11.11. */
433 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
434 # define _HPUX_ALT_XOPEN_SOCKET_API 1
435 #endif
436 /* Identify the host operating system as Minix.
437  This macro does not affect the system headers' behavior.
438  A future release of Autoconf may stop defining this macro. */
439 #ifndef _MINIX
440 /* # undef _MINIX */
441 #endif
442 /* Enable general extensions on NetBSD.
443  Enable NetBSD compatibility extensions on Minix. */
444 #ifndef _NETBSD_SOURCE
445 # define _NETBSD_SOURCE 1
446 #endif
447 /* Enable OpenBSD compatibility extensions on NetBSD.
448  Oddly enough, this does nothing on OpenBSD. */
449 #ifndef _OPENBSD_SOURCE
450 # define _OPENBSD_SOURCE 1
451 #endif
452 /* Define to 1 if needed for POSIX-compatible behavior. */
453 #ifndef _POSIX_SOURCE
454 /* # undef _POSIX_SOURCE */
455 #endif
456 /* Define to 2 if needed for POSIX-compatible behavior. */
457 #ifndef _POSIX_1_SOURCE
458 /* # undef _POSIX_1_SOURCE */
459 #endif
460 /* Enable POSIX-compatible threading on Solaris. */
461 #ifndef _POSIX_PTHREAD_SEMANTICS
462 # define _POSIX_PTHREAD_SEMANTICS 1
463 #endif
464 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
465 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
466 # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
467 #endif
468 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
469 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
470 # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
471 #endif
472 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
473 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
474 # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
475 #endif
476 /* Enable extensions specified by C23 Annex F. */
477 #ifndef __STDC_WANT_IEC_60559_EXT__
478 # define __STDC_WANT_IEC_60559_EXT__ 1
479 #endif
480 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
481 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
482 # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
483 #endif
484 /* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */
485 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
486 # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
487 #endif
488 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
489 #ifndef __STDC_WANT_LIB_EXT2__
490 # define __STDC_WANT_LIB_EXT2__ 1
491 #endif
492 /* Enable extensions specified by ISO/IEC 24747:2009. */
493 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
494 # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
495 #endif
496 /* Enable extensions on HP NonStop. */
497 #ifndef _TANDEM_SOURCE
498 # define _TANDEM_SOURCE 1
499 #endif
500 /* Enable X/Open extensions. Define to 500 only if necessary
501  to make mbstate_t available. */
502 #ifndef _XOPEN_SOURCE
503 /* # undef _XOPEN_SOURCE */
504 #endif
505 
506 
507 /* Version number of package */
508 #define VERSION "3.1.10"
509 
510 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
511  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
512  #define below would cause a syntax error. */
513 /* #undef _UINT32_T */
514 
515 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
516  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
517  #define below would cause a syntax error. */
518 /* #undef _UINT64_T */
519 
520 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
521  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
522  #define below would cause a syntax error. */
523 /* #undef _UINT8_T */
524 
525 /* Define to empty if 'const' does not conform to ANSI C. */
526 /* #undef const */
527 
528 /* Define as 'int' if <sys/types.h> doesn't define. */
529 /* #undef gid_t */
530 
531 /* Define to '__inline__' or '__inline' if that's what the C compiler
532  calls it, or to nothing if 'inline' is not supported under any name. */
533 #ifndef __cplusplus
534 /* #undef inline */
535 #endif
536 
537 /* Define to the type of a signed integer type of width exactly 16 bits if
538  such a type exists and the standard includes do not define it. */
539 /* #undef int16_t */
540 
541 /* Define to the type of a signed integer type of width exactly 32 bits if
542  such a type exists and the standard includes do not define it. */
543 /* #undef int32_t */
544 
545 /* Define to the type of a signed integer type of width exactly 64 bits if
546  such a type exists and the standard includes do not define it. */
547 /* #undef int64_t */
548 
549 /* Define to the type of a signed integer type of width exactly 8 bits if such
550  a type exists and the standard includes do not define it. */
551 /* #undef int8_t */
552 
553 /* Define to rpl_malloc if the replacement function should be used. */
554 /* #undef malloc */
555 
556 /* Define as a signed integer type capable of holding a process identifier. */
557 /* #undef pid_t */
558 
559 /* Define to rpl_realloc if the replacement function should be used. */
560 /* #undef realloc */
561 
562 /* Define as 'unsigned int' if <stddef.h> doesn't define. */
563 /* #undef size_t */
564 
565 /* Define as 'int' if <sys/types.h> doesn't define. */
566 /* #undef ssize_t */
567 
568 /* Define as 'int' if <sys/types.h> doesn't define. */
569 /* #undef uid_t */
570 
571 /* Define to the type of an unsigned integer type of width exactly 16 bits if
572  such a type exists and the standard includes do not define it. */
573 /* #undef uint16_t */
574 
575 /* Define to the type of an unsigned integer type of width exactly 32 bits if
576  such a type exists and the standard includes do not define it. */
577 /* #undef uint32_t */
578 
579 /* Define to the type of an unsigned integer type of width exactly 64 bits if
580  such a type exists and the standard includes do not define it. */
581 /* #undef uint64_t */
582 
583 /* Define to the type of an unsigned integer type of width exactly 8 bits if
584  such a type exists and the standard includes do not define it. */
585 /* #undef uint8_t */
586 
587 /* Define as 'fork' if 'vfork' does not work. */
588 /* #undef vfork */
589 
590 /* Define to empty if the keyword 'volatile' does not work. Warning: valid
591  code using 'volatile' can become incorrect without. Disable with care. */
592 /* #undef volatile */