summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-utils.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-08-25 11:27:57 +0100
committerRichard Hughes <richard@hughsie.com>2016-08-25 19:21:54 +0100
commit67f486be685533602eba085fc4accdabda6be4bf (patch)
tree34a8e697f5ecf036b27b56c2b73e45f6712cf4e5 /libappstream-glib/as-utils.h
parente552f4245472e484dc8cb9e8930826e436d3225f (diff)
downloadappstream-glib-67f486be685533602eba085fc4accdabda6be4bf.tar.gz
Add a hash function specifically designed for unique-ids
Diffstat (limited to 'libappstream-glib/as-utils.h')
-rw-r--r--libappstream-glib/as-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-glib/as-utils.h b/libappstream-glib/as-utils.h
index e38c412..7f7cde1 100644
--- a/libappstream-glib/as-utils.h
+++ b/libappstream-glib/as-utils.h
@@ -141,6 +141,7 @@ gchar *as_utils_unique_id_build (AsAppScope scope,
gboolean as_utils_unique_id_equal (const gchar *unique_id1,
const gchar *unique_id2);
gboolean as_utils_unique_id_valid (const gchar *unique_id);
+guint as_utils_unique_id_hash (const gchar *unique_id);
G_END_DECLS