libwbclient: Add async call framework.
[samba.git] / nsswitch / libwbclient / wb_reqtrans.c
similarity index 96%
rename from source3/lib/wb_reqtrans.c
rename to nsswitch/libwbclient/wb_reqtrans.c
index 7088925927451ad60fae2b4f34ec22064d6b7425..84ed7198f2f21f98f7c1734b7f37e268bf5fc3e1 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
-#include "wbc_async.h"
-
+#include "replace.h"
+#include "system/filesys.h"
+#include "system/network.h"
+#include <talloc.h>
+#include <tevent.h>
+struct fd_event;
+struct event_context;
+#include "lib/async_req/async_sock.h"
+#include "lib/util/tevent_unix.h"
+#include "nsswitch/winbind_struct_protocol.h"
+#include "nsswitch/libwbclient/wbclient.h"
+#include "nsswitch/libwbclient/wbc_async.h"
+
+#ifdef DBGC_CLASS
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_WINBIND
+#endif
 
 struct req_read_state {
        struct winbindd_request *wb_req;