diff options
author | Sumit Bose <sbose@redhat.com> | 2009-11-30 10:48:02 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-12-07 10:18:52 -0500 |
commit | 457d7dc822de590ab024cef8df66135445a4b377 (patch) | |
tree | c4e55b622b35c96e317b956ceafb449e2220a308 /server/db/sysdb.h | |
parent | 2d717db3fc9f1249e96c15e4afd77b3b4499d175 (diff) | |
download | sssd-457d7dc822de590ab024cef8df66135445a4b377.tar.gz sssd-457d7dc822de590ab024cef8df66135445a4b377.tar.xz sssd-457d7dc822de590ab024cef8df66135445a4b377.zip |
Add sysdb_search_custom request
Diffstat (limited to 'server/db/sysdb.h')
-rw-r--r-- | server/db/sysdb.h | 11 |
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, |