summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_svcctl.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-18 12:12:43 +0100
committerGünther Deschner <gd@samba.org>2008-02-18 12:12:43 +0100
commit330fe0a62a29ff994e1520dae209eb4980a7259c (patch)
treeeb7ae76b2a5c6664ed906d332331f3bd875af918 /source3/rpc_parse/parse_svcctl.c
parent0ca295bb32d69711eb799d8f8323aa17e5928a10 (diff)
downloadsamba-330fe0a62a29ff994e1520dae209eb4980a7259c.tar.gz
samba-330fe0a62a29ff994e1520dae209eb4980a7259c.tar.bz2
samba-330fe0a62a29ff994e1520dae209eb4980a7259c.zip
Remove unused marshalling for SVCCTL_OPEN_SCMANAGER.
Guenther (This used to be commit 1162b8a02d365b79f5a3e86c936bae80092f1869)
Diffstat (limited to 'source3/rpc_parse/parse_svcctl.c')
-rw-r--r--source3/rpc_parse/parse_svcctl.c53
1 files changed, 0 insertions, 53 deletions
diff --git a/source3/rpc_parse/parse_svcctl.c b/source3/rpc_parse/parse_svcctl.c
index 18e12ef0a6..488f060e6e 100644
--- a/source3/rpc_parse/parse_svcctl.c
+++ b/source3/rpc_parse/parse_svcctl.c
@@ -198,59 +198,6 @@ uint32 svcctl_sizeof_service_config( SERVICE_CONFIG *config )
/*******************************************************************
********************************************************************/
-bool svcctl_io_q_open_scmanager(const char *desc, SVCCTL_Q_OPEN_SCMANAGER *q_u, prs_struct *ps, int depth)
-{
- if (q_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_q_open_scmanager");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!prs_pointer("servername", ps, depth, (void*)&q_u->servername, sizeof(UNISTR2), (PRS_POINTER_CAST)prs_io_unistr2))
- return False;
- if(!prs_align(ps))
- return False;
-
- if(!prs_pointer("database", ps, depth, (void*)&q_u->database, sizeof(UNISTR2), (PRS_POINTER_CAST)prs_io_unistr2))
- 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_scmanager(const char *desc, SVCCTL_R_OPEN_SCMANAGER *r_u, prs_struct *ps, int depth)
-{
- if (r_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_r_open_scmanager");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!smb_io_pol_hnd("scm_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_get_display_name(const char *desc, SVCCTL_Q_GET_DISPLAY_NAME *q_u, prs_struct *ps, int depth)
{
if (q_u == NULL)