version 335 daemons/based/based_callbacks.c const char *version = crm_element_value(pong, XML_ATTR_CRM_VERSION); version 339 daemons/based/based_callbacks.c ping_digest = calculate_xml_versioned_digest(the_cib, FALSE, TRUE, version); version 305 daemons/based/based_io.c int version = 0; version 307 daemons/based/based_io.c update_validation(&root, &version, 0, FALSE, FALSE); version 308 daemons/based/based_io.c if (version > 0) { version 310 daemons/based/based_io.c " the existing (sane) configuration", get_schema_name(version)); version 579 daemons/controld/controld_execd.c xmlNode *update, const char *version) version 611 daemons/controld/controld_execd.c digest = calculate_operation_digest(restart, version); version 627 daemons/controld/controld_execd.c xmlNode *update, const char *version) version 643 daemons/controld/controld_execd.c digest = calculate_operation_digest(secure, version); version 481 daemons/controld/controld_messages.c const char *version = crm_element_value(message_data, field); version 484 daemons/controld/controld_messages.c if ((pcmk__scan_ll(version, &version_num, -1LL) != pcmk_rc_ok) version 489 daemons/controld/controld_messages.c client_name, ((version == NULL)? "" : version), version 79 daemons/controld/controld_metadata.c valid_version_format(const char *version) version 81 daemons/controld/controld_metadata.c if (version == NULL) { version 104 daemons/controld/controld_metadata.c return regexec(version_format_regex, version, 0, NULL, 0) == 0; version 124 daemons/controld/controld_metadata.c const char *version = crm_element_value(metadata_xml, XML_ATTR_VERSION); version 126 daemons/controld/controld_metadata.c if (version == NULL) { version 129 daemons/controld/controld_metadata.c version = PCMK_DEFAULT_AGENT_VERSION; version 131 daemons/controld/controld_metadata.c } else if (!valid_version_format(version)) { version 134 daemons/controld/controld_metadata.c version = PCMK_DEFAULT_AGENT_VERSION; version 138 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type, version); version 140 daemons/controld/controld_metadata.c return strdup(version); version 290 daemons/pacemakerd/pacemakerd.c if (args->version) { version 291 daemons/pacemakerd/pacemakerd.c out->version(out, false); version 23 include/crm/common/cmdline_internal.h gboolean version; version 100 include/crm/common/options_internal.h void pcmk__print_option_metadata(const char *name, const char *version, version 350 include/crm/common/output_internal.h void (*version) (pcmk__output_t *out, bool extended); version 187 include/crm/common/xml.h char *calculate_operation_digest(xmlNode * local_cib, const char *version); version 189 include/crm/common/xml.h const char *version); version 236 include/crm/common/xml.h const char *get_schema_name(int version); version 211 lib/cib/cib_ops.c const char *version = crm_element_value(req, XML_ATTR_CRM_VERSION); version 213 lib/cib/cib_ops.c version ? version : version 403 lib/cluster/election.c const char *version; version 431 lib/cluster/election.c vote->version = crm_element_value(message, F_CRM_VERSION); version 436 lib/cluster/election.c if ((vote->op == NULL) || (vote->from == NULL) || (vote->version == NULL) version 598 lib/cluster/election.c int version_result = compare_version(vote.version, CRM_FEATURE_SET); version 68 lib/common/cmdline.c { "version", '$', 0, G_OPTION_ARG_NONE, &(common_args->version), version 244 lib/common/crmcommon_private.h uint8_t version; version 170 lib/common/digest.c calculate_operation_digest(xmlNode *input, const char *version) version 188 lib/common/digest.c const char *version) version 202 lib/common/digest.c if (version == NULL || compare_version("3.0.5", version) > 0) { version 203 lib/common/digest.c crm_trace("Using v1 digest algorithm for %s", crm_str(version)); version 206 lib/common/digest.c crm_trace("Using v2 digest algorithm for %s", crm_str(version)); version 87 lib/common/ipc_common.c } else if (header->version > PCMK__IPC_VERSION) { version 89 lib/common/ipc_common.c header->version, PCMK__IPC_VERSION); version 618 lib/common/ipc_server.c header->version = PCMK__IPC_VERSION; version 556 lib/common/options.c pcmk__print_option_metadata(const char *name, const char *version, version 568 lib/common/options.c " <parameters>\n", name, version, desc_long, desc_short); version 398 lib/common/output_html.c retval->version = html_version; version 285 lib/common/output_log.c retval->version = log_version; version 134 lib/common/output_none.c retval->version = none_version; version 306 lib/common/output_text.c retval->version = text_version; version 413 lib/common/output_xml.c retval->version = xml_version; version 313 lib/common/patchset.c xmlNode *version = NULL; version 332 lib/common/patchset.c version = create_xml_node(patchset, XML_DIFF_VERSION); version 334 lib/common/patchset.c v = create_xml_node(version, XML_DIFF_VSOURCE); version 344 lib/common/patchset.c v = create_xml_node(version, XML_DIFF_VTARGET); version 376 lib/common/patchset.c const char *version = crm_element_value(source, XML_ATTR_CRM_VERSION); version 404 lib/common/patchset.c if (compare_version("3.0.8", version) < 0) { version 409 lib/common/patchset.c crm_trace("Using patch format %d for version: %s", format, version); version 431 lib/common/patchset.c const char *version = NULL; version 448 lib/common/patchset.c version = crm_element_value(source, XML_ATTR_CRM_VERSION); version 449 lib/common/patchset.c digest = calculate_xml_versioned_digest(target, FALSE, TRUE, version); version 1370 lib/common/patchset.c char *version = crm_element_value_copy(xml, XML_ATTR_CRM_VERSION); version 1378 lib/common/patchset.c new_digest = calculate_xml_versioned_digest(xml, FALSE, TRUE, version); version 1399 lib/common/patchset.c free(version); version 1657 lib/common/patchset.c const char *version = crm_element_value(diff, XML_ATTR_CRM_VERSION); version 1714 lib/common/patchset.c version); version 74 lib/common/remote.c uint32_t version; version 119 lib/common/remote.c header->version = __swab32(header->version); version 514 lib/common/remote.c header->version = REMOTE_MSG_VERSION; version 562 lib/common/remote.c if (rc != BZ_OK && header->version > REMOTE_MSG_VERSION) { version 564 lib/common/remote.c header->version, REMOTE_MSG_VERSION); version 591 lib/common/remote.c if (xml == NULL && header->version > REMOTE_MSG_VERSION) { version 593 lib/common/remote.c header->version, REMOTE_MSG_VERSION); version 38 lib/common/schemas.c #define schema_scanf(s, prefix, version, suffix) \ version 39 lib/common/schemas.c sscanf((s), prefix "%hhu.%hhu" suffix, &((version).v[0]), &((version).v[1])) version 41 lib/common/schemas.c #define schema_strdup_printf(prefix, version, suffix) \ version 42 lib/common/schemas.c crm_strdup_printf(prefix "%u.%u" suffix, (version).v[0], (version).v[1]) version 61 lib/common/schemas.c schema_version_t version; version 102 lib/common/schemas.c if (known_schemas[lpc].version.v[0] version 103 lib/common/schemas.c < known_schemas[best].version.v[0]) { version 121 lib/common/schemas.c version_from_filename(const char *filename, schema_version_t *version) version 123 lib/common/schemas.c int rc = schema_scanf(filename, "pacemaker-", *version, ".rng"); version 132 lib/common/schemas.c schema_version_t version = SCHEMA_ZERO; version 140 lib/common/schemas.c } else if (!version_from_filename(a->d_name, &version)) { version 181 lib/common/schemas.c add_schema(enum schema_validator_e validator, const schema_version_t *version, version 198 lib/common/schemas.c known_schemas[last].version.v[i] = version->v[i]; version 199 lib/common/schemas.c if (version->v[i]) { version 204 lib/common/schemas.c known_schemas[last].name = schema_strdup_printf("pacemaker-", *version, ""); version 207 lib/common/schemas.c schema_scanf(name, "%*[^-]-", known_schemas[last].version, ""); version 269 lib/common/schemas.c add_schema_by_version(const schema_version_t *version, int next, version 282 lib/common/schemas.c transform_upgrade = schema_strdup_printf("upgrade-", *version, ); version 292 lib/common/schemas.c transform_enter = schema_strdup_printf("upgrade-", *version, "-enter"); version 330 lib/common/schemas.c add_schema(schema_validator_rng, version, NULL, version 398 lib/common/schemas.c schema_version_t version = SCHEMA_ZERO; version 400 lib/common/schemas.c if (!version_from_filename(namelist[lpc]->d_name, &version)) { version 410 lib/common/schemas.c && (version.v[0] < next_version.v[0])) { version 417 lib/common/schemas.c if (add_schema_by_version(&version, next, transform_expected) version 702 lib/common/schemas.c int version = 0; version 727 lib/common/schemas.c version = get_schema_version(validation); version 730 lib/common/schemas.c } else if (version < xml_schema_max) { version 731 lib/common/schemas.c return validate_with(xml_blob, version, to_logs); version 1021 lib/common/schemas.c get_schema_name(int version) version 1023 lib/common/schemas.c if (version < 0 || version >= xml_schema_max) { version 1026 lib/common/schemas.c return known_schemas[version].name; version 1202 lib/common/schemas.c int version = get_schema_version(value); version 1203 lib/common/schemas.c int orig_version = version; version 1206 lib/common/schemas.c if (version < min_version) { version 1211 lib/common/schemas.c update_validation(&converted, &version, 0, TRUE, to_logs); version 1214 lib/common/schemas.c if (version < min_version) { version 1217 lib/common/schemas.c if (version < orig_version || orig_version == -1) { version 1266 lib/common/schemas.c if (version < xml_latest_schema_index()) { version 1271 lib/common/schemas.c orig_value, get_schema_name(version)); version 1277 lib/common/schemas.c orig_value, get_schema_name(version)); version 1282 lib/common/schemas.c } else if (version >= get_schema_version("none")) { version 1297 lib/common/schemas.c *best_version = version; version 972 lib/lrmd/lrmd_client.c const char *version = crm_element_value(reply, F_LRMD_PROTOCOL_VERSION); version 980 lib/lrmd/lrmd_client.c LRMD_PROTOCOL_VERSION, version); version 994 lib/lrmd/lrmd_client.c native->peer_version = strdup(version?version:"1.0"); /* Included since 1.1 */ version 554 lib/pacemaker/pcmk_sched_utils.c append_digest(lrmd_event_data_t *op, xmlNode *update, const char *version, version 571 lib/pacemaker/pcmk_sched_utils.c digest = calculate_operation_digest(args_xml, version); version 238 lib/pengine/failcounts.c const char *version = crm_element_value(data_set->input, XML_ATTR_CRM_VERSION); version 239 lib/pengine/failcounts.c gboolean is_legacy = (compare_version(version, "3.0.13") < 0); version 627 tools/cibadmin.c const char *version = NULL; version 634 tools/cibadmin.c version = crm_element_value(input, XML_ATTR_CRM_VERSION); version 635 tools/cibadmin.c digest = calculate_xml_versioned_digest(input, FALSE, TRUE, version); version 636 tools/cibadmin.c fprintf(stderr, "Versioned (%s) digest: ", version); version 679 tools/cibadmin.c int version = 0, rc = 0; version 683 tools/cibadmin.c update_validation(&obj, &version, 0, TRUE, FALSE); version 325 tools/crm_attribute.c if (args->version) { version 145 tools/crm_diff.c const char *version; version 150 tools/crm_diff.c version = crm_element_value(output, XML_ATTR_CRM_VERSION); version 151 tools/crm_diff.c buffer = calculate_xml_versioned_digest(output, FALSE, TRUE, version); version 321 tools/crm_diff.c if (args->version) { version 92 tools/crm_error.c if (args->version) { version 1432 tools/crm_mon.c if (!args->version) { version 1536 tools/crm_mon.c if (args->version && output_format == mon_output_console) { version 1585 tools/crm_mon.c if (args->version) { version 1586 tools/crm_mon.c out->version(out, false); version 352 tools/crm_mon_curses.c retval->version = curses_ver; version 548 tools/crm_node.c if (args->version) { version 1666 tools/crm_resource.c if (args->version) { version 1667 tools/crm_resource.c out->version(out, false); version 251 tools/crm_rule.c if (args->version) { version 903 tools/crm_simulate.c if (args->version) { version 904 tools/crm_simulate.c out->version(out, false); version 141 tools/crm_verify.c if (args->version) { version 142 tools/crm_verify.c out->version(out, false); version 218 tools/crmadmin.c if (args->version) { version 219 tools/crmadmin.c out->version(out, false); version 357 tools/ipmiservicelogd.c uint8_t version; version 372 tools/ipmiservicelogd.c version = 0x04; version 383 tools/ipmiservicelogd.c bmc_data.version = version; version 394 tools/ipmiservicelogd.c bmc_data.version, version 418 tools/ipmiservicelogd.c uint8_t version; version 433 tools/ipmiservicelogd.c version = 0x04; version 445 tools/ipmiservicelogd.c bmc_data.version = version; version 456 tools/ipmiservicelogd.c bmc_data.version, version 375 tools/stonith_admin.c if (args->version) { version 376 tools/stonith_admin.c out->version(out, false);