summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-store.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-03-23 10:49:14 +0000
committerRichard Hughes <richard@hughsie.com>2016-03-23 10:49:16 +0000
commitb8d0b8f7b9c617de173c1f4b6b77c95dd779b5fa (patch)
tree0d1de880f48f48f0394848f1eea5e9adb1383c86 /libappstream-glib/as-store.h
parent91a4d62016f79dc6bd8c1d897908296abb9fed78 (diff)
downloadappstream-glib-b8d0b8f7b9c617de173c1f4b6b77c95dd779b5fa.tar.gz
Add as_store_get_app_by_id_ignore_prefix()
This allows applications to be fetched from the store when we don't care what the prefix is.
Diffstat (limited to 'libappstream-glib/as-store.h')
-rw-r--r--libappstream-glib/as-store.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libappstream-glib/as-store.h b/libappstream-glib/as-store.h
index b95e2d2..c8848ac 100644
--- a/libappstream-glib/as-store.h
+++ b/libappstream-glib/as-store.h
@@ -160,6 +160,9 @@ GPtrArray *as_store_get_apps_by_metadata (AsStore *store,
const gchar *value);
AsApp *as_store_get_app_by_id (AsStore *store,
const gchar *id);
+AsApp *as_store_get_app_by_id_ignore_prefix
+ (AsStore *store,
+ const gchar *id);
AsApp *as_store_get_app_by_id_with_fallbacks (AsStore *store,
const gchar *id);
AsApp *as_store_get_app_by_pkgname (AsStore *store,