summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-11-03 14:40:46 +0100
committerGünther Deschner <gd@samba.org>2011-11-03 18:35:08 +0100
commit185b94eefa009e852f93d9a00e4e8c15c64a0869 (patch)
treee684f99c579c00a35e0f5eb3ace6a58bbed28d5b /source4
parent2d390991bd4726a26fac7ee5d33435bdb88e8295 (diff)
downloadsamba-185b94eefa009e852f93d9a00e4e8c15c64a0869.tar.gz
samba-185b94eefa009e852f93d9a00e4e8c15c64a0869.tar.bz2
samba-185b94eefa009e852f93d9a00e4e8c15c64a0869.zip
nbt: trim down header dependencies of nbt.idl.
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/winsif.idl1
-rw-r--r--source4/librpc/idl/winsrepl.idl3
-rw-r--r--source4/smb_server/smb/reply.c1
-rw-r--r--source4/torture/nbt/winsreplication.c1
4 files changed, 5 insertions, 1 deletions
diff --git a/source4/librpc/idl/winsif.idl b/source4/librpc/idl/winsif.idl
index a678331b11..1ca028a2de 100644
--- a/source4/librpc/idl/winsif.idl
+++ b/source4/librpc/idl/winsif.idl
@@ -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
{
diff --git a/source4/librpc/idl/winsrepl.idl b/source4/librpc/idl/winsrepl.idl
index 01b8e32bea..f60449ec4b 100644
--- a/source4/librpc/idl/winsrepl.idl
+++ b/source4/librpc/idl/winsrepl.idl
@@ -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;
diff --git a/source4/smb_server/smb/reply.c b/source4/smb_server/smb/reply.c
index 74f093f37d..bae6b2ca79 100644
--- a/source4/smb_server/smb/reply.c
+++ b/source4/smb_server/smb/reply.c
@@ -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"
/****************************************************************************
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c
index 56a1c09301..fef539c426 100644
--- a/source4/torture/nbt/winsreplication.c
+++ b/source4/torture/nbt/winsreplication.c
@@ -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"