summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-10-29 12:57:57 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-11-02 16:31:55 -0500
commitc2a29bea5248554a9112d051a7b5be492aa729b6 (patch)
tree30b20d2f9c831c57049a391332ec0370044ca1ae /server/db/sysdb.h
parent40291f16b36de0af70c62847ec04a9615811c92e (diff)
downloadsssd-c2a29bea5248554a9112d051a7b5be492aa729b6.tar.gz
sssd-c2a29bea5248554a9112d051a7b5be492aa729b6.tar.xz
sssd-c2a29bea5248554a9112d051a7b5be492aa729b6.zip
add sysdb_delete_recursive request to sysdb API
Diffstat (limited to 'server/db/sysdb.h')
-rw-r--r--server/db/sysdb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h
index 00a3378c4..72f56dba6 100644
--- a/server/db/sysdb.h
+++ b/server/db/sysdb.h
@@ -190,6 +190,8 @@ struct ldb_dn *sysdb_custom_dn(struct sysdb_ctx *ctx, void *memctx,
struct ldb_context *sysdb_ctx_get_ldb(struct sysdb_ctx *ctx);
struct ldb_context *sysdb_handle_get_ldb(struct sysdb_handle *handle);
+int compare_ldb_dn_comp_num(const void *m1, const void *m2);
+
/* function to start and finish a transaction
* sysdb_transaction_send() will queue a request for a transaction
* when it is done it will call the tevent_req callback, which must
@@ -311,6 +313,14 @@ struct tevent_req *sysdb_delete_entry_send(TALLOC_CTX *mem_ctx,
bool ignore_not_found);
int sysdb_delete_entry_recv(struct tevent_req *req);
+
+struct tevent_req *sysdb_delete_recursive_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct sysdb_handle *handle,
+ struct ldb_dn *dn,
+ bool ignore_not_found);
+int sysdb_delete_recursive_recv(struct tevent_req *req);
+
/* Search Entry */
struct tevent_req *sysdb_search_entry_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,