summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-utils.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-03-05 16:34:17 +0000
committerRichard Hughes <richard@hughsie.com>2015-03-05 16:34:24 +0000
commite1a180f4f57ec1b6fbca37413537ac6561fdb561 (patch)
treecb29e894046ac50676147327b6d5a08e4fc82d72 /libappstream-glib/as-utils.h
parent90377999de314c50dac167291dfbb3ad6dbc9bf0 (diff)
downloadappstream-glib-e1a180f4f57ec1b6fbca37413537ac6561fdb561.tar.gz
Add as_utils_parse_driver_version()
This allows us to use it from fwupd and GNOME Software.
Diffstat (limited to 'libappstream-glib/as-utils.h')
-rw-r--r--libappstream-glib/as-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libappstream-glib/as-utils.h b/libappstream-glib/as-utils.h
index b6e6839..f21243a 100644
--- a/libappstream-glib/as-utils.h
+++ b/libappstream-glib/as-utils.h
@@ -130,6 +130,9 @@ 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);
+gchar *as_utils_parse_driver_version (const gchar *driver_version,
+ guint64 *timestamp,
+ GError **error);
gint as_utils_vercmp (const gchar *version_a,
const gchar *version_b);