compare_version 237 daemons/controld/controld_callbacks.c if (compare_version(controld_globals.dc_version, "3.0.9") > 0) { compare_version 572 daemons/controld/controld_cib.c && compare_version(controld_globals.dc_version, "3.16.0") >= 0) { compare_version 1307 daemons/controld/controld_execd.c if (compare_version(peer_version, "3.0.8") <= 0) { compare_version 2222 daemons/controld/controld_execd.c if (compare_version(controld_globals.dc_version, "3.2.0") < 0) { compare_version 516 daemons/controld/controld_join_dc.c if (compare_version(join_version, "3.17.0") < 0) { compare_version 107 daemons/controld/controld_metadata.c } else if (compare_version(ra_ocf_version, "2") >= 0) { compare_version 112 daemons/controld/controld_metadata.c } else if (compare_version(ra_ocf_version, PCMK_OCF_VERSION) > 0) { compare_version 163 daemons/controld/controld_metadata.c ocf1_1 = (compare_version((const char *) content, "1.1") >= 0); compare_version 1478 daemons/execd/execd_commands.c if (compare_version(protocol_version, LRMD_MIN_PROTOCOL_VERSION) < 0) { compare_version 82 include/crm/common/util.h int compare_version(const char *version1, const char *version2); compare_version 266 lib/cib/cib_utils.c if (new_version && compare_version(new_version, CRM_FEATURE_SET) > 0) { compare_version 600 lib/cluster/election.c int version_result = compare_version(vote.version, CRM_FEATURE_SET); compare_version 182 lib/common/digest.c if (version == NULL || compare_version("3.0.5", version) > 0) { compare_version 353 lib/common/patchset.c if (compare_version("3.0.8", version) < 0) { compare_version 17 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version(NULL, NULL), 0); compare_version 18 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version(NULL, "abc"), -1); compare_version 19 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version(NULL, "1.0.1"), -1); compare_version 20 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("abc", NULL), 1); compare_version 21 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0.1", NULL), 1); compare_version 27 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.4.7", "0.4.7"), 0); compare_version 28 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0", "1.0"), 0); compare_version 34 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.4.7", "0.4.8"), -1); compare_version 35 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.4.8", "0.4.7"), 1); compare_version 37 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.2.3", "0.3"), -1); compare_version 38 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.3", "0.2.3"), 1); compare_version 40 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.99", "1.0"), -1); compare_version 41 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0", "0.99"), 1); compare_version 47 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0", "1.0.1"), -1); compare_version 48 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0.1", "1.0"), 1); compare_version 1223 lib/pacemaker/pcmk_sched_actions.c if (compare_version("2.1", caller_version) <= 0) { compare_version 254 lib/pengine/failcounts.c gboolean is_legacy = (compare_version(version, "3.0.13") < 0); compare_version 186 lib/pengine/pe_digest.c bool old_version = (compare_version(op_version, "3.16.0") < 0); compare_version 854 lib/pengine/rules.c cmp = compare_version(l_val, r_val);