summaryrefslogtreecommitdiff
path: root/source3/lib/wb_reqtrans.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-08 10:29:15 +0100
committerVolker Lendecke <vl@samba.org>2009-03-08 11:21:00 +0100
commitc7df04633969f3d50214fcc5916ed695208b9bf2 (patch)
tree92356b4474b287a69468f888765872ba084b5139 /source3/lib/wb_reqtrans.c
parent1611e63ae5abd323502d062d9474acd6648ae959 (diff)
downloadsamba-c7df04633969f3d50214fcc5916ed695208b9bf2.tar.gz
samba-c7df04633969f3d50214fcc5916ed695208b9bf2.tar.bz2
samba-c7df04633969f3d50214fcc5916ed695208b9bf2.zip
Move "struct req_read_state" where it belongs
Diffstat (limited to 'source3/lib/wb_reqtrans.c')
-rw-r--r--source3/lib/wb_reqtrans.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/lib/wb_reqtrans.c b/source3/lib/wb_reqtrans.c
index f1856be6dd..6ae1d1bb9b 100644
--- a/source3/lib/wb_reqtrans.c
+++ b/source3/lib/wb_reqtrans.c
@@ -25,11 +25,6 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
-struct req_read_state {
- struct winbindd_request *wb_req;
- size_t max_extra_data;
-};
-
bool async_req_is_wbcerr(struct async_req *req, wbcErr *pwbc_err)
{
enum async_req_state state;
@@ -118,6 +113,11 @@ wbcErr tevent_req_simple_recv_wbcerr(struct tevent_req *req)
return WBC_ERR_SUCCESS;
}
+struct req_read_state {
+ struct winbindd_request *wb_req;
+ size_t max_extra_data;
+};
+
static ssize_t wb_req_more(uint8_t *buf, size_t buflen, void *private_data);
static void wb_req_read_done(struct tevent_req *subreq);