nbt: trim down header dependencies of nbt.idl.
authorGünther Deschner <gd@samba.org>
Thu, 3 Nov 2011 13:40:46 +0000 (14:40 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 3 Nov 2011 17:35:08 +0000 (18:35 +0100)
Guenther

librpc/idl/nbt.idl
source3/libsmb/namequery.c
source4/librpc/idl/winsif.idl
source4/librpc/idl/winsrepl.idl
source4/smb_server/smb/reply.c
source4/torture/nbt/winsreplication.c

index cd81081267f247e492c651763b15ce817d56273b..69a1853dafc94d27cdb873eea358961832c45309 100644 (file)
@@ -10,7 +10,7 @@
 
 import "misc.idl", "security.idl";
 [
-       helper("../libcli/netlogon/netlogon.h", "../libcli/nbt/libnbt.h", "../librpc/ndr/ndr_nbt.h"),
+       helper("../librpc/ndr/ndr_nbt.h"),
        helpstring("NBT messages"),
        uuid("6def41b6-86e4-4c32-997c-ed33af7bcd8e")
 ]
index c70e68b10333e6540a4052a189d8bb30ccd77069..df7fdc3d9f4ca9fe7142c49fc43dc97c9a912ecb 100644 (file)
@@ -25,6 +25,7 @@
 #include "../libcli/netlogon/netlogon.h"
 #include "lib/async_req/async_sock.h"
 #include "libsmb/nmblib.h"
+#include "../libcli/nbt/libnbt.h"
 
 /* nmbd.c sets this to True. */
 bool global_in_nmbd = False;
index a678331b11d362f0bb149e959bd8d3ef85de411e..1ca028a2dee3069ece5d62faf5799c92681c1785 100644 (file)
@@ -6,6 +6,7 @@ import "nbt.idl";
        uuid("45f52c28-7f9f-101a-b52b-08002b2efabe"),
        version(1.0),
        helpstring("WINS Administration Interface1"),
+       helper("../libcli/nbt/libnbt.h"),
        pointer_default(unique)
 ] interface winsif
 {
index 01b8e32bea5b8d94e8a72bd8d834d07076bd3dc8..f60449ec4b26f107aae91095029587763370c2b2 100644 (file)
@@ -13,7 +13,8 @@ import "nbt.idl";
 
 [
        uuid("915f5653-bac1-431c-97ee-9ffb34526921"),
-       helpstring("WINS Replication PDUs")
+       helpstring("WINS Replication PDUs"),
+       helper("../libcli/nbt/libnbt.h")
 ] interface wrepl
 {
        const int WINS_REPLICATION_PORT = 42;
index 74f093f37dc99eaa5cddf83156549dda7fe7b75b..bae6b2ca79e061858c322b76db0da49d2d08663e 100644 (file)
@@ -27,6 +27,7 @@
 #include "smb_server/smb_server.h"
 #include "ntvfs/ntvfs.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "libcli/nbt/libnbt.h"
 
 
 /****************************************************************************
index 56a1c09301c545d754b790e72a861016c7f8133b..fef539c42697045630a3fc9123e1996866b241b1 100644 (file)
@@ -27,6 +27,7 @@
 #include "system/network.h"
 #include "lib/socket/netif.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "libcli/nbt/libnbt.h"
 #include "torture/torture.h"
 #include "torture/nbt/proto.h"
 #include "param/param.h"