summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-16 20:23:37 +0100
committerVolker Lendecke <vl@samba.org>2009-03-16 20:45:55 +0100
commita58eccfee742bcecbd4a2e5662305c5077024244 (patch)
tree6d9fa4d2c1526b31e31dbaf8df1136a6730d72f9
parent54b9ad4f1fd07506445386142904bfc266b54075 (diff)
downloadsamba-a58eccfee742bcecbd4a2e5662305c5077024244.tar.gz
samba-a58eccfee742bcecbd4a2e5662305c5077024244.tar.bz2
samba-a58eccfee742bcecbd4a2e5662305c5077024244.zip
Make struct wb_context private to wbclient.c
-rw-r--r--source3/include/wbc_async.h6
-rw-r--r--source3/lib/wbclient.c6
2 files changed, 7 insertions, 5 deletions
diff --git a/source3/include/wbc_async.h b/source3/include/wbc_async.h
index fd9b669710..987c32320c 100644
--- a/source3/include/wbc_async.h
+++ b/source3/include/wbc_async.h
@@ -22,11 +22,7 @@
#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,
diff --git a/source3/lib/wbclient.c b/source3/lib/wbclient.c
index c2042c23e0..b1a4449734 100644
--- a/source3/lib/wbclient.c
+++ b/source3/lib/wbclient.c
@@ -20,6 +20,12 @@
#include "includes.h"
#include "wbc_async.h"
+struct wb_context {
+ struct async_req_queue *queue;
+ int fd;
+ bool is_priv;
+};
+
static int make_nonstd_fd(int fd)
{
int i;