summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-11-30 10:48:02 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-12-07 10:19:03 -0500
commit6e2a1ba6379e47c2c2ee515ce5d2316c797778e3 (patch)
tree45615e48afc1b05d441b845584b1d7a9a94c8eaf /server/db/sysdb.h
parent3f60a0e41e9ab8083c3e6e8d1737269a091fe808 (diff)
downloadsssd-6e2a1ba6379e47c2c2ee515ce5d2316c797778e3.tar.gz
sssd-6e2a1ba6379e47c2c2ee515ce5d2316c797778e3.tar.xz
sssd-6e2a1ba6379e47c2c2ee515ce5d2316c797778e3.zip
Add sysdb_search_custom request
Diffstat (limited to 'server/db/sysdb.h')
-rw-r--r--server/db/sysdb.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h
index bc2bf66a5..9348c57fb 100644
--- a/server/db/sysdb.h
+++ b/server/db/sysdb.h
@@ -538,6 +538,14 @@ struct tevent_req *sysdb_store_custom_send(TALLOC_CTX *mem_ctx,
struct sysdb_attrs *attrs);
int sysdb_store_custom_recv(struct tevent_req *req);
+struct tevent_req *sysdb_search_custom_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct sysdb_ctx *sysdb,
+ struct sysdb_handle *handle,
+ struct sss_domain_info *domain,
+ const char *filter,
+ const char *subtree_name,
+ const char **attrs);
struct tevent_req *sysdb_search_custom_by_name_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct sysdb_ctx *sysdb,
@@ -548,7 +556,8 @@ struct tevent_req *sysdb_search_custom_by_name_send(TALLOC_CTX *mem_ctx,
const char **attrs);
int sysdb_search_custom_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
- struct ldb_message **msg);
+ size_t *msgs_count,
+ struct ldb_message ***msg);
struct tevent_req *sysdb_delete_custom_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,