8 #define BUILD_VERSION "dc6eb4362e"
11 #define CRM_BLACKBOX_DIR "/var/lib/pacemaker/blackbox"
14 #define CRM_BUNDLE_DIR "/var/log/pacemaker/bundles"
17 #define CRM_CONFIG_DIR "/var/lib/pacemaker/cib"
21 #define CRM_CORE_DIR "/var/lib/pacemaker/cores"
24 #define CRM_DAEMON_DIR "/usr/lib/pacemaker"
27 #define CRM_DAEMON_GROUP "haclient"
30 #define CRM_DAEMON_USER "hacluster"
33 #define CRM_FEATURES "agent-manpages ascii-docs books cibsecrets corosync-ge-2 generated-manpages lha monotonic nagios ncurses remote systemd"
36 #define CRM_LOG_DIR "/var/log/pacemaker"
39 #define CRM_PACEMAKER_DIR "/var/lib/pacemaker"
42 #define CRM_RSCTMP_DIR "/run/resource-agents"
45 #define CRM_SCHEMA_DIRECTORY "/usr/share/pacemaker"
48 #define CRM_STATE_DIR "/run/crm"
55 #define ENABLE_VERSIONED_ATTRS 0
58 #define GCC_FORMAT_NONLITERAL_CHECKING_ENABLED
61 #define HAVE_ALPHASORT 1
64 #define HAVE_ARGZ_ADD 1
67 #define HAVE_ARGZ_APPEND 1
70 #define HAVE_ARGZ_COUNT 1
73 #define HAVE_ARGZ_CREATE_SEP 1
79 #define HAVE_ARGZ_INSERT 1
82 #define HAVE_ARGZ_NEXT 1
85 #define HAVE_ARGZ_STRINGIFY 1
88 #define HAVE_ARPA_INET_H 1
91 #define HAVE_BYTESWAP_H 1
94 #define HAVE_BZLIB_H 1
105 #define HAVE_CLOSEDIR 1
108 #define HAVE_COROSYNC_CFG_TRACKSTART 1
111 #define HAVE_CTYPE_H 1
117 #define HAVE_CURSES_H 1
120 #define HAVE_DBUSBASICVALUE 1
128 #define HAVE_DECL_ASSERT_FLOAT_EQUAL 1
132 #define HAVE_DECL_CLOCK_MONOTONIC 1
140 #define HAVE_DECL_PRIU32 1
144 #define HAVE_DECL_PRIU64 1
148 #define HAVE_DECL_PRIX32 1
152 #define HAVE_DECL_SCNU64 1
155 #define HAVE_DIRENT_H 1
164 #define HAVE_DLERROR 1
167 #define HAVE_DLFCN_H 1
176 #define HAVE_ERRNO_H 1
179 #define HAVE_ERROR_T 1
182 #define HAVE_GETOPT_H 1
188 #define HAVE_GLIB_H 1
191 #define HAVE_GNUTLS_GNUTLS_H 1
203 #define HAVE_INTTYPES_H 1
209 #define HAVE_LIBBZ2 1
221 #define HAVE_LIBDLLOADER 1
227 #define HAVE_LIBGNUTLS 1
230 #define HAVE_LIBNCURSES 1
233 #define HAVE_LIBPAM 1
236 #define HAVE_LIBPILS 1
239 #define HAVE_LIBPLUMB 1
254 #define HAVE_LIBXML_XPATH_H 1
257 #define HAVE_LIBXSLT 1
260 #define HAVE_LIBXSLT_XSLT_H 1
263 #define HAVE_LIMITS_H 1
266 #define HAVE_LINUX_SWAB_H 1
278 #define HAVE_NANOSLEEP 1
281 #define HAVE_NCURSES_H 1
287 #define HAVE_NETDB_H 1
290 #define HAVE_NETINET_IN_H 1
293 #define HAVE_NETINET_IP_H 1
299 #define HAVE_OPENDIR 1
311 #define HAVE_PRELOADED_SYMBOLS 1
317 #define HAVE_QB_IPCC_AUTH_GET 1
320 #define HAVE_QB_IPCC_CONNECT_ASYNC 1
323 #define HAVE_READDIR 1
326 #define HAVE_SCANDIR 1
329 #define HAVE_SCHED_SETSCHEDULER 1
332 #define HAVE_SECURITY_PAM_APPL_H 1
341 #define HAVE_SIGNAL_H 1
344 #define HAVE_STDDEF_H 1
347 #define HAVE_STDINT_H 1
350 #define HAVE_STDIO_H 1
353 #define HAVE_STDLIB_H 1
356 #define HAVE_STONITH_STONITH_H 1
359 #define HAVE_STRCHRNUL 1
362 #define HAVE_STRERROR 1
365 #define HAVE_STRINGS_H 1
368 #define HAVE_STRING_H 1
377 #define HAVE_STRNDUP 1
380 #define HAVE_STRNLEN 1
383 #define HAVE_STRUCT_DIRENT_D_TYPE 1
386 #define HAVE_STRUCT_TM_TM_GMTOFF 1
392 #define HAVE_SYS_IOCTL_H 1
395 #define HAVE_SYS_PARAM_H 1
398 #define HAVE_SYS_REBOOT_H 1
401 #define HAVE_SYS_RESOURCE_H 1
404 #define HAVE_SYS_SIGNALFD_H 1
407 #define HAVE_SYS_SOCKET_H 1
410 #define HAVE_SYS_STAT_H 1
413 #define HAVE_SYS_TIME_H 1
416 #define HAVE_SYS_TYPES_H 1
419 #define HAVE_SYS_UTSNAME_H 1
422 #define HAVE_SYS_WAIT_H 1
425 #define HAVE_TIME_H 1
428 #define HAVE_UNISTD_H 1
431 #define HAVE_USLEEP 1
434 #define HAVE_UUID_UNPARSE 1
437 #define HAVE_UUID_UUID_H 1
440 #define HAVE_WORKING_ARGZ 1
446 #define HAVE_qb_log_conf_QB_LOG_CONF_ELLIPSIS 1
449 #define HAVE_qb_log_conf_QB_LOG_CONF_MAX_LINE_LEN 1
452 #define LRM_CIBSECRETS_DIR "/var/lib/pacemaker/lrm/secrets"
458 #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"
461 #define LT_LIBEXT "a"
464 #define LT_LIBPREFIX "lib"
467 #define LT_MODULE_EXT ".so"
471 #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
474 #define LT_OBJDIR ".libs/"
483 #define NAGIOS_METADATA_DIR "/usr/share/nagios/plugins-metadata"
486 #define NAGIOS_PLUGIN_DIR "/usr/lib/nagios/plugins"
492 #define OCF_RA_PATH "/usr/lib/ocf/resource.d"
495 #define OCF_ROOT_DIR "/usr/lib/ocf"
498 #define PACEMAKER_CONFIG_DIR "/etc/pacemaker"
501 #define PACEMAKER_VERSION "2.1.4"
504 #define PACKAGE "pacemaker"
507 #define PACKAGE_BUGREPORT "users@clusterlabs.org"
510 #define PACKAGE_NAME "pacemaker"
513 #define PACKAGE_STRING "pacemaker 2.1.4"
516 #define PACKAGE_TARNAME "pacemaker"
519 #define PACKAGE_URL "https://ClusterLabs.org/pacemaker/"
522 #define PACKAGE_VERSION "2.1.4"
525 #define PCMK_GNUTLS_PRIORITIES "NORMAL"
528 #define PCMK_RUN_DIR "/run"
534 #define PCMK__CONCURRENT_FENCING_DEFAULT "false"
537 #define PCMK__FENCE_BINDIR "/usr/sbin"
540 #define PCMK__LOCALE_DIR "/usr/share/locale"
543 #define PCMK__LSB_INIT_DIR "/etc/init.d"
546 #define PCMK__RESOURCE_STICKINESS_DEFAULT 0
549 #define PCMK__SBD_SYNC_DEFAULT false
552 #define PE_STATE_DIR "/var/lib/pacemaker/pengine"
555 #define SBIN_DIR "/usr/sbin"
558 #define SIZEOF_CHAR 1
564 #define SIZEOF_LONG 8
567 #define SIZEOF_LONG_LONG 8
570 #define SIZEOF_SHORT 2
573 #define SSCANF_HAS_M 1
578 #define STDC_HEADERS 1
581 #define SUPPORT_CIBSECRETS 1
584 #define SUPPORT_COROSYNC 1
587 #define SUPPORT_DBUS 1
590 #define SUPPORT_NAGIOS 1
593 #define SUPPORT_PROCFS 1
596 #define SUPPORT_PROFILING 0
599 #define SUPPORT_SYSTEMD 1
602 #define SUPPORT_UPSTART 0
625 #define US_AUTH_PEERCRED_UCRED 1
628 #define VALGRIND_BIN "/usr/bin/valgrind"
631 #define VERSION "2.1.4"
635 #if defined AC_APPLE_UNIVERSAL_BUILD
636 # if defined __BIG_ENDIAN__
637 # define WORDS_BIGENDIAN 1
640 # ifndef WORDS_BIGENDIAN
649 #if defined __GNUC__ && defined __GNUC_MINOR__
650 # define _GL_GNUC_PREREQ(major, minor) \
651 ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
653 # define _GL_GNUC_PREREQ(major, minor) 0
659 # if (defined __cplusplus \
660 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
661 || (defined _MSC_VER && 1900 <= _MSC_VER)) \
669 # define _Noreturn [[noreturn]]
670 # elif ((!defined __cplusplus || defined __clang__) \
671 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
672 || _GL_GNUC_PREREQ (4, 7) \
673 || (defined __apple_build_version__ \
674 ? 6000000 <= __apple_build_version__ \
675 : 3 < __clang_major__ + (5 <= __clang_minor__))))
677 # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
678 # define _Noreturn __attribute__ ((__noreturn__))
679 # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
680 # define _Noreturn __declspec (noreturn)
714 #define _GL_ASYNC_SAFE
718 #ifdef __has_attribute
719 # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
721 # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
722 # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
723 # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
724 # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
725 # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
726 # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
727 # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
728 # define _GL_ATTR_diagnose_if 0
729 # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
730 # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
731 # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
732 # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
733 # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
735 # define _GL_ATTR_may_alias 0
737 # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
739 # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
740 # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
741 # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
742 # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
743 # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
744 # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
745 # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
746 # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
747 # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
748 # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
749 # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
753 #if _GL_HAS_ATTRIBUTE (alloc_size)
754 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
756 # define _GL_ATTRIBUTE_ALLOC_SIZE(args)
759 #if _GL_HAS_ATTRIBUTE (always_inline)
760 # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
762 # define _GL_ATTRIBUTE_ALWAYS_INLINE
765 #if _GL_HAS_ATTRIBUTE (artificial)
766 # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
768 # define _GL_ATTRIBUTE_ARTIFICIAL
774 #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
776 # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
778 # define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
781 # define _GL_ATTRIBUTE_COLD
784 #if _GL_HAS_ATTRIBUTE (const)
785 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
787 # define _GL_ATTRIBUTE_CONST
790 #if 201710L < __STDC_VERSION__
791 # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
792 #elif _GL_HAS_ATTRIBUTE (deprecated)
793 # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
795 # define _GL_ATTRIBUTE_DEPRECATED
798 #if _GL_HAS_ATTRIBUTE (error)
799 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
800 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
801 #elif _GL_HAS_ATTRIBUTE (diagnose_if)
802 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
803 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
805 # define _GL_ATTRIBUTE_ERROR(msg)
806 # define _GL_ATTRIBUTE_WARNING(msg)
809 #if _GL_HAS_ATTRIBUTE (externally_visible)
810 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
812 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
816 #if 201710L < __STDC_VERSION__
817 # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
818 #elif _GL_HAS_ATTRIBUTE (fallthrough)
819 # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
821 # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
824 #if _GL_HAS_ATTRIBUTE (format)
825 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
827 # define _GL_ATTRIBUTE_FORMAT(spec)
830 #if _GL_HAS_ATTRIBUTE (leaf)
831 # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
833 # define _GL_ATTRIBUTE_LEAF
837 #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
838 # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
840 # define _GL_ATTRIBUTE_MAY_ALIAS
843 #if 201710L < __STDC_VERSION__
844 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
845 #elif _GL_HAS_ATTRIBUTE (unused)
846 # define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__))
848 # define _GL_ATTRIBUTE_MAYBE_UNUSED
851 #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
852 #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
854 #if _GL_HAS_ATTRIBUTE (malloc)
855 # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
857 # define _GL_ATTRIBUTE_MALLOC
860 #if 201710L < __STDC_VERSION__
861 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
862 #elif _GL_HAS_ATTRIBUTE (warn_unused_result)
863 # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
865 # define _GL_ATTRIBUTE_NODISCARD
868 #if _GL_HAS_ATTRIBUTE (noinline)
869 # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
871 # define _GL_ATTRIBUTE_NOINLINE
874 #if _GL_HAS_ATTRIBUTE (nonnull)
875 # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
877 # define _GL_ATTRIBUTE_NONNULL(args)
880 #if _GL_HAS_ATTRIBUTE (nonstring)
881 # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
883 # define _GL_ATTRIBUTE_NONSTRING
888 #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
889 # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
891 # define _GL_ATTRIBUTE_NOTHROW
894 #if _GL_HAS_ATTRIBUTE (packed)
895 # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
897 # define _GL_ATTRIBUTE_PACKED
900 #if _GL_HAS_ATTRIBUTE (pure)
901 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
903 # define _GL_ATTRIBUTE_PURE
906 #if _GL_HAS_ATTRIBUTE (returns_nonnull)
907 # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
909 # define _GL_ATTRIBUTE_RETURNS_NONNULL
912 #if _GL_HAS_ATTRIBUTE (sentinel)
913 # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
915 # define _GL_ATTRIBUTE_SENTINEL(pos)
920 #if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
921 # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED
923 # define _GL_UNUSED_LABEL
973 #if (((defined __APPLE__ && defined __MACH__) \
974 || defined __DragonFly__ || defined __FreeBSD__) \
975 && (defined __header_inline \
976 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
977 && ! defined __clang__) \
978 : ((! defined _DONT_USE_CTYPE_INLINE_ \
979 && (defined __GNUC__ || defined __cplusplus)) \
980 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
981 && defined __GNUC__ && ! defined __cplusplus))))
982 # define _GL_EXTERN_INLINE_STDHEADER_BUG
985 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
986 : (199901L <= __STDC_VERSION__ \
987 && !defined __HP_cc \
989 && !(defined __SUNPRO_C && __STDC__))) \
990 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
991 # define _GL_INLINE inline
992 # define _GL_EXTERN_INLINE extern inline
993 # define _GL_EXTERN_INLINE_IN_USE
994 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
995 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
996 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
998 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
1000 # define _GL_INLINE extern inline
1002 # define _GL_EXTERN_INLINE extern
1003 # define _GL_EXTERN_INLINE_IN_USE
1005 # define _GL_INLINE static _GL_UNUSED
1006 # define _GL_EXTERN_INLINE static _GL_UNUSED
1015 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
1016 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
1017 # define _GL_INLINE_HEADER_CONST_PRAGMA
1019 # define _GL_INLINE_HEADER_CONST_PRAGMA \
1020 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
1022 # define _GL_INLINE_HEADER_BEGIN \
1023 _Pragma ("GCC diagnostic push") \
1024 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
1025 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
1026 _GL_INLINE_HEADER_CONST_PRAGMA
1027 # define _GL_INLINE_HEADER_END \
1028 _Pragma ("GCC diagnostic pop")
1030 # define _GL_INLINE_HEADER_BEGIN
1031 # define _GL_INLINE_HEADER_END
1040 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1041 # define __GNUC_STDC_INLINE__ 1
1057 #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
1063 #define restrict __restrict
1070 #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
1072 # define __restrict__