pacemaker  2.1.3-ea053b43a
Scalable High-Availability cluster resource manager
Deprecated List
Global __builtin_expect (expr, result)
This macro will be removed in a future release
Global action_t

Use pe_action_t instead

Use pe_action_wrapper_t instead

Global action_wrapper_t
Use pe_node_t instead
File agents_compat.h
Do not include this header directly. The agent APIs in this header, and the header itself, will be removed in a future release.
Global apply_xml_diff (xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml)
Use xml_apply_patchset() instead
Global cib_inhibit_bcast
Will be removed in future
Global cleanup_calculations (pe_working_set_t *data_set)
This function is deprecated as part of the API; pe_reset_working_set() should be used instead.
File common_compat.h
Do not include this header directly. The utilities in this header, and the header itself, will be removed in a future release.
File compat.h
Do not include this header directly. The cluster APIs in this header, and the header itself, will be removed in a future release.
Global create_hello_message (const char *uuid, const char *client_name, const char *major_version, const char *minor_version)
This function is deprecated as part of the public C API.
Global crm_add_logfile (const char *filename)
Do not use Pacemaker for general-purpose logging
Global crm_atoi (text, default_text)
Use strtoll() instead
Global crm_build_path (const char *path_c, mode_t mode)
Do not use Pacemaker libraries for generic I/O
File crm_compat.h
Do not include this header directly. The utilities in this header, and the header itself, will be removed in a future release.
Global crm_config_error
Pacemaker library functions set this when a configuration error is found, which turns on extra messages at the end of processing. It should not be used directly and will be removed from the public C API in a future release.
Global crm_config_warning
Pacemaker library functions set this when a configuration warning is found, which turns on extra messages at the end of processing. It should not be used directly and will be removed from the public C API in a future release.
Global crm_errno2exit (int rc)
Use standard return codes and pcmk_rc2exitc() instead
Global crm_get_interval
Use crm_parse_interval_spec() instead
Global crm_itoa_stack (int an_int, char *buffer, size_t len)
Use snprintf() instead
Global crm_itoa_stack (int an_int, char *buffer, size_t len)
Use snprintf() instead
Global crm_log_cli_init (const char *entity)
Do not use Pacemaker for general-purpose logging
Global crm_parse_int (const char *text, const char *default_text)
Use strtoll() instead
Global crm_parse_ll (const char *text, const char *default_text)
Use strtoll() instead
Global crm_perror (level, fmt, args...)
One of the other logging functions should be used with pcmk_strerror() instead.
Global crm_provider_required (const char *standard)
Use pcmk_get_ra_caps() instead
Global crm_signal (int sig, void(*dispatch)(int sig))
Use crm_signal_handler() instead
Global crm_str_eq (const char *a, const char *b, gboolean use_case)
Use strcmp() or strcasecmp() instead
Global crm_str_hash
Use g_str_hash() instead
Global crm_str_table_dup (GHashTable *old_table)
Do not use Pacemaker for generic hash table manipulation
Global crm_strcase_equal (gconstpointer a, gconstpointer b)
Do not use Pacemaker for generic string comparison
Global crm_strcase_hash (gconstpointer v)
Do not use Pacemaker for generic string manipulation
Global crm_strip_trailing_newline (char *str)
Don't use Pacemaker for string manipulation
Global do_crm_log_always (level, fmt, args...)
Do not use Pacemaker for general-purpose logging
Global EOS
Use '\0' instead
Global find_entity (xmlNode *parent, const char *node_name, const char *id)
This function will be removed in a future release
Global g_str_hash_traditional (gconstpointer v)
Use g_str_hash() instead
Global get_object_parent (const char *object_type)
Use pcmk_cib_parent_name_for() instead
Global get_object_path (const char *object_type)
Use pcmk_cib_xpath_for() instead
Global get_object_root (const char *object_type, xmlNode *the_root)
Use pcmk_cib_xpath_for() instead
Global get_stonith_provider (const char *agent, const char *provider)
Use stonith_get_namespace() instead
Global GListPtr
Use GList * instead
File logging_compat.h
Do not include this header directly. Do not use Pacemaker libraries for general-purpose logging; libqb's logging API is a suitable replacement. The logging APIs in this header, and the header itself, will be removed in a future release.
Global LSB_ROOT_DIR
Do not use
File mainloop_compat.h
Do not include this header directly. The main loop APIs in this header, and the header itself, will be removed in a future release.
Global MAX_IPC_DELAY
This defined constant will be removed in a future release
File msg_xml_compat.h
Do not include this header directly. The XML constants in this header, and the header itself, will be removed in a future release.
Global NAGIOS_NOT_INSTALLED
Unused
Global no_quorum_policy_t
use pe_resource_t instead
Global node_member
Do not use
Global node_t
Use enum pe_quorum_policy instead
Global op_status
Use enum pcmk_exec_status instead
Global pcmk_errorname (int rc)
Use standard return codes and pcmk_rc_name() instead
Global pcmk_format_named_time (const char *name, time_t epoch_time)
Use a standard printf()-style function instead
Global pcmk_format_nvpair (const char *name, const char *value, const char *units)
Use a standard printf()-style function instead
Global pcmk_legacy2rc (int legacy_rc)
Use standard return codes instead
Global pcmk_numeric_strcasecmp (const char *s1, const char *s2)
Don't use Pacemaker for string manipulation
Global PCMK_OCF_CANCELLED
(Unused)
Global PCMK_OCF_CONNECTION_DIED
See PCMK_EXEC_NOT_CONNECTED
Global PCMK_OCF_DEGRADED_MASTER
Use PCMK_OCF_DEGRADED_PROMOTED instead
Global PCMK_OCF_EXEC_ERROR
(Unused)
Global PCMK_OCF_FAILED_MASTER
Use PCMK_OCF_FAILED_PROMOTED instead
Global PCMK_OCF_NOT_SUPPORTED
(Unused)
Global PCMK_OCF_OTHER_ERROR
(Unused)
Global PCMK_OCF_PENDING
(Unused)
Global PCMK_OCF_RUNNING_MASTER
Use PCMK_OCF_RUNNING_PROMOTED instead
Global PCMK_OCF_SIGNAL
(Unused)
Global PCMK_OCF_TIMEOUT
(Unused)
Global pcmk_rc2legacy (int rc)
Use standard return codes instead
Global pcmk_scan_nvpair (const char *input, char **name, char **value)
Use sscanf() instead
Global pcmk_strerror (int rc)
Use standard return codes and pcmk_rc_str() instead
Global pe_action_dangle
Unused
Global pe_flag_remove_after_stop
Global pe_flag_stdout
Global pe_resource_s::restart_type
will be removed in future release
Global pe_resource_s::utilization
Use pe_rsc_params() instead
Global pe_restart
will be removed in a future release
Global pe_restart_ignore

