aboutsummaryrefslogtreecommitdiff
path: root/include/npassd
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-05-01 11:07:30 +0530
committersinanmohd <sinan@sinanmohd.com>2024-05-01 14:32:03 +0530
commit5eda6884585eda2f8493dcb101ae2ed255ea29d1 (patch)
tree4e5d372f9a68e142dfe1d7835246b25a569bd804 /include/npassd
parent176bea08417a3ad89848491a357f73591045ed3c (diff)
npassd/service/ReadAlias: init
Diffstat (limited to 'include/npassd')
-rw-r--r--include/npassd/collection.h4
1 files changed, 4 insertions, 0 deletions
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);