diff options
author | Günther Deschner <gd@samba.org> | 2009-01-07 15:05:01 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-01-08 11:19:33 +0100 |
commit | 3079e14f94c58be379474e20b488131cc2632497 (patch) | |
tree | f46613c4dc1fc42ab7c54c725a07824bef25a1c6 /source3/rpc_server/srv_svcctl.c | |
parent | 5581637d2269f99075071ec5aade59b492bb9740 (diff) | |
download | samba-3079e14f94c58be379474e20b488131cc2632497.tar.gz samba-3079e14f94c58be379474e20b488131cc2632497.tar.bz2 samba-3079e14f94c58be379474e20b488131cc2632497.zip |
s3-svcctl: use pidl for _svcctl_QueryServiceConfig2W.
Guenther
Diffstat (limited to 'source3/rpc_server/srv_svcctl.c')
-rw-r--r-- | source3/rpc_server/srv_svcctl.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/source3/rpc_server/srv_svcctl.c b/source3/rpc_server/srv_svcctl.c index ed122912b9..275a2f62b2 100644 --- a/source3/rpc_server/srv_svcctl.c +++ b/source3/rpc_server/srv_svcctl.c @@ -149,23 +149,7 @@ static bool api_svcctl_query_service_config(pipes_struct *p) static bool api_svcctl_query_service_config2(pipes_struct *p) { - SVCCTL_Q_QUERY_SERVICE_CONFIG2 q_u; - SVCCTL_R_QUERY_SERVICE_CONFIG2 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_query_service_config2("", &q_u, data, 0)) - return False; - - r_u.status = _svcctl_query_service_config2(p, &q_u, &r_u); - - if(!svcctl_io_r_query_service_config2("", &r_u, rdata, 0)) - return False; - - return True; + return proxy_svcctl_call(p, NDR_SVCCTL_QUERYSERVICECONFIG2W); } /******************************************************************* |