aboutsummaryrefslogtreecommitdiffstats
path: root/src/apk_version.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-10-02 16:47:40 +0300
committerTimo Teräs <timo.teras@iki.fi>2020-10-02 20:49:39 +0300
commit56553ea6cd27804bb76272842d9721e2fb1edfeb (patch)
tree6717f1cd0cae3d5030b851ee0161b9fe3f3d2a58 /src/apk_version.h
parent72bb6231eea1333f4e54b12adf01f5fa3eed6b96 (diff)
downloadapk-tools-v3.0-wip.tar.gz
apk-tools-v3.0-wip.tar.bz2
apk-tools-v3.0-wip.tar.xz
add separate vertest applet for version string testingv3.0-wip
start adding meson based tests
Diffstat (limited to 'src/apk_version.h')
-rw-r--r--src/apk_version.h3
1 files changed, 2 insertions, 1 deletions
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);