diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-03-21 00:52:34 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-04-12 09:22:16 -0400 |
commit | e5e32021c23f3726d68ee756e8e3de48b3214063 (patch) | |
tree | c2a04ab91bd3d21637ce4c3629d4685e27b64274 /src/db/sysdb_private.h | |
parent | aacf8781c61e928c74fcc89f02225374b283b872 (diff) | |
download | sssd-e5e32021c23f3726d68ee756e8e3de48b3214063.tar.gz sssd-e5e32021c23f3726d68ee756e8e3de48b3214063.tar.xz sssd-e5e32021c23f3726d68ee756e8e3de48b3214063.zip |
sysdb: remove remaining traces of sysdb_handle
Diffstat (limited to 'src/db/sysdb_private.h')
-rw-r--r-- | src/db/sysdb_private.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/db/sysdb_private.h b/src/db/sysdb_private.h index 270cf360e..e5494bd62 100644 --- a/src/db/sysdb_private.h +++ b/src/db/sysdb_private.h @@ -61,16 +61,6 @@ #include "db/sysdb.h" -struct sysdb_handle { - struct sysdb_handle *prev; - struct sysdb_handle *next; - - struct sysdb_ctx *ctx; - struct tevent_req *subreq; - - bool transaction_active; -}; - struct sysdb_ctx { struct tevent_context *ev; @@ -79,8 +69,6 @@ struct sysdb_ctx { struct ldb_context *ldb; char *ldb_file; - - struct sysdb_handle *queue; }; struct sysdb_ctx_list { @@ -90,18 +78,4 @@ struct sysdb_ctx_list { char *db_path; }; -/* An operation blocks the transaction queue as well, but does not - * start a transaction, normally useful only for search type calls. - * do *NOT* call within a transaction you'll deadlock sysdb. - * Also make sure to free the handle as soon as the operation is - * finished to avoid stalling or potentially deadlocking sysdb */ - -struct tevent_req *sysdb_operation_send(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, - struct sysdb_ctx *ctx); -int sysdb_operation_recv(struct tevent_req *req, TALLOC_CTX *memctx, - struct sysdb_handle **handle); - -void sysdb_operation_done(struct sysdb_handle *handle); - #endif /* __INT_SYS_DB_H__ */ |