summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-16 23:23:24 +0200
committerGünther Deschner <gd@samba.org>2008-04-17 14:55:15 +0200
commit6c6c89cde0808ad2c485064d7bbdbfc57a77d2d4 (patch)
tree2cd36bad7d11ef9f3fc1ffca8aa71b08d0bfcead /source3/include
parente629c8d08f2059d2b66d3bbfe3cd84f672e1c4dd (diff)
downloadsamba-6c6c89cde0808ad2c485064d7bbdbfc57a77d2d4.tar.gz
samba-6c6c89cde0808ad2c485064d7bbdbfc57a77d2d4.tar.bz2
samba-6c6c89cde0808ad2c485064d7bbdbfc57a77d2d4.zip
IDL: build generated nbt code.
Guenther (This used to be commit 554dcfdab03f9d06f319a3234d56cf44dc38c9da)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/nameserv.h2
-rw-r--r--source3/include/smb.h1
-rw-r--r--source3/include/smb_macros.h3
3 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/nameserv.h b/source3/include/nameserv.h
index 46236970a6..4377e3330a 100644
--- a/source3/include/nameserv.h
+++ b/source3/include/nameserv.h
@@ -491,7 +491,9 @@ struct nmb_packet {
#define DGRAM_UNIQUE 0x10
#define DGRAM_GROUP 0x11
#define DGRAM_BROADCAST 0x12
+/* defined in IDL
#define DGRAM_ERROR 0x13
+*/
#define DGRAM_QUERY_REQUEST 0x14
#define DGRAM_POSITIVE_QUERY_RESPONSE 0x15
#define DGRAM_NEGATIVE_QUERT_RESPONSE 0x16
diff --git a/source3/include/smb.h b/source3/include/smb.h
index d52d8493d0..598708bfe3 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -310,6 +310,7 @@ extern const DATA_BLOB data_blob_null;
#include "librpc/gen_ndr/libnet_join.h"
#include "librpc/gen_ndr/krb5pac.h"
#include "librpc/gen_ndr/ntsvcs.h"
+#include "librpc/gen_ndr/nbt.h"
struct lsa_dom_info {
bool valid;
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index c98c4244de..0e21431226 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -169,8 +169,11 @@
#define reply_botherror(req,status,eclass,ecode) reply_both_error(req,eclass,ecode,status,__LINE__,__FILE__)
#define reply_unixerror(req,defclass,deferror) reply_unix_error(req,defclass,deferror,NT_STATUS_OK,__LINE__,__FILE__)
+#if 0
+/* defined in IDL */
/* these are the datagram types */
#define DGRAM_DIRECT_UNIQUE 0x10
+#endif
#define SMB_ROUNDUP(x,r) ( ((x)%(r)) ? ( (((x)+(r))/(r))*(r) ) : (x))