summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-20 01:40:04 +0100
committerGünther Deschner <gd@samba.org>2008-03-20 01:40:04 +0100
commit8ca8dad7a1f9f1df2ee18d8944489c58e9feb070 (patch)
tree6bb87b2bcf50176e4d59136a7407913d9d7950d0
parent1a65f16843d4127573da522078200b272ee67d30 (diff)
downloadsamba-8ca8dad7a1f9f1df2ee18d8944489c58e9feb070.tar.gz
samba-8ca8dad7a1f9f1df2ee18d8944489c58e9feb070.tar.bz2
samba-8ca8dad7a1f9f1df2ee18d8944489c58e9feb070.zip
Remove unused marshalling for SVCCTL_ENUM_DEPENDENT_SERVICES.
Guenther (This used to be commit 5838d81346a51ef1e996bab938533ae2097f7e47)
-rw-r--r--source3/include/rpc_svcctl.h16
-rw-r--r--source3/rpc_parse/parse_svcctl.c56
2 files changed, 0 insertions, 72 deletions
diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h
index 5a87e350ba..aa1d1662c8 100644
--- a/source3/include/rpc_svcctl.h
+++ b/source3/include/rpc_svcctl.h
@@ -216,22 +216,6 @@ typedef struct {
typedef struct {
POLICY_HND handle;
- uint32 state;
- uint32 buffer_size;
-} SVCCTL_Q_ENUM_DEPENDENT_SERVICES;
-
-typedef struct {
- RPC_BUFFER buffer;
- uint32 needed;
- uint32 returned;
- WERROR status;
-} SVCCTL_R_ENUM_DEPENDENT_SERVICES;
-
-
-/**************************/
-
-typedef struct {
- POLICY_HND handle;
uint32 buffer_size;
} SVCCTL_Q_QUERY_SERVICE_CONFIG;
diff --git a/source3/rpc_parse/parse_svcctl.c b/source3/rpc_parse/parse_svcctl.c
index 62c1e21927..c5d93864ba 100644
--- a/source3/rpc_parse/parse_svcctl.c
+++ b/source3/rpc_parse/parse_svcctl.c
@@ -262,62 +262,6 @@ bool svcctl_io_r_enum_services_status(const char *desc, SVCCTL_R_ENUM_SERVICES_S
/*******************************************************************
********************************************************************/
-bool svcctl_io_q_enum_dependent_services(const char *desc, SVCCTL_Q_ENUM_DEPENDENT_SERVICES *q_u, prs_struct *ps, int depth)
-{
- if (q_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_q_enum_dependent_services");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!smb_io_pol_hnd("service_pol", &q_u->handle, ps, depth))
- return False;
-
- if(!prs_uint32("state", ps, depth, &q_u->state))
- return False;
- if(!prs_uint32("buffer_size", ps, depth, &q_u->buffer_size))
- return False;
-
- return True;
-}
-
-/*******************************************************************
-********************************************************************/
-
-bool svcctl_io_r_enum_dependent_services(const char *desc, SVCCTL_R_ENUM_DEPENDENT_SERVICES *r_u, prs_struct *ps, int depth)
-{
- if (r_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_r_enum_dependent_services");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if (!prs_rpcbuffer("", ps, depth, &r_u->buffer))
- return False;
-
- if(!prs_align(ps))
- return False;
-
- if(!prs_uint32("needed", ps, depth, &r_u->needed))
- return False;
- if(!prs_uint32("returned", ps, depth, &r_u->returned))
- return False;
-
- if(!prs_werror("status", ps, depth, &r_u->status))
- return False;
-
- return True;
-}
-
-/*******************************************************************
-********************************************************************/
-
bool svcctl_io_q_query_service_config(const char *desc, SVCCTL_Q_QUERY_SERVICE_CONFIG *q_u, prs_struct *ps, int depth)
{
if (q_u == NULL)