8 #define BUILD_VERSION "ba59be7122"
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 " generated-manpages agent-manpages ascii-docs publican-docs ncurses libqb-logging libqb-ipc lha-fencing systemd nagios corosync-native atomic-attrd acls cibsecrets"
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"
56 #define ENABLE_VERSIONED_ATTRS 0
59 #define GCC_FORMAT_NONLITERAL_CHECKING_ENABLED
62 #define HAVE_ALPHASORT 1
65 #define HAVE_ARGZ_ADD 1
68 #define HAVE_ARGZ_APPEND 1
71 #define HAVE_ARGZ_COUNT 1
74 #define HAVE_ARGZ_CREATE_SEP 1
80 #define HAVE_ARGZ_INSERT 1
83 #define HAVE_ARGZ_NEXT 1
86 #define HAVE_ARGZ_STRINGIFY 1
89 #define HAVE_ARPA_INET_H 1
92 #define HAVE_BYTESWAP_H 1
95 #define HAVE_BZLIB_H 1
98 #define HAVE_CLOSEDIR 1
101 #define HAVE_CTYPE_H 1
107 #define HAVE_CURSES_H 1
110 #define HAVE_DBUSBASICVALUE 1
114 #define HAVE_DECL_CLOCK_MONOTONIC 1
121 #define HAVE_DECL_GETOPT 1
124 #define HAVE_DECL_NANOSLEEP 1
128 #define HAVE_DECL_PRIU32 1
132 #define HAVE_DECL_PRIU64 1
136 #define HAVE_DECL_PRIX32 1
140 #define HAVE_DECL_SCNU64 1
143 #define HAVE_DIRENT_H 1
152 #define HAVE_DLERROR 1
155 #define HAVE_DLFCN_H 1
164 #define HAVE_ERRNO_H 1
167 #define HAVE_ERROR_T 1
170 #define HAVE_GETOPT 1
173 #define HAVE_GETOPT_H 1
176 #define HAVE_GLIB_H 1
179 #define HAVE_GNUTLS_GNUTLS_H 1
182 #define HAVE_GNUTLS_SEC_PARAM_TO_PK_BITS 1
191 #define HAVE_INTTYPES_H 1
194 #define HAVE_IPCS_GET_BUFFER_SIZE 1
197 #define HAVE_LIBBZ2 1
209 #define HAVE_LIBDLLOADER 1
215 #define HAVE_LIBGNUTLS 1
218 #define HAVE_LIBNCURSES 1
221 #define HAVE_LIBPAM 1
224 #define HAVE_LIBPILS 1
227 #define HAVE_LIBPLUMB 1
239 #define HAVE_LIBUUID 1
242 #define HAVE_LIBXML_XPATH_H 1
245 #define HAVE_LIBXSLT 1
248 #define HAVE_LIBXSLT_XSLT_H 1
251 #define HAVE_LIMITS_H 1
254 #define HAVE_LINUX_SWAB_H 1
263 #define HAVE_MALLOC_H 1
266 #define HAVE_MEMORY_H 1
269 #define HAVE_NANOSLEEP 1
272 #define HAVE_NCURSES_H 1
278 #define HAVE_NETDB_H 1
281 #define HAVE_NETINET_IN_H 1
284 #define HAVE_NETINET_IP_H 1
290 #define HAVE_OPENDIR 1
302 #define HAVE_PRELOADED_SYMBOLS 1
309 #define HAVE_QB_IPCS_CONNECTION_GET_BUFFER_SIZE 1
312 #define HAVE_READDIR 1
315 #define HAVE_SCANDIR 1
318 #define HAVE_SCHED_SETSCHEDULER 1
321 #define HAVE_SECURITY_PAM_APPL_H 1
324 #define HAVE_SETENV 1
327 #define HAVE_SGTTY_H 1
336 #define HAVE_SIGNAL_H 1
339 #define HAVE_STDARG_H 1
342 #define HAVE_STDDEF_H 1
345 #define HAVE_STDINT_H 1
348 #define HAVE_STDIO_H 1
351 #define HAVE_STDLIB_H 1
354 #define HAVE_STONITH_STONITH_H 1
357 #define HAVE_STRCHRNUL 1
360 #define HAVE_STRERROR 1
363 #define HAVE_STRINGS_H 1
366 #define HAVE_STRING_H 1
375 #define HAVE_STRNDUP 1
378 #define HAVE_STRNLEN 1
381 #define HAVE_STRUCT_DIRENT_D_TYPE 1
384 #define HAVE_STRUCT_TM_TM_GMTOFF 1
387 #define HAVE_SYS_DIR_H 1
393 #define HAVE_SYS_IOCTL_H 1
396 #define HAVE_SYS_PARAM_H 1
399 #define HAVE_SYS_REBOOT_H 1
402 #define HAVE_SYS_RESOURCE_H 1
405 #define HAVE_SYS_SIGNALFD_H 1
408 #define HAVE_SYS_SOCKET_H 1
414 #define HAVE_SYS_STAT_H 1
417 #define HAVE_SYS_TIME_H 1
420 #define HAVE_SYS_TYPES_H 1
423 #define HAVE_SYS_UTSNAME_H 1
426 #define HAVE_SYS_WAIT_H 1
429 #define HAVE_TIME_H 1
432 #define HAVE_UNISTD_H 1
435 #define HAVE_UNSETENV 1
438 #define HAVE_UUID_UNPARSE 1
441 #define HAVE_UUID_UUID_H 1
444 #define HAVE_WORKING_ARGZ 1
447 #define HAVE___PROGNAME 1
450 #define HAVE_qb_log_conf_QB_LOG_CONF_ELLIPSIS 1
453 #define HAVE_qb_log_conf_QB_LOG_CONF_MAX_LINE_LEN 1
456 #define LRM_CIBSECRETS_DIR "/var/lib/pacemaker/lrm/secrets"
462 #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"
465 #define LT_LIBEXT "a"
468 #define LT_LIBPREFIX "lib"
471 #define LT_MODULE_EXT ".so"
475 #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
478 #define LT_OBJDIR ".libs/"
487 #define NAGIOS_METADATA_DIR "/usr/share/nagios/plugins-metadata"
490 #define NAGIOS_PLUGIN_DIR "/usr/lib/nagios/plugins"
496 #define OCF_RA_DIR "/usr/lib/ocf/resource.d"
511 #define PACEMAKER_CONFIG_DIR "/etc/pacemaker"
514 #define PACEMAKER_VERSION "2.0.5"
517 #define PACKAGE "pacemaker"
520 #define PACKAGE_BUGREPORT "users@clusterlabs.org"
523 #define PACKAGE_NAME "pacemaker"
526 #define PACKAGE_STRING "pacemaker 2.0.5"
529 #define PACKAGE_TARNAME "pacemaker"
532 #define PACKAGE_URL "https://ClusterLabs.org/pacemaker/"
535 #define PACKAGE_VERSION "2.0.5"
538 #define PCMK_GNUTLS_PRIORITIES "NORMAL"
541 #define PCMK_RUN_DIR "/run"
544 #define PCMK__FENCE_BINDIR "/usr/sbin"
547 #define PE_STATE_DIR "/var/lib/pacemaker/pengine"
550 #define SBIN_DIR "/usr/sbin"
553 #define SIZEOF_CHAR 1
559 #define SIZEOF_LONG 8
562 #define SIZEOF_LONG_LONG 8
565 #define SIZEOF_SHORT 2
568 #define SSCANF_HAS_M 1
571 #define STDC_HEADERS 1
574 #define SUPPORT_CIBSECRETS 1
577 #define SUPPORT_COROSYNC 1
580 #define SUPPORT_DBUS 1
583 #define SUPPORT_NAGIOS 1
586 #define SUPPORT_PROFILING 0
589 #define SUPPORT_SYSTEMD 1
592 #define SUPPORT_UPSTART 0
615 #define US_AUTH_PEERCRED_UCRED 1
618 #define VALGRIND_BIN "/usr/bin/valgrind"
621 #define VERSION "2.0.5"
625 #if defined AC_APPLE_UNIVERSAL_BUILD
626 # if defined __BIG_ENDIAN__
627 # define WORDS_BIGENDIAN 1
630 # ifndef WORDS_BIGENDIAN
639 #if defined __GNUC__ && defined __GNUC_MINOR__
640 # define _GL_GNUC_PREREQ(major, minor) \
641 ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
643 # define _GL_GNUC_PREREQ(major, minor) 0
649 # if (defined __cplusplus \
650 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
651 || (defined _MSC_VER && 1900 <= _MSC_VER)) \
659 # define _Noreturn [[noreturn]]
660 # elif ((!defined __cplusplus || defined __clang__) \
661 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
662 || _GL_GNUC_PREREQ (4, 7) \
663 || (defined __apple_build_version__ \
664 ? 6000000 <= __apple_build_version__ \
665 : 3 < __clang_major__ + (5 <= __clang_minor__))))
667 # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
668 # define _Noreturn __attribute__ ((__noreturn__))
669 # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
670 # define _Noreturn __declspec (noreturn)
704 #define _GL_ASYNC_SAFE
708 #ifdef __has_attribute
709 # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
711 # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
712 # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
713 # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
714 # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
715 # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
716 # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
717 # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
718 # define _GL_ATTR_diagnose_if 0
719 # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
720 # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
721 # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
722 # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
723 # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
725 # define _GL_ATTR_may_alias 0
727 # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
729 # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
730 # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
731 # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
732 # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
733 # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
734 # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
735 # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
736 # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
737 # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
738 # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
739 # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
743 #if _GL_HAS_ATTRIBUTE (alloc_size)
744 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
746 # define _GL_ATTRIBUTE_ALLOC_SIZE(args)
749 #if _GL_HAS_ATTRIBUTE (always_inline)
750 # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
752 # define _GL_ATTRIBUTE_ALWAYS_INLINE
755 #if _GL_HAS_ATTRIBUTE (artificial)
756 # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
758 # define _GL_ATTRIBUTE_ARTIFICIAL
764 #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
766 # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
768 # define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
771 # define _GL_ATTRIBUTE_COLD
774 #if _GL_HAS_ATTRIBUTE (const)
775 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
777 # define _GL_ATTRIBUTE_CONST
780 #if 201710L < __STDC_VERSION__
781 # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
782 #elif _GL_HAS_ATTRIBUTE (deprecated)
783 # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
785 # define _GL_ATTRIBUTE_DEPRECATED
788 #if _GL_HAS_ATTRIBUTE (error)
789 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
790 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
791 #elif _GL_HAS_ATTRIBUTE (diagnose_if)
792 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
793 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
795 # define _GL_ATTRIBUTE_ERROR(msg)
796 # define _GL_ATTRIBUTE_WARNING(msg)
799 #if _GL_HAS_ATTRIBUTE (externally_visible)
800 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
802 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
806 #if 201710L < __STDC_VERSION__
807 # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
808 #elif _GL_HAS_ATTRIBUTE (fallthrough)
809 # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
811 # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
814 #if _GL_HAS_ATTRIBUTE (format)
815 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
817 # define _GL_ATTRIBUTE_FORMAT(spec)
820 #if _GL_HAS_ATTRIBUTE (leaf)
821 # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
823 # define _GL_ATTRIBUTE_LEAF
827 #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
828 # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
830 # define _GL_ATTRIBUTE_MAY_ALIAS
833 #if 201710L < __STDC_VERSION__
834 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
835 #elif _GL_HAS_ATTRIBUTE (unused)
836 # define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__))
838 # define _GL_ATTRIBUTE_MAYBE_UNUSED
841 #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
842 #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
844 #if _GL_HAS_ATTRIBUTE (malloc)
845 # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
847 # define _GL_ATTRIBUTE_MALLOC
850 #if 201710L < __STDC_VERSION__
851 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
852 #elif _GL_HAS_ATTRIBUTE (warn_unused_result)
853 # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
855 # define _GL_ATTRIBUTE_NODISCARD
858 #if _GL_HAS_ATTRIBUTE (noinline)
859 # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
861 # define _GL_ATTRIBUTE_NOINLINE
864 #if _GL_HAS_ATTRIBUTE (nonnull)
865 # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
867 # define _GL_ATTRIBUTE_NONNULL(args)
870 #if _GL_HAS_ATTRIBUTE (nonstring)
871 # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
873 # define _GL_ATTRIBUTE_NONSTRING
878 #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
879 # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
881 # define _GL_ATTRIBUTE_NOTHROW
884 #if _GL_HAS_ATTRIBUTE (packed)
885 # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
887 # define _GL_ATTRIBUTE_PACKED
890 #if _GL_HAS_ATTRIBUTE (pure)
891 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
893 # define _GL_ATTRIBUTE_PURE
896 #if _GL_HAS_ATTRIBUTE (returns_nonnull)
897 # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
899 # define _GL_ATTRIBUTE_RETURNS_NONNULL
902 #if _GL_HAS_ATTRIBUTE (sentinel)
903 # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
905 # define _GL_ATTRIBUTE_SENTINEL(pos)
910 #if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
911 # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED
913 # define _GL_UNUSED_LABEL
963 #if (((defined __APPLE__ && defined __MACH__) \
964 || defined __DragonFly__ || defined __FreeBSD__) \
965 && (defined __header_inline \
966 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
967 && ! defined __clang__) \
968 : ((! defined _DONT_USE_CTYPE_INLINE_ \
969 && (defined __GNUC__ || defined __cplusplus)) \
970 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
971 && defined __GNUC__ && ! defined __cplusplus))))
972 # define _GL_EXTERN_INLINE_STDHEADER_BUG
975 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
976 : (199901L <= __STDC_VERSION__ \
977 && !defined __HP_cc \
979 && !(defined __SUNPRO_C && __STDC__))) \
980 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
981 # define _GL_INLINE inline
982 # define _GL_EXTERN_INLINE extern inline
983 # define _GL_EXTERN_INLINE_IN_USE
984 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
985 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
986 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
988 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
990 # define _GL_INLINE extern inline
992 # define _GL_EXTERN_INLINE extern
993 # define _GL_EXTERN_INLINE_IN_USE
995 # define _GL_INLINE static _GL_UNUSED
996 # define _GL_EXTERN_INLINE static _GL_UNUSED
1005 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
1006 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
1007 # define _GL_INLINE_HEADER_CONST_PRAGMA
1009 # define _GL_INLINE_HEADER_CONST_PRAGMA \
1010 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
1012 # define _GL_INLINE_HEADER_BEGIN \
1013 _Pragma ("GCC diagnostic push") \
1014 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
1015 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
1016 _GL_INLINE_HEADER_CONST_PRAGMA
1017 # define _GL_INLINE_HEADER_END \
1018 _Pragma ("GCC diagnostic pop")
1020 # define _GL_INLINE_HEADER_BEGIN
1021 # define _GL_INLINE_HEADER_END
1030 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1031 # define __GNUC_STDC_INLINE__ 1
1047 #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
1053 #define restrict __restrict
1060 #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
1062 # define __restrict__