will be removed in a future release

will be removed in a future release

Global pe_rsc_start_pending
Do not use
Global pe_rsc_starting
Do not use
Global pe_test_expression_full (xmlNode *expr, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now, pe_match_data_t *match_data)
Use pe_test_expression() instead
Global pe_test_expression_re (xmlNode *expr, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now, pe_re_match_data_t *re_match_data)
Use pe_test_expression() instead
Global pe_test_rule_full (xmlNode *rule, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now, pe_match_data_t *match_data)
Use pe_test_rule() instead
Global pe_test_rule_re (xmlNode *rule, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now, pe_re_match_data_t *re_match_data)
Use pe_test_rule() instead
File pe_types_compat.h
Do not include this header directly. The scheduler APIs in this header, and the header itself, will be removed in a future release.
Global resource_object_functions_s::print )(pe_resource_t *, const char *, long, void *)
will be removed in a future release
Global resource_t
Use pe_tag_t instead
Global RSC_ROLE_MASTER
Use RSC_ROLE_PROMOTED instead
Global RSC_ROLE_MASTER_S
Use RSC_ROLE_PROMOTED_LEGACY_S instead
Global RSC_ROLE_SLAVE
Use RSC_ROLE_UNPROMOTED instead
Global RSC_ROLE_SLAVE_S
Use RSC_ROLE_UNPROMOTED_LEGACY_S instead
File rules_compat.h
Do not include this header directly. The rule APIs in this header, and the header itself, will be removed in a future release.
Global safe_str_eq (a, b)
Use strcasecmp() instead
Global safe_str_neq (const char *a, const char *b)
Use strcmp() instead
Global services_action_create (const char *name, const char *action, guint interval_ms, int timeout)
Use resources_action_create() instead
File services_compat.h
Do not include this header directly. The service APIs in this header, and the header itself, will be removed in a future release.
Global services_list (void)
Use resources_list_agents() instead
Global stonith_s::call_timeout
Unused
Global tag_t
Use pe_ticket_t instead
Global test_expression (xmlNode *expr, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now)
Use pe_test_expression() instead
Global test_rule (xmlNode *rule, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now)
Use pe_test_rule() instead
Global test_ruleset (xmlNode *ruleset, GHashTable *node_hash, crm_time_t *now)
Use pe_evaluate_rules() instead
Global unpack_instance_attributes (xmlNode *top, xmlNode *xml_obj, const char *set_name, GHashTable *node_hash, GHashTable *hash, const char *always_first, gboolean overwrite, crm_time_t *now)
Use pe_unpack_nvpairs() instead
File util_compat.h
Do not include this header directly. The utilities in this header, and the header itself, will be removed in a future release.
File util_compat.h
Do not include this header directly. The utilities in this header, and the header itself, will be removed in a future release.
Global XML_CIB_TAG_MASTER
Use PCMK_XE_PROMOTED_LEGACY instead
File xml_compat.h
Do not include this header directly. The XML APIs in this header, and the header itself, will be removed in a future release.
Global XML_RSC_ATTR_MASTER_MAX
Use PCMK_XE_PROMOTED_LEGACY instead
Global XML_RSC_ATTR_MASTER_NODEMAX
Use PCMK_XE_PROMOTED_LEGACY instead
Global XML_RSC_ATTR_PROVIDES
Use PCMK_STONITH_PROVIDES instead