summaryrefslogtreecommitdiffstats
path: root/src/apk_version.h
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-22 11:08:39 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-22 11:08:39 +0200
commit5b75b40bf9c6769ef14e23d13cc0765929a5b83a (patch)
tree98649f7e5d5bd751508094f2fa29d81b72b076bb /src/apk_version.h
parent4bbed2d648fcb98c613f88c1ced418e771407f84 (diff)
downloadapk-tools-5b75b40bf9c6769ef14e23d13cc0765929a5b83a.tar.bz2
apk-tools-5b75b40bf9c6769ef14e23d13cc0765929a5b83a.tar.xz
version: added apk_version_compare_blob() function
We want be able to compare blobs so we basicly revert the old change, and make a wrapper that takes version strings.
Diffstat (limited to 'src/apk_version.h')
-rw-r--r--src/apk_version.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_version.h b/src/apk_version.h
index b7779fa..ea3f444 100644
--- a/src/apk_version.h
+++ b/src/apk_version.h
@@ -21,6 +21,7 @@
const char *apk_version_op_string(int result_mask);
int apk_version_result_mask(const char *str);
int apk_version_validate(apk_blob_t ver);
+int apk_version_compare_blob(apk_blob_t a, apk_blob_t b);
int apk_version_compare(const char *str1, const char *str2);
#endif