diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-20 12:38:07 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-20 12:38:07 +0200 |
commit | 4bbed2d648fcb98c613f88c1ced418e771407f84 (patch) | |
tree | 954e208e3ca77098483c15cf94de2a55ffd8d7a5 /src/apk_version.h | |
parent | cb074581f0d65bc43188d3552dd72c405c53e5d9 (diff) | |
download | apk-tools-4bbed2d648fcb98c613f88c1ced418e771407f84.tar.gz apk-tools-4bbed2d648fcb98c613f88c1ced418e771407f84.tar.bz2 apk-tools-4bbed2d648fcb98c613f88c1ced418e771407f84.tar.xz apk-tools-4bbed2d648fcb98c613f88c1ced418e771407f84.zip |
ver: only compare the given packages, show version
make apk_version_compare() take strings rather than blobs
add apk_pkgversion_compare(), a wrapper that takes packages
Diffstat (limited to 'src/apk_version.h')
-rw-r--r-- | src/apk_version.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_version.h b/src/apk_version.h index 313d24a..b7779fa 100644 --- a/src/apk_version.h +++ b/src/apk_version.h @@ -21,6 +21,6 @@ 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(apk_blob_t a, apk_blob_t b); +int apk_version_compare(const char *str1, const char *str2); #endif |