diff options
author | Volker Lendecke <vl@samba.org> | 2009-01-03 10:34:59 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-01-03 19:07:57 +0100 |
commit | 27abf6731ed472580157a0447e858e11f6f63f3b (patch) | |
tree | 2e5bbfb63813075ca2980b7d51fcd069031eaadb /source3/include/async_req.h | |
parent | 141b76d747a0741cf9175529ec638f4625fcb099 (diff) | |
download | samba-27abf6731ed472580157a0447e858e11f6f63f3b.tar.gz samba-27abf6731ed472580157a0447e858e11f6f63f3b.tar.bz2 samba-27abf6731ed472580157a0447e858e11f6f63f3b.zip |
struct async_req doesn't really need to carry an event_context
Diffstat (limited to 'source3/include/async_req.h')
-rw-r--r-- | source3/include/async_req.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/source3/include/async_req.h b/source3/include/async_req.h index 14a30696c4..2633027e37 100644 --- a/source3/include/async_req.h +++ b/source3/include/async_req.h @@ -97,13 +97,6 @@ struct async_req { NTSTATUS status; /** - * @brief The event context we are using - * - * The event context that this async request works on. - */ - struct event_context *event_ctx; - - /** * @brief What to do on completion * * This is used for the user of an async request, fn is called when @@ -122,7 +115,7 @@ struct async_req { } async; }; -struct async_req *async_req_new(TALLOC_CTX *mem_ctx, struct event_context *ev); +struct async_req *async_req_new(TALLOC_CTX *mem_ctx); char *async_req_print(TALLOC_CTX *mem_ctx, struct async_req *req); @@ -130,7 +123,8 @@ void async_req_done(struct async_req *req); void async_req_error(struct async_req *req, NTSTATUS status); -bool async_post_status(struct async_req *req, NTSTATUS status); +bool async_post_status(struct async_req *req, struct event_context *ev, + NTSTATUS status); bool async_req_nomem(const void *p, struct async_req *req); |