summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-utils.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-03-04 16:07:59 +0000
committerRichard Hughes <richard@hughsie.com>2015-03-04 16:18:03 +0000
commit0f515548fe6bcd2abf9261f215f932d498de714e (patch)
tree0dde88355c3ec4ae22bf380ecf32cf3b4e81c87e /libappstream-glib/as-utils.h
parent80b6d6fa8b8cb4b8f9b13c2c7c08a25c0369c640 (diff)
downloadappstream-glib-0f515548fe6bcd2abf9261f215f932d498de714e.tar.gz
Sort the releases using vercmp rather than strcmp
Diffstat (limited to 'libappstream-glib/as-utils.h')
-rw-r--r--libappstream-glib/as-utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-glib/as-utils.h b/libappstream-glib/as-utils.h
index b187e5f..b6e6839 100644
--- a/libappstream-glib/as-utils.h
+++ b/libappstream-glib/as-utils.h
@@ -130,6 +130,8 @@ gboolean as_utils_search_token_valid (const gchar *token);
gchar **as_utils_search_tokenize (const gchar *search);
GKeyFile *as_utils_load_inf_file (const gchar *filename,
GError **error);
+gint as_utils_vercmp (const gchar *version_a,
+ const gchar *version_b);
G_END_DECLS