diff options
author | Günther Deschner <gd@samba.org> | 2008-02-18 12:48:43 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-18 12:58:44 +0100 |
commit | 6d95d7d9b9277e3aba6b43869a31fd3226ac697c (patch) | |
tree | ae00ada041f0444068038590b385561beda1b4b7 /source3/rpc_parse/parse_svcctl.c | |
parent | f40f80008d9a20d54c3a43b001929c3963c82d0a (diff) | |
download | samba-6d95d7d9b9277e3aba6b43869a31fd3226ac697c.tar.gz samba-6d95d7d9b9277e3aba6b43869a31fd3226ac697c.tar.bz2 samba-6d95d7d9b9277e3aba6b43869a31fd3226ac697c.zip |
Remove unused marshalling for SVCCTL_OPEN_SERVICE.
Guenther
(This used to be commit e0a8818af0e3e82e9b70ff6c485090986b435fed)
Diffstat (limited to 'source3/rpc_parse/parse_svcctl.c')
-rw-r--r-- | source3/rpc_parse/parse_svcctl.c | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/source3/rpc_parse/parse_svcctl.c b/source3/rpc_parse/parse_svcctl.c index 488f060e6e..7fd13e8f21 100644 --- a/source3/rpc_parse/parse_svcctl.c +++ b/source3/rpc_parse/parse_svcctl.c @@ -269,58 +269,6 @@ bool svcctl_io_r_get_display_name(const char *desc, SVCCTL_R_GET_DISPLAY_NAME *r /******************************************************************* ********************************************************************/ -bool svcctl_io_q_open_service(const char *desc, SVCCTL_Q_OPEN_SERVICE *q_u, prs_struct *ps, int depth) -{ - if (q_u == NULL) - return False; - - prs_debug(ps, depth, desc, "svcctl_io_q_open_service"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("scm_pol", &q_u->handle, ps, depth)) - return False; - - if(!smb_io_unistr2("servicename", &q_u->servicename, 1, ps, depth)) - return False; - - if(!prs_align(ps)) - return False; - - if(!prs_uint32("access", ps, depth, &q_u->access)) - return False; - - return True; -} - -/******************************************************************* -********************************************************************/ - -bool svcctl_io_r_open_service(const char *desc, SVCCTL_R_OPEN_SERVICE *r_u, prs_struct *ps, int depth) -{ - if (r_u == NULL) - return False; - - prs_debug(ps, depth, desc, "svcctl_io_r_open_service"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("service_pol", &r_u->handle, ps, depth)) - return False; - - if(!prs_werror("status", ps, depth, &r_u->status)) - return False; - - return True; -} - -/******************************************************************* -********************************************************************/ - bool svcctl_io_q_query_status(const char *desc, SVCCTL_Q_QUERY_STATUS *q_u, prs_struct *ps, int depth) { if (q_u == NULL) |