From 010497cb5ae50713f0ed4e4c4bf3b860bf751da7 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Fri, 2 Oct 2020 16:47:40 +0300 Subject: add separate vertest applet for version string testing start adding meson based tests --- src/apk_version.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/apk_version.h') diff --git a/src/apk_version.h b/src/apk_version.h index ac6d50c..0996207 100644 --- a/src/apk_version.h +++ b/src/apk_version.h @@ -23,7 +23,8 @@ #define APK_DEPMASK_CHECKSUM (APK_VERSION_LESS|APK_VERSION_GREATER) const char *apk_version_op_string(int result_mask); -int apk_version_result_mask(const char *str); +int apk_version_result_mask(const char *op); +int apk_version_result_mask_blob(apk_blob_t op); int apk_version_validate(apk_blob_t ver); int apk_version_compare_blob_fuzzy(apk_blob_t a, apk_blob_t b, int fuzzy); int apk_version_compare_blob(apk_blob_t a, apk_blob_t b); -- cgit v1.2.3-70-g09d2