From 5eda6884585eda2f8493dcb101ae2ed255ea29d1 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 1 May 2024 11:07:30 +0530 Subject: npassd/service/ReadAlias: init --- include/npassd/collection.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/npassd/collection.h b/include/npassd/collection.h index 40c100f..4b157e0 100644 --- a/include/npassd/collection.h +++ b/include/npassd/collection.h @@ -20,3 +20,7 @@ void collection_free(struct collection *c); int collection_new(sd_bus *bus, struct sqlite3 *db, struct collection **p, const char *alias, const char *label, const char *root); int collection_root_make(const char *label, const char *alias, char **root); +int collection_alias_search(struct collection_dlist *collections, + const char *alias, struct collection **collection); +int collection_db_alias_read(sd_bus *bus, struct sqlite3 *db, + struct collection **p, const char *alias); -- cgit v1.2.3