summaryrefslogtreecommitdiff
path: root/source4/include/cli_context.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-25 17:24:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:16 -0500
commitf88bf54c7f6d1c2ef833047eb8327953c304b5ff (patch)
tree07da4ab8641b2200eaca5b5ea9adba26b0712277 /source4/include/cli_context.h
parentf2ad98a165cdec6d344a96aeb21a38518a10720a (diff)
downloadsamba-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/cli_context.h')
-rw-r--r--source4/include/cli_context.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/include/cli_context.h b/source4/include/cli_context.h
index 89f7826789..b94d83ffa1 100644
--- a/source4/include/cli_context.h
+++ b/source4/include/cli_context.h
@@ -46,7 +46,7 @@ struct cli_negotiate {
unsigned max_xmit;
/* maximum number of requests that can be multiplexed */
- uint16 max_mux;
+ uint16_t max_mux;
/* the negotiatiated protocol */
enum protocol_types protocol;
@@ -116,7 +116,7 @@ struct cli_transport {
/* the next mid to be allocated - needed for signing and
request matching */
- uint16 next_mid;
+ uint16_t next_mid;
/* negotiated protocol information */
struct cli_negotiate negotiate;
@@ -143,7 +143,7 @@ struct cli_transport {
union {
struct {
uint8 eclass;
- uint16 ecode;
+ uint16_t ecode;
} dos;
NTSTATUS nt_status;
enum socket_error socket_error;
@@ -154,7 +154,7 @@ struct cli_transport {
struct {
/* a oplock break request handler */
BOOL (*handler)(struct cli_transport *transport,
- uint16 tid, uint16 fnum, uint8 level, void *private);
+ uint16_t tid, uint16_t fnum, uint8 level, void *private);
/* private data passed to the oplock handler */
void *private;
} oplock;
@@ -181,7 +181,7 @@ struct cli_session {
/* after a session setup the server provides us with
a vuid identifying the security context */
- uint16 vuid;
+ uint16_t vuid;
/* default pid for this session */
uint32_t pid;
@@ -202,7 +202,7 @@ struct cli_tree {
/* session layer info */
struct cli_session *session;
- uint16 tid; /* tree id, aka cnum */
+ uint16_t tid; /* tree id, aka cnum */
char *device;
char *fs_type;
};
@@ -225,7 +225,7 @@ struct cli_request {
/* the flags2 from the SMB request, in raw form (host byte
order). Used to parse strings */
- uint16 flags2;
+ uint16_t flags2;
/* the NT status for this request. Set by packet receive code
or code detecting error. */
@@ -239,7 +239,7 @@ struct cli_request {
unsigned int one_way_request:1;
/* the mid of this packet - used to match replies */
- uint16 mid;
+ uint16_t mid;
struct {
/* the raw SMB buffer, including the 4 byte length header */