summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_svcctl.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-20 01:38:23 +0100
committerGünther Deschner <gd@samba.org>2008-03-20 01:38:23 +0100
commit1a65f16843d4127573da522078200b272ee67d30 (patch)
tree47d9e72d4378c85d657f4e4030afdeb25b416188 /source3/rpc_server/srv_svcctl.c
parentd91575bd9cd3b9d9d02c73006cb7fb9a3b879061 (diff)
downloadsamba-1a65f16843d4127573da522078200b272ee67d30.tar.gz
samba-1a65f16843d4127573da522078200b272ee67d30.tar.bz2
samba-1a65f16843d4127573da522078200b272ee67d30.zip
Use pidl for _svcctl_EnumDependentServicesW().
Guenther (This used to be commit 988291a9c07c055213f8979ebe75bb392811008d)
Diffstat (limited to 'source3/rpc_server/srv_svcctl.c')
-rw-r--r--source3/rpc_server/srv_svcctl.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/source3/rpc_server/srv_svcctl.c b/source3/rpc_server/srv_svcctl.c
index 5e125145d6..e3ff2cc8a0 100644
--- a/source3/rpc_server/srv_svcctl.c
+++ b/source3/rpc_server/srv_svcctl.c
@@ -131,23 +131,7 @@ static bool api_svcctl_query_service_status_ex(pipes_struct *p)
static bool api_svcctl_enum_dependent_services(pipes_struct *p)
{
- SVCCTL_Q_ENUM_DEPENDENT_SERVICES q_u;
- SVCCTL_R_ENUM_DEPENDENT_SERVICES r_u;
- prs_struct *data = &p->in_data.data;
- prs_struct *rdata = &p->out_data.rdata;
-
- ZERO_STRUCT(q_u);
- ZERO_STRUCT(r_u);
-
- if(!svcctl_io_q_enum_dependent_services("", &q_u, data, 0))
- return False;
-
- r_u.status = _svcctl_enum_dependent_services(p, &q_u, &r_u);
-
- if(!svcctl_io_r_enum_dependent_services("", &r_u, rdata, 0))
- return False;
-
- return True;
+ return proxy_svcctl_call(p, NDR_SVCCTL_ENUMDEPENDENTSERVICESW);
}
/*******************************************************************