diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-28 17:54:10 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-28 17:54:10 +0000 |
commit | d8e79427c98fdd5eb5a8d57fc6d9b10464fd9882 (patch) | |
tree | 465a843a571b599debadfaec7f97293b30320496 /source3/pipeutil.c | |
parent | 79f670128fc5f377182d81c0f353138ab3923a45 (diff) | |
download | samba-d8e79427c98fdd5eb5a8d57fc6d9b10464fd9882.tar.gz samba-d8e79427c98fdd5eb5a8d57fc6d9b10464fd9882.tar.bz2 samba-d8e79427c98fdd5eb5a8d57fc6d9b10464fd9882.zip |
smb.h smbparse.c pipeutil.c :
added bind and bind ack structures and parsing functions. restructured
rpc header stuff.
ntclient.c pipenetlog.c pipentlsa.c pipesrvsvc.c :
having to deal with restructuring above.
(This used to be commit 9f2c4f1fee7e411adba8f529b7666a7325584457)
Diffstat (limited to 'source3/pipeutil.c')
-rw-r--r-- | source3/pipeutil.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/pipeutil.c b/source3/pipeutil.c index 93a78df493..c242dc0fde 100644 --- a/source3/pipeutil.c +++ b/source3/pipeutil.c @@ -219,17 +219,17 @@ int make_dom_gids(char *gids_str, DOM_GID *gids) int create_rpc_request(uint32 call_id, uint8 op_num, char *q, int data_len) { - RPC_HDR hdr; + RPC_HDR_RR hdr; - make_rpc_header(&hdr, RPC_REQUEST, call_id, data_len, op_num); - return smb_io_rpc_hdr(False, &hdr, q, q, 4, 0) - q; + make_rpc_hdr_rr(&hdr, RPC_REQUEST, call_id, data_len, op_num); + return smb_io_rpc_hdr_rr(False, &hdr, q, q, 4, 0) - q; } int create_rpc_reply(uint32 call_id, char *q, int data_len) { - RPC_HDR hdr; + RPC_HDR_RR hdr; - make_rpc_header(&hdr, RPC_RESPONSE, call_id, data_len, 0); - return smb_io_rpc_hdr(False, &hdr, q, q, 4, 0) - q; + make_rpc_hdr_rr(&hdr, RPC_RESPONSE, call_id, data_len, 0); + return smb_io_rpc_hdr_rr(False, &hdr, q, q, 4, 0) - q; } |