Make struct wb_context private to wbclient.c
authorVolker Lendecke <vl@samba.org>
Mon, 16 Mar 2009 19:23:37 +0000 (20:23 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 16 Mar 2009 19:45:55 +0000 (20:45 +0100)
source3/include/wbc_async.h
source3/lib/wbclient.c

index fd9b669710c6ef534da367abc5095f591b19d57e..987c32320cd1305016c2f45d17682a6ca20c0ce0 100644 (file)
 
 #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,
index c2042c23e03380175e3fb7fcf1ce5f8df11e0857..b1a444973430f6c5ea54b0ef7bdbaa91c5bd7b0a 100644 (file)
 #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;