compare_version 364 daemons/attrd/attrd_commands.c if (compare_version("2", minimum_protocol_version) <= 0) { compare_version 221 daemons/controld/controld_callbacks.c if (compare_version(fsa_our_dc_version, "3.0.9") > 0) { compare_version 1688 daemons/controld/controld_execd.c if (compare_version(peer_version, "3.0.8") <= 0) { compare_version 2713 daemons/controld/controld_execd.c if (compare_version(fsa_our_dc_version, "3.2.0") < 0) { compare_version 183 daemons/controld/controld_metadata.c } else if (compare_version(ra_ocf_version, "2") >= 0) { compare_version 188 daemons/controld/controld_metadata.c } else if (compare_version(ra_ocf_version, PCMK_OCF_VERSION) > 0) { compare_version 243 daemons/controld/controld_metadata.c ocf1_1 = (compare_version((const char *) content, "1.1") >= 0); compare_version 1465 daemons/execd/execd_commands.c if (compare_version(protocol_version, LRMD_MIN_PROTOCOL_VERSION) < 0) { compare_version 83 include/crm/common/util.h int compare_version(const char *version1, const char *version2); compare_version 264 lib/cib/cib_utils.c if (new_version && compare_version(new_version, CRM_FEATURE_SET) > 0) { compare_version 598 lib/cluster/election.c int version_result = compare_version(vote.version, CRM_FEATURE_SET); compare_version 202 lib/common/digest.c if (version == NULL || compare_version("3.0.5", version) > 0) { compare_version 403 lib/common/patchset.c if (compare_version("3.0.8", version) < 0) { compare_version 21 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version(NULL, NULL), 0); compare_version 22 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version(NULL, "abc"), -1); compare_version 23 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version(NULL, "1.0.1"), -1); compare_version 24 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("abc", NULL), 1); compare_version 25 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0.1", NULL), 1); compare_version 31 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.4.7", "0.4.7"), 0); compare_version 32 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0", "1.0"), 0); compare_version 38 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.4.7", "0.4.8"), -1); compare_version 39 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.4.8", "0.4.7"), 1); compare_version 41 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.2.3", "0.3"), -1); compare_version 42 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.3", "0.2.3"), 1); compare_version 44 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.99", "1.0"), -1); compare_version 45 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0", "0.99"), 1); compare_version 51 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0", "1.0.1"), -1); compare_version 52 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0.1", "1.0"), 1); compare_version 1007 lib/pacemaker/pcmk_sched_actions.c if (compare_version("2.1", caller_version) <= 0) { compare_version 239 lib/pengine/failcounts.c gboolean is_legacy = (compare_version(version, "3.0.13") < 0); compare_version 960 lib/pengine/rules.c cmp = compare_version(l_val, r_val);