diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-05-25 17:24:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:16 -0500 |
commit | f88bf54c7f6d1c2ef833047eb8327953c304b5ff (patch) | |
tree | 07da4ab8641b2200eaca5b5ea9adba26b0712277 /source4/include/context.h | |
parent | f2ad98a165cdec6d344a96aeb21a38518a10720a (diff) | |
download | samba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.tar.gz samba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.tar.bz2 samba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.zip |
r889: convert samba4 to use [u]int16_t instead of [u]int16
metze
(This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
Diffstat (limited to 'source4/include/context.h')
-rw-r--r-- | source4/include/context.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/include/context.h b/source4/include/context.h index 47dd67c813..d2b3d0ffb9 100644 --- a/source4/include/context.h +++ b/source4/include/context.h @@ -34,7 +34,7 @@ struct user_context { request. Note that this may not be the same vuid as we received on the wire (for example, for share mode or guest access) */ - uint16 vuid; + uint16_t vuid; /* the domain name, user name etc - mostly used in % substitutions */ struct userdom_struct *user; @@ -64,7 +64,7 @@ struct tcon_context { /* a private structure used by the active NTVFS backend */ void *ntvfs_private; - uint16 cnum; /* an index passed over the wire (the TID) */ + uint16_t cnum; /* an index passed over the wire (the TID) */ int service; enum ntvfs_type type; BOOL read_only; @@ -99,10 +99,10 @@ struct request_context { unsigned control_flags; /* the smb pid is needed for locking contexts */ - uint16 smbpid; + uint16_t smbpid; /* the flags from the SMB request, in raw form (host byte order) */ - uint16 flags, flags2; + uint16_t flags, flags2; /* the system time when the request arrived */ struct timeval request_time; |