diff options
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 8 | ||||
-rw-r--r-- | source4/librpc/rpc/dcerpc_smb.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 0e3ceaf757..f0a9649a44 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -66,7 +66,7 @@ void dcerpc_pipe_close(struct dcerpc_pipe *p) /* we need to be able to get/set the fragment length without doing a full decode */ -void dcerpc_set_frag_length(DATA_BLOB *blob, uint16 v) +void dcerpc_set_frag_length(DATA_BLOB *blob, uint16_t v) { if (CVAL(blob->data,DCERPC_DREP_OFFSET) & DCERPC_DREP_LE) { SSVAL(blob->data, DCERPC_FRAG_LEN_OFFSET, v); @@ -75,7 +75,7 @@ void dcerpc_set_frag_length(DATA_BLOB *blob, uint16 v) } } -uint16 dcerpc_get_frag_length(const DATA_BLOB *blob) +uint16_t dcerpc_get_frag_length(const DATA_BLOB *blob) { if (CVAL(blob->data,DCERPC_DREP_OFFSET) & DCERPC_DREP_LE) { return SVAL(blob->data, DCERPC_FRAG_LEN_OFFSET); @@ -84,7 +84,7 @@ uint16 dcerpc_get_frag_length(const DATA_BLOB *blob) } } -void dcerpc_set_auth_length(DATA_BLOB *blob, uint16 v) +void dcerpc_set_auth_length(DATA_BLOB *blob, uint16_t v) { if (CVAL(blob->data,DCERPC_DREP_OFFSET) & DCERPC_DREP_LE) { SSVAL(blob->data, DCERPC_AUTH_LEN_OFFSET, v); @@ -460,7 +460,7 @@ NTSTATUS dcerpc_bind_byuuid(struct dcerpc_pipe *p, perform a full request/response pair on a dcerpc pipe */ NTSTATUS dcerpc_request(struct dcerpc_pipe *p, - uint16 opnum, + uint16_t opnum, TALLOC_CTX *mem_ctx, DATA_BLOB *stub_data_in, DATA_BLOB *stub_data_out) diff --git a/source4/librpc/rpc/dcerpc_smb.c b/source4/librpc/rpc/dcerpc_smb.c index 070f554800..95e157b700 100644 --- a/source4/librpc/rpc/dcerpc_smb.c +++ b/source4/librpc/rpc/dcerpc_smb.c @@ -25,7 +25,7 @@ /* transport private information used by SMB pipe transport */ struct smb_private { - uint16 fnum; + uint16_t fnum; struct cli_tree *tree; }; @@ -33,7 +33,7 @@ static struct cli_request *dcerpc_raw_send(struct dcerpc_pipe *p, DATA_BLOB *blo { struct smb_private *smb = p->transport.private; struct smb_trans2 trans; - uint16 setup[2]; + uint16_t setup[2]; struct cli_request *req; TALLOC_CTX *mem_ctx; @@ -71,7 +71,7 @@ static NTSTATUS dcerpc_raw_recv(struct dcerpc_pipe *p, struct smb_private *smb = p->transport.private; struct smb_trans2 trans; NTSTATUS status; - uint16 frag_length; + uint16_t frag_length; DATA_BLOB payload; status = smb_raw_trans_recv(req, mem_ctx, &trans); |