8 #define BUILD_VERSION "ada5c3b36e2"
11 #define CRM_BLACKBOX_DIR "/var/lib/pacemaker/blackbox"
14 #define CRM_BUNDLE_DIR "/var/log/pacemaker/bundles"
17 #define CRM_CONFIG_CTS "/var/lib/pacemaker/cts"
20 #define CRM_CONFIG_DIR "/var/lib/pacemaker/cib"
23 #define CRM_CORE_DIR "/var/lib/pacemaker/cores"
26 #define CRM_DAEMON_DIR "/usr/lib/pacemaker"
29 #define CRM_DAEMON_GROUP "haclient"
32 #define CRM_DAEMON_USER "hacluster"
35 #define CRM_FEATURES "agent-manpages ascii-docs books cibsecrets corosync-ge-2 generated-manpages lha monotonic nagios ncurses remote systemd"
38 #define CRM_LOG_DIR "/var/log/pacemaker"
41 #define CRM_PACEMAKER_DIR "/var/lib/pacemaker"
44 #define CRM_RSCTMP_DIR "/run/resource-agents"
47 #define CRM_SCHEMA_DIRECTORY "/usr/share/pacemaker"
50 #define CRM_STATE_DIR "/run/crm"
53 #define ENABLE_VERSIONED_ATTRS 0
56 #define GCC_FORMAT_NONLITERAL_CHECKING_ENABLED
59 #define HAVE_ALPHASORT 1
62 #define HAVE_ARGZ_ADD 1
65 #define HAVE_ARGZ_APPEND 1
68 #define HAVE_ARGZ_COUNT 1
71 #define HAVE_ARGZ_CREATE_SEP 1
77 #define HAVE_ARGZ_INSERT 1
80 #define HAVE_ARGZ_NEXT 1
83 #define HAVE_ARGZ_STRINGIFY 1
86 #define HAVE_ARPA_INET_H 1
89 #define HAVE_BYTESWAP_H 1
92 #define HAVE_BZLIB_H 1
95 #define HAVE_CLOSEDIR 1
98 #define HAVE_COROSYNC_CFG_TRACKSTART 1
101 #define HAVE_CTYPE_H 1
107 #define HAVE_CURSES_H 1
110 #define HAVE_DBUSBASICVALUE 1
114 #define HAVE_DECL_ASSERT_FLOAT_EQUAL 0
118 #define HAVE_DECL_CLOCK_MONOTONIC 1
126 #define HAVE_DECL_PRIU32 1
130 #define HAVE_DECL_PRIU64 1
134 #define HAVE_DECL_PRIX32 1
138 #define HAVE_DECL_SCNU64 1
141 #define HAVE_DIRENT_H 1
150 #define HAVE_DLERROR 1
153 #define HAVE_DLFCN_H 1
162 #define HAVE_ERRNO_H 1
165 #define HAVE_ERROR_T 1
168 #define HAVE_GETOPT_H 1
171 #define HAVE_GLIB_H 1
174 #define HAVE_GNUTLS_GNUTLS_H 1
183 #define HAVE_INTTYPES_H 1
186 #define HAVE_IPCC_AUTH_GET 1
192 #define HAVE_LIBBZ2 1
204 #define HAVE_LIBDLLOADER 1
210 #define HAVE_LIBGNUTLS 1
213 #define HAVE_LIBNCURSES 1
216 #define HAVE_LIBPAM 1
219 #define HAVE_LIBPILS 1
222 #define HAVE_LIBPLUMB 1
237 #define HAVE_LIBXML_XPATH_H 1
240 #define HAVE_LIBXSLT 1
243 #define HAVE_LIBXSLT_XSLT_H 1
246 #define HAVE_LIMITS_H 1
249 #define HAVE_LINUX_SWAB_H 1
261 #define HAVE_NANOSLEEP 1
264 #define HAVE_NCURSES_H 1
270 #define HAVE_NETDB_H 1
273 #define HAVE_NETINET_IN_H 1
276 #define HAVE_NETINET_IP_H 1
282 #define HAVE_OPENDIR 1
294 #define HAVE_PRELOADED_SYMBOLS 1
300 #define HAVE_QB_IPCC_AUTH_GET 1
303 #define HAVE_READDIR 1
306 #define HAVE_SCANDIR 1
309 #define HAVE_SCHED_SETSCHEDULER 1
312 #define HAVE_SECURITY_PAM_APPL_H 1
321 #define HAVE_SIGNAL_H 1
324 #define HAVE_STDDEF_H 1
327 #define HAVE_STDINT_H 1
330 #define HAVE_STDIO_H 1
333 #define HAVE_STDLIB_H 1
336 #define HAVE_STONITH_STONITH_H 1
339 #define HAVE_STRCHRNUL 1
342 #define HAVE_STRERROR 1
345 #define HAVE_STRINGS_H 1
348 #define HAVE_STRING_H 1
357 #define HAVE_STRNDUP 1
360 #define HAVE_STRNLEN 1
363 #define HAVE_STRUCT_DIRENT_D_TYPE 1
366 #define HAVE_STRUCT_TM_TM_GMTOFF 1
372 #define HAVE_SYS_IOCTL_H 1
375 #define HAVE_SYS_PARAM_H 1
378 #define HAVE_SYS_REBOOT_H 1
381 #define HAVE_SYS_RESOURCE_H 1
384 #define HAVE_SYS_SIGNALFD_H 1
387 #define HAVE_SYS_SOCKET_H 1
390 #define HAVE_SYS_STAT_H 1
393 #define HAVE_SYS_TIME_H 1
396 #define HAVE_SYS_TYPES_H 1
399 #define HAVE_SYS_UTSNAME_H 1
402 #define HAVE_SYS_WAIT_H 1
405 #define HAVE_TIME_H 1
408 #define HAVE_UNISTD_H 1
411 #define HAVE_USLEEP 1
414 #define HAVE_UUID_UNPARSE 1
417 #define HAVE_UUID_UUID_H 1
420 #define HAVE_WORKING_ARGZ 1
426 #define HAVE_qb_log_conf_QB_LOG_CONF_ELLIPSIS 1
429 #define HAVE_qb_log_conf_QB_LOG_CONF_MAX_LINE_LEN 1
432 #define LRM_CIBSECRETS_DIR "/var/lib/pacemaker/lrm/secrets"
438 #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/local/lib:/usr/local/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu"
441 #define LT_LIBEXT "a"
444 #define LT_LIBPREFIX "lib"
447 #define LT_MODULE_EXT ".so"
451 #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
454 #define LT_OBJDIR ".libs/"
463 #define NAGIOS_METADATA_DIR "/usr/share/nagios/plugins-metadata"
466 #define NAGIOS_PLUGIN_DIR "/usr/lib/nagios/plugins"
472 #define OCF_RA_PATH "/usr/lib/ocf/resource.d"
475 #define OCF_ROOT_DIR "/usr/lib/ocf"
478 #define PACEMAKER_CONFIG_DIR "/etc/pacemaker"
481 #define PACEMAKER_VERSION "2.1.2"
484 #define PACKAGE "pacemaker"
487 #define PACKAGE_BUGREPORT "users@clusterlabs.org"
490 #define PACKAGE_NAME "pacemaker"
493 #define PACKAGE_STRING "pacemaker 2.1.2"
496 #define PACKAGE_TARNAME "pacemaker"
499 #define PACKAGE_URL "https://ClusterLabs.org/pacemaker/"
502 #define PACKAGE_VERSION "2.1.2"
505 #define PCMK_GNUTLS_PRIORITIES "NORMAL"
508 #define PCMK_RUN_DIR "/run"
514 #define PCMK__CONCURRENT_FENCING_DEFAULT "false"
517 #define PCMK__FENCE_BINDIR "/usr/sbin"
520 #define PCMK__LSB_INIT_DIR "/etc/init.d"
523 #define PCMK__RESOURCE_STICKINESS_DEFAULT 0
526 #define PCMK__SBD_SYNC_DEFAULT false
529 #define PE_STATE_DIR "/var/lib/pacemaker/pengine"
532 #define SBIN_DIR "/usr/sbin"
535 #define SIZEOF_CHAR 1
541 #define SIZEOF_LONG 8
544 #define SIZEOF_LONG_LONG 8
547 #define SIZEOF_SHORT 2
550 #define SSCANF_HAS_M 1
555 #define STDC_HEADERS 1
558 #define SUPPORT_CIBSECRETS 1
561 #define SUPPORT_COROSYNC 1
564 #define SUPPORT_DBUS 1
567 #define SUPPORT_NAGIOS 1
570 #define SUPPORT_PROCFS 1
573 #define SUPPORT_PROFILING 0
576 #define SUPPORT_SYSTEMD 1
579 #define SUPPORT_UPSTART 0
602 #define US_AUTH_PEERCRED_UCRED 1
605 #define VALGRIND_BIN "/usr/bin/valgrind"
608 #define VERSION "2.1.2"
612 #if defined AC_APPLE_UNIVERSAL_BUILD
613 # if defined __BIG_ENDIAN__
614 # define WORDS_BIGENDIAN 1
617 # ifndef WORDS_BIGENDIAN
626 #if defined __GNUC__ && defined __GNUC_MINOR__
627 # define _GL_GNUC_PREREQ(major, minor) \
628 ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
630 # define _GL_GNUC_PREREQ(major, minor) 0
636 # if (defined __cplusplus \
637 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
638 || (defined _MSC_VER && 1900 <= _MSC_VER)) \
646 # define _Noreturn [[noreturn]]
647 # elif ((!defined __cplusplus || defined __clang__) \
648 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
649 || _GL_GNUC_PREREQ (4, 7) \
650 || (defined __apple_build_version__ \
651 ? 6000000 <= __apple_build_version__ \
652 : 3 < __clang_major__ + (5 <= __clang_minor__))))
654 # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
655 # define _Noreturn __attribute__ ((__noreturn__))
656 # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
657 # define _Noreturn __declspec (noreturn)
691 #define _GL_ASYNC_SAFE
695 #ifdef __has_attribute
696 # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
698 # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
699 # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
700 # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
701 # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
702 # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
703 # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
704 # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
705 # define _GL_ATTR_diagnose_if 0
706 # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
707 # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
708 # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
709 # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
710 # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
712 # define _GL_ATTR_may_alias 0
714 # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
716 # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
717 # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
718 # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
719 # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
720 # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
721 # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
722 # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
723 # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
724 # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
725 # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
726 # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
730 #if _GL_HAS_ATTRIBUTE (alloc_size)
731 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
733 # define _GL_ATTRIBUTE_ALLOC_SIZE(args)
736 #if _GL_HAS_ATTRIBUTE (always_inline)
737 # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
739 # define _GL_ATTRIBUTE_ALWAYS_INLINE
742 #if _GL_HAS_ATTRIBUTE (artificial)
743 # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
745 # define _GL_ATTRIBUTE_ARTIFICIAL
751 #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
753 # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
755 # define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
758 # define _GL_ATTRIBUTE_COLD
761 #if _GL_HAS_ATTRIBUTE (const)
762 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
764 # define _GL_ATTRIBUTE_CONST
767 #if 201710L < __STDC_VERSION__
768 # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
769 #elif _GL_HAS_ATTRIBUTE (deprecated)
770 # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
772 # define _GL_ATTRIBUTE_DEPRECATED
775 #if _GL_HAS_ATTRIBUTE (error)
776 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
777 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
778 #elif _GL_HAS_ATTRIBUTE (diagnose_if)
779 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
780 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
782 # define _GL_ATTRIBUTE_ERROR(msg)
783 # define _GL_ATTRIBUTE_WARNING(msg)
786 #if _GL_HAS_ATTRIBUTE (externally_visible)
787 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
789 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
793 #if 201710L < __STDC_VERSION__
794 # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
795 #elif _GL_HAS_ATTRIBUTE (fallthrough)
796 # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
798 # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
801 #if _GL_HAS_ATTRIBUTE (format)
802 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
804 # define _GL_ATTRIBUTE_FORMAT(spec)
807 #if _GL_HAS_ATTRIBUTE (leaf)
808 # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
810 # define _GL_ATTRIBUTE_LEAF
814 #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
815 # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
817 # define _GL_ATTRIBUTE_MAY_ALIAS
820 #if 201710L < __STDC_VERSION__
821 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
822 #elif _GL_HAS_ATTRIBUTE (unused)
823 # define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__))
825 # define _GL_ATTRIBUTE_MAYBE_UNUSED
828 #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
829 #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
831 #if _GL_HAS_ATTRIBUTE (malloc)
832 # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
834 # define _GL_ATTRIBUTE_MALLOC
837 #if 201710L < __STDC_VERSION__
838 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
839 #elif _GL_HAS_ATTRIBUTE (warn_unused_result)
840 # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
842 # define _GL_ATTRIBUTE_NODISCARD
845 #if _GL_HAS_ATTRIBUTE (noinline)
846 # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
848 # define _GL_ATTRIBUTE_NOINLINE
851 #if _GL_HAS_ATTRIBUTE (nonnull)
852 # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
854 # define _GL_ATTRIBUTE_NONNULL(args)
857 #if _GL_HAS_ATTRIBUTE (nonstring)
858 # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
860 # define _GL_ATTRIBUTE_NONSTRING
865 #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
866 # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
868 # define _GL_ATTRIBUTE_NOTHROW
871 #if _GL_HAS_ATTRIBUTE (packed)
872 # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
874 # define _GL_ATTRIBUTE_PACKED
877 #if _GL_HAS_ATTRIBUTE (pure)
878 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
880 # define _GL_ATTRIBUTE_PURE
883 #if _GL_HAS_ATTRIBUTE (returns_nonnull)
884 # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
886 # define _GL_ATTRIBUTE_RETURNS_NONNULL
889 #if _GL_HAS_ATTRIBUTE (sentinel)
890 # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
892 # define _GL_ATTRIBUTE_SENTINEL(pos)
897 #if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
898 # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED
900 # define _GL_UNUSED_LABEL
950 #if (((defined __APPLE__ && defined __MACH__) \
951 || defined __DragonFly__ || defined __FreeBSD__) \
952 && (defined __header_inline \
953 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
954 && ! defined __clang__) \
955 : ((! defined _DONT_USE_CTYPE_INLINE_ \
956 && (defined __GNUC__ || defined __cplusplus)) \
957 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
958 && defined __GNUC__ && ! defined __cplusplus))))
959 # define _GL_EXTERN_INLINE_STDHEADER_BUG
962 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
963 : (199901L <= __STDC_VERSION__ \
964 && !defined __HP_cc \
966 && !(defined __SUNPRO_C && __STDC__))) \
967 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
968 # define _GL_INLINE inline
969 # define _GL_EXTERN_INLINE extern inline
970 # define _GL_EXTERN_INLINE_IN_USE
971 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
972 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
973 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
975 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
977 # define _GL_INLINE extern inline
979 # define _GL_EXTERN_INLINE extern
980 # define _GL_EXTERN_INLINE_IN_USE
982 # define _GL_INLINE static _GL_UNUSED
983 # define _GL_EXTERN_INLINE static _GL_UNUSED
992 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
993 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
994 # define _GL_INLINE_HEADER_CONST_PRAGMA
996 # define _GL_INLINE_HEADER_CONST_PRAGMA \
997 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
999 # define _GL_INLINE_HEADER_BEGIN \
1000 _Pragma ("GCC diagnostic push") \
1001 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
1002 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
1003 _GL_INLINE_HEADER_CONST_PRAGMA
1004 # define _GL_INLINE_HEADER_END \
1005 _Pragma ("GCC diagnostic pop")
1007 # define _GL_INLINE_HEADER_BEGIN
1008 # define _GL_INLINE_HEADER_END
1017 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1018 # define __GNUC_STDC_INLINE__ 1
1034 #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
1040 #define restrict __restrict
1047 #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
1049 # define __restrict__