Remove unused marshalling for NTSVCS_HW_PROFILE_FLAGS.
authorGünther Deschner <gd@samba.org>
Mon, 18 Feb 2008 00:10:37 +0000 (01:10 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 18 Feb 2008 00:37:40 +0000 (01:37 +0100)
Guenther

source/include/rpc_ntsvcs.h
source/rpc_parse/parse_ntsvcs.c

index 55f36628aa64065639f7212180b70faa7b0e9545..b678662c6c9465830e0822e5f47a77227d84ea92 100644 (file)
@@ -85,25 +85,4 @@ typedef struct {
        WERROR status;
 } NTSVCS_R_GET_HW_PROFILE_INFO;
 
-
-/**************************/
-
-typedef struct {
-       uint32 unknown1;
-       UNISTR2 devicepath;
-       uint32 unknown2;
-       uint32 unknown3;
-       uint32 unknown4;
-       uint32 unknown5;
-       uint32 unknown6;
-       uint32 unknown7;
-} NTSVCS_Q_HW_PROFILE_FLAGS;
-
-typedef struct {
-       uint32 unknown1;
-       uint32 unknown2;
-       uint32 unknown3;
-       WERROR status;
-} NTSVCS_R_HW_PROFILE_FLAGS;
-
 #endif /* _RPC_NTSVCS_H */
index faa7f8ddd359ca0159c6ae6a0b2288263d0dac96..012b8fa0ef8dccd382e55105fd0c831083858962 100644 (file)
@@ -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;
-}
-
-
-
-