diff options
author | Günther Deschner <gd@samba.org> | 2008-02-18 01:10:37 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-18 01:37:40 +0100 |
commit | 7b5d9af374b432e52765dd23bb0b8e6a9696cf86 (patch) | |
tree | 6d3bce89958181482e1a56f4b41d523e6f4b56b5 /source3/rpc_parse/parse_ntsvcs.c | |
parent | 1ce176c2b905b30c14ecde53e0898c343fe96cf9 (diff) | |
download | samba-7b5d9af374b432e52765dd23bb0b8e6a9696cf86.tar.gz samba-7b5d9af374b432e52765dd23bb0b8e6a9696cf86.tar.bz2 samba-7b5d9af374b432e52765dd23bb0b8e6a9696cf86.zip |
Remove unused marshalling for NTSVCS_HW_PROFILE_FLAGS.
Guenther
(This used to be commit ddb3838be1ab5080add4db060432dfd007b1fd73)
Diffstat (limited to 'source3/rpc_parse/parse_ntsvcs.c')
-rw-r--r-- | source3/rpc_parse/parse_ntsvcs.c | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/source3/rpc_parse/parse_ntsvcs.c b/source3/rpc_parse/parse_ntsvcs.c index faa7f8ddd3..012b8fa0ef 100644 --- a/source3/rpc_parse/parse_ntsvcs.c +++ b/source3/rpc_parse/parse_ntsvcs.c @@ -218,76 +218,3 @@ bool ntsvcs_io_r_get_hw_profile_info(const char *desc, NTSVCS_R_GET_HW_PROFILE_I return True; } - -/******************************************************************* -********************************************************************/ - -bool ntsvcs_io_q_hw_profile_flags(const char *desc, NTSVCS_Q_HW_PROFILE_FLAGS *q_u, prs_struct *ps, int depth) -{ - if (q_u == NULL) - return False; - - prs_debug(ps, depth, desc, "ntsvcs_io_q_hw_profile_flags"); - depth++; - - if(!prs_align(ps)) - return False; - - if ( !prs_uint32("unknown1", ps, depth, &q_u->unknown1) ) - return False; - - - if ( !prs_io_unistr2("devicepath", ps, depth, &q_u->devicepath) ) - return False; - if( !prs_align(ps) ) - return False; - - if ( !prs_uint32("unknown2", ps, depth, &q_u->unknown2) ) - return False; - if ( !prs_uint32("unknown3", ps, depth, &q_u->unknown3) ) - return False; - if ( !prs_uint32("unknown4", ps, depth, &q_u->unknown4) ) - return False; - if ( !prs_uint32("unknown5", ps, depth, &q_u->unknown5) ) - return False; - if ( !prs_uint32("unknown6", ps, depth, &q_u->unknown6) ) - return False; - if ( !prs_uint32("unknown7", ps, depth, &q_u->unknown7) ) - return False; - - if ( !prs_uint32("unknown1", ps, depth, &q_u->unknown1) ) - return False; - - return True; - -} - -/******************************************************************* -********************************************************************/ - -bool ntsvcs_io_r_hw_profile_flags(const char *desc, NTSVCS_R_HW_PROFILE_FLAGS *r_u, prs_struct *ps, int depth) -{ - if ( !r_u ) - return False; - - prs_debug(ps, depth, desc, "ntsvcs_io_r_hw_profile_flags"); - depth++; - - if ( !prs_align(ps) ) - return False; - - if ( !prs_uint32("unknown1", ps, depth, &r_u->unknown1) ) - return False; - if ( !prs_uint32("unknown2", ps, depth, &r_u->unknown2) ) - return False; - if ( !prs_uint32("unknown3", ps, depth, &r_u->unknown3) ) - return False; - if(!prs_werror("status", ps, depth, &r_u->status)) - return False; - - return True; -} - - - - |