diff options
author | Günther Deschner <gd@samba.org> | 2008-04-16 23:23:24 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-04-22 08:51:55 +0200 |
commit | 5e05720ac64c8ce16626153379e400247279e49a (patch) | |
tree | eb327ad2aa768520c48df525c40d41e0e4cf30f1 /source/include | |
parent | 836a7687a56db5bdb9ae96c9dbb5ed0f4c6fc102 (diff) | |
download | samba-5e05720ac64c8ce16626153379e400247279e49a.tar.gz samba-5e05720ac64c8ce16626153379e400247279e49a.tar.xz samba-5e05720ac64c8ce16626153379e400247279e49a.zip |
IDL: build generated nbt code.
Guenther
(cherry picked from commit 554dcfdab03f9d06f319a3234d56cf44dc38c9da)
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/nameserv.h | 2 | ||||
-rw-r--r-- | source/include/smb.h | 1 | ||||
-rw-r--r-- | source/include/smb_macros.h | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/source/include/nameserv.h b/source/include/nameserv.h index 46236970a6e..4377e3330a1 100644 --- a/source/include/nameserv.h +++ b/source/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/source/include/smb.h b/source/include/smb.h index 70e980a12ce..4a086e18006 100644 --- a/source/include/smb.h +++ b/source/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/source/include/smb_macros.h b/source/include/smb_macros.h index c98c4244def..0e21431226d 100644 --- a/source/include/smb_macros.h +++ b/source/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)) |