diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-03-17 14:19:25 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-03-17 14:19:25 +1100 |
commit | 467cc6927f57e36ce9b97131e72b79ef6e39a668 (patch) | |
tree | 7ba399896c9c4a7bcb81543bce30d06b0ffb1a1d /source3/include/wbc_async.h | |
parent | a1ebb850209289734b12ea966b01d295d8fc436d (diff) | |
parent | 382d8069adcc49e351eef63d86036ae553b119a2 (diff) | |
download | samba-467cc6927f57e36ce9b97131e72b79ef6e39a668.tar.gz samba-467cc6927f57e36ce9b97131e72b79ef6e39a668.tar.bz2 samba-467cc6927f57e36ce9b97131e72b79ef6e39a668.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3/include/wbc_async.h')
-rw-r--r-- | source3/include/wbc_async.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/source3/include/wbc_async.h b/source3/include/wbc_async.h index fd9b669710..eaec0d11da 100644 --- a/source3/include/wbc_async.h +++ b/source3/include/wbc_async.h @@ -22,23 +22,18 @@ #include "nsswitch/libwbclient/wbclient.h" -struct wb_context { - struct async_req_queue *queue; - int fd; - bool is_priv; -}; +struct wb_context; -struct async_req *wb_trans_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, - struct wb_context *wb_ctx, bool need_priv, - struct winbindd_request *wb_req); -wbcErr wb_trans_recv(struct async_req *req, TALLOC_CTX *mem_ctx, +struct tevent_req *wb_trans_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct wb_context *wb_ctx, bool need_priv, + struct winbindd_request *wb_req); +wbcErr wb_trans_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_response **presponse); struct wb_context *wb_context_init(TALLOC_CTX *mem_ctx); /* Definitions from wb_reqtrans.c */ -bool async_req_is_wbcerr(struct async_req *req, wbcErr *pwbc_err); wbcErr map_wbc_err_from_errno(int error); -wbcErr async_req_simple_recv_wbcerr(struct async_req *req); bool tevent_req_is_wbcerr(struct tevent_req *req, wbcErr *pwbc_err); wbcErr tevent_req_simple_recv_wbcerr(struct tevent_req *req); |