summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorRichard Sharpe <rsharpe@samba.org>2015-04-14 07:02:37 -0700
committerJeremy Allison <jra@samba.org>2015-04-16 23:44:00 +0200
commit13a2011a05ce577e039b00147002c9e7a98355b6 (patch)
tree8e05e50b030f7033c1c2f5b831cc164fad8aa0a8 /source3/include/smb.h
parent883aa314b88233bb97a33c9607865cfc612b3091 (diff)
downloadsamba-13a2011a05ce577e039b00147002c9e7a98355b6.tar.gz
Change all uses of uint16/uint32/uint64 to uintXX_t in smb.h.
Signed-off-by: Richard Sharpe <rsharpe@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Apr 16 23:44:00 CEST 2015 on sn-devel-104
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 9c5e1ac85f1..7026cb4defa 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -191,20 +191,20 @@ struct interface {
Offset Data length.
0 struct server_id pid 4
-4 uint16 op_mid 8
-12 uint16 op_type 2
-14 uint32 access_mask 4
-18 uint32 share_access 4
-22 uint32 private_options 4
-26 uint32 time sec 4
-30 uint32 time usec 4
-34 uint64 dev 8 bytes
-42 uint64 inode 8 bytes
-50 uint64 extid 8 bytes
+4 uint16_t op_mid 8
+12 uint16_t op_type 2
+14 uint32_t access_mask 4
+18 uint32_t share_access 4
+22 uint32_t private_options 4
+26 uint32_t time sec 4
+30 uint32_t time usec 4
+34 uint64_t dev 8 bytes
+42 uint64_t inode 8 bytes
+50 uint64_t extid 8 bytes
58 unsigned long file_id 4 bytes
-62 uint32 uid 4 bytes
-66 uint16 flags 2 bytes
-68 uint32 name_hash 4 bytes
+62 uint32_t uid 4 bytes
+66 uint16_t flags 2 bytes
+68 uint32_t name_hash 4 bytes
72
*/
@@ -801,9 +801,9 @@ enum file_close_type {NORMAL_CLOSE=0,SHUTDOWN_CLOSE,ERROR_CLOSE};
#define SAMBA_EXTENDED_INFO_MAGIC 0x536d4261 /* "SmBa" */
#define SAMBA_EXTENDED_INFO_VERSION_STRING_LENGTH 28
struct smb_extended_info {
- uint32 samba_magic; /* Always SAMBA_EXTRA_INFO_MAGIC */
- uint32 samba_version; /* Major/Minor/Release/Revision */
- uint32 samba_subversion; /* Prerelease/RC/Vendor patch */
+ uint32_t samba_magic; /* Always SAMBA_EXTRA_INFO_MAGIC */
+ uint32_t samba_version; /* Major/Minor/Release/Revision */
+ uint32_t samba_subversion; /* Prerelease/RC/Vendor patch */
NTTIME samba_gitcommitdate;
char samba_version_string[SAMBA_EXTENDED_INFO_VERSION_STRING_LENGTH];
};