diff options
author | Jim McDonough <jmcd@samba.org> | 2003-10-30 17:37:21 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2003-10-30 17:37:21 +0000 |
commit | 4f22327e21cc442f954a87835c377e11568d4cf4 (patch) | |
tree | 3b6b2ddd2e5730e6d02665970e7c60d1fad7eb17 /source3/rpc_parse/parse_rpc.c | |
parent | bb971b44b84a72d628205fba0c27207f5fd00bf2 (diff) | |
download | samba-4f22327e21cc442f954a87835c377e11568d4cf4.tar.gz samba-4f22327e21cc442f954a87835c377e11568d4cf4.tar.bz2 samba-4f22327e21cc442f954a87835c377e11568d4cf4.zip |
Ok, nearing the end of the GUID->struct uuid changes.
Takes care of secdescs.
Had to move the uuid marshall/unmarshalling code to parse_misc, because
it's needed outside of parse_rpc.c (for no-auth calls)
(This used to be commit 5d2bb079b65ccfec14604d8dcf0ce789d1795b46)
Diffstat (limited to 'source3/rpc_parse/parse_rpc.c')
-rw-r--r-- | source3/rpc_parse/parse_rpc.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c index 1718841cf7..696f258e5d 100644 --- a/source3/rpc_parse/parse_rpc.c +++ b/source3/rpc_parse/parse_rpc.c @@ -278,34 +278,6 @@ BOOL smb_io_rpc_hdr(const char *desc, RPC_HDR *rpc, prs_struct *ps, int depth) } /******************************************************************* - Reads or writes a struct uuid -********************************************************************/ - -BOOL smb_io_uuid(const char *desc, struct uuid *uuid, - prs_struct *ps, int depth) -{ - if (uuid == NULL) - return False; - - prs_debug(ps, depth, desc, "smb_io_uuid"); - depth++; - - if(!prs_uint32 ("data ", ps, depth, &uuid->time_low)) - return False; - if(!prs_uint16 ("data ", ps, depth, &uuid->time_mid)) - return False; - if(!prs_uint16 ("data ", ps, depth, &uuid->time_hi_and_version)) - return False; - - if(!prs_uint8s (False, "data ", ps, depth, uuid->clock_seq, sizeof(uuid->clock_seq))) - return False; - if(!prs_uint8s (False, "data ", ps, depth, uuid->node, sizeof(uuid->node))) - return False; - - return True; -} - -/******************************************************************* Reads or writes an RPC_IFACE structure. ********************************************************************/ |