summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-28 19:54:46 +0100
committerVolker Lendecke <vl@samba.org>2008-12-08 22:09:33 +0100
commit2bd8a6e21ed9e52373bc04b12e2d4b80881edb8b (patch)
tree99dec8a7eef3f88c3d5f461e6d93f3c504f51299 /source3/winbindd/winbindd_proto.h
parent7fbb64d726f23da49cd2f07e1a678ed575b70bfa (diff)
downloadsamba-2bd8a6e21ed9e52373bc04b12e2d4b80881edb8b.tar.gz
samba-2bd8a6e21ed9e52373bc04b12e2d4b80881edb8b.tar.bz2
samba-2bd8a6e21ed9e52373bc04b12e2d4b80881edb8b.zip
Add infrastructure to transfer winbindd_request/response asynchronously
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r--source3/winbindd/winbindd_proto.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 9de385e3b3..3869ac5771 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -67,6 +67,27 @@ void winbind_check_sighup(const char *lfile);
void winbind_check_sigterm(bool in_parent);
int main(int argc, char **argv, char **envp);
+/* The following definitions come from winbindd/winbindd_reqtrans.c */
+
+struct async_req *wb_req_read_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ int fd, size_t max_extra_data);
+NTSTATUS wb_req_read_recv(struct async_req *req, TALLOC_CTX *mem_ctx,
+ struct winbindd_request **preq);
+struct async_req *wb_req_write_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev, int fd,
+ struct winbindd_request *wb_req);
+NTSTATUS wb_req_write_recv(struct async_req *req);
+
+struct async_req *wb_resp_read_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev, int fd);
+NTSTATUS wb_resp_read_recv(struct async_req *req, TALLOC_CTX *mem_ctx,
+ struct winbindd_response **presp);
+struct async_req *wb_resp_write_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev, int fd,
+ struct winbindd_response *wb_resp);
+NTSTATUS wb_resp_write_recv(struct async_req *req);
+
/* The following definitions come from winbindd/winbindd_ads.c */