diff options
author | Timo Teräs <timo.teras@iki.fi> | 2020-10-02 16:47:40 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-10-09 16:09:19 +0300 |
commit | 010497cb5ae50713f0ed4e4c4bf3b860bf751da7 (patch) | |
tree | da7626ff54d2086f4f9fb2dd5181484f35ab05d9 /src/apk_version.h | |
parent | 6d71f49c11e22a617234ef47123ab9287cde23af (diff) | |
download | apk-tools-010497cb5ae50713f0ed4e4c4bf3b860bf751da7.tar.gz apk-tools-010497cb5ae50713f0ed4e4c4bf3b860bf751da7.tar.bz2 apk-tools-010497cb5ae50713f0ed4e4c4bf3b860bf751da7.tar.xz apk-tools-010497cb5ae50713f0ed4e4c4bf3b860bf751da7.zip |
add separate vertest applet for version string testing
start adding meson based tests
Diffstat (limited to 'src/apk_version.h')
-rw-r--r-- | src/apk_version.h | 3 |
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); |