From 6cd1da1daaefc240ed9267cc7f294758f74b9342 Mon Sep 17 00:00:00 2001 From: pixdamix@gmail.com Date: Thu, 22 Nov 2012 04:17:30 -0500 Subject: add opkg_compare_versions function * not used in opkg but can be usefull, e.g. instead of opkg-utils/opkg-compare-versions.c Signed-off-by: Martin Jansa git-svn-id: http://opkg.googlecode.com/svn/trunk@636 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg.h') diff --git a/libopkg/opkg.h b/libopkg/opkg.h index 4fbd404..7aa86eb 100644 --- a/libopkg/opkg.h +++ b/libopkg/opkg.h @@ -58,4 +58,6 @@ pkg_t* opkg_find_package (const char *name, const char *version, const char *arc int opkg_repository_accessibility_check(void); +int opkg_compare_versions (const char *ver1, const char *ver2); + #endif /* OPKG_H */ -- cgit v0.9.1