summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-18 01:10:37 +0100
committerGünther Deschner <gd@samba.org>2008-02-18 01:37:40 +0100
commit7b5d9af374b432e52765dd23bb0b8e6a9696cf86 (patch)
tree6d3bce89958181482e1a56f4b41d523e6f4b56b5 /source3
parent1ce176c2b905b30c14ecde53e0898c343fe96cf9 (diff)
downloadsamba-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')
-rw-r--r--source3/include/rpc_ntsvcs.h21
-rw-r--r--source3/rpc_parse/parse_ntsvcs.c73
2 files changed, 0 insertions, 94 deletions
diff --git a/source3/include/rpc_ntsvcs.h b/source3/include/rpc_ntsvcs.h
index 55f36628aa..b678662c6c 100644
--- a/source3/include/rpc_ntsvcs.h
+++ b/source3/include/rpc_ntsvcs.h
@@ -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 */
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;
-}
-
-
-
-