diff options
author | Simo Sorce <idra@samba.org> | 2010-07-13 12:03:21 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-07-16 01:51:16 +0200 |
commit | 8246214e7ef5374acc0a1f97f4f1203374fba7f8 (patch) | |
tree | 6630e95586d6e09e1c5e954ed8b47494bff69a85 /source3/rpc_parse/parse_misc.c | |
parent | 8ffac961db75aa3e0727e0c8f3e15cb0916f64d7 (diff) | |
download | samba-8246214e7ef5374acc0a1f97f4f1203374fba7f8.tar.gz samba-8246214e7ef5374acc0a1f97f4f1203374fba7f8.tar.xz samba-8246214e7ef5374acc0a1f97f4f1203374fba7f8.zip |
s3-dcerpc: Remove unused functions and headers
parse_rpc.c is dead, long live parse_rpc.c !
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_parse/parse_misc.c')
-rw-r--r-- | source3/rpc_parse/parse_misc.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c index c000923b9e..21b4e56e54 100644 --- a/source3/rpc_parse/parse_misc.c +++ b/source3/rpc_parse/parse_misc.c @@ -57,31 +57,3 @@ bool smb_io_time(const char *desc, NTTIME *nttime, prs_struct *ps, int depth) return True; } - -/******************************************************************* - Reads or writes a struct GUID -********************************************************************/ - -bool smb_io_uuid(const char *desc, struct GUID *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; -} |