diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-06-01 10:12:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:23 -0500 |
commit | 770e3307ce3da928762e15a136c562df86a9c799 (patch) | |
tree | 95930ce042b039faad683515a13e1d8413871b5d /source4/include/cli_context.h | |
parent | 98d291423ff581786a369ce373c861f94c654aa0 (diff) | |
download | samba-770e3307ce3da928762e15a136c562df86a9c799.tar.gz samba-770e3307ce3da928762e15a136c562df86a9c799.tar.xz samba-770e3307ce3da928762e15a136c562df86a9c799.zip |
r962: convert 'unsigned' and 'unsigned int' to uint_t
metze
(This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
Diffstat (limited to 'source4/include/cli_context.h')
-rw-r--r-- | source4/include/cli_context.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/include/cli_context.h b/source4/include/cli_context.h index b0e178e1d0a..24dcfe72355 100644 --- a/source4/include/cli_context.h +++ b/source4/include/cli_context.h @@ -43,7 +43,7 @@ struct cli_negotiate { /* * negotiated maximum transmit size - this is given to us by the server */ - unsigned max_xmit; + uint_t max_xmit; /* maximum number of requests that can be multiplexed */ uint16_t max_mux; @@ -85,7 +85,7 @@ struct cli_socket { /* a count of the number of packets we have received. We * actually only care about zero/non-zero at this stage */ - unsigned pkt_count; + uint_t pkt_count; /* the network address of the client */ char *client_addr; @@ -147,7 +147,7 @@ struct cli_transport { } dos; NTSTATUS nt_status; enum socket_error socket_error; - unsigned nbt_error; + uint_t nbt_error; } e; } error; @@ -232,7 +232,7 @@ struct cli_request { NTSTATUS status; /* the sequence number of this packet - used for signing */ - unsigned seq_num; + uint_t seq_num; /* set if this is a one-way request, meaning we are not expecting a reply from the server. */ @@ -246,12 +246,12 @@ struct cli_request { char *buffer; /* the size of the raw buffer, including 4 byte header */ - unsigned size; + uint_t size; /* how much has been allocated - on reply the buffer is over-allocated to prevent too many realloc() calls */ - unsigned allocated; + uint_t allocated; /* the start of the SMB header - this is always buffer+4 */ char *hdr; @@ -259,11 +259,11 @@ struct cli_request { /* the command words and command word count. vwv points into the raw buffer */ char *vwv; - unsigned wct; + uint_t wct; /* the data buffer and size. data points into the raw buffer */ char *data; - unsigned data_size; + uint_t data_size; /* ptr is used as a moving pointer into the data area * of the packet. The reason its here and not a local |