summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-01-06 19:00:05 +0100
committerGünther Deschner <gd@samba.org>2009-01-08 11:19:33 +0100
commit385316a09a6dbb790e5f7cb012614acd42bbbb00 (patch)
treedc4c06911db1bd49b6924d5e13be5296a33d9fa8 /source3/rpc_parse
parentb42cb4944a6c4c1509e175553c25b52f765bb3bb (diff)
downloadsamba-385316a09a6dbb790e5f7cb012614acd42bbbb00.tar.gz
samba-385316a09a6dbb790e5f7cb012614acd42bbbb00.tar.bz2
samba-385316a09a6dbb790e5f7cb012614acd42bbbb00.zip
s3-svcctl: remove old hand marshalling of svcctl_QueryServiceStatusEx.
Guenther
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_svcctl.c77
1 files changed, 0 insertions, 77 deletions
diff --git a/source3/rpc_parse/parse_svcctl.c b/source3/rpc_parse/parse_svcctl.c
index 7d31f4b2f0..8441165a1c 100644
--- a/source3/rpc_parse/parse_svcctl.c
+++ b/source3/rpc_parse/parse_svcctl.c
@@ -79,29 +79,6 @@ bool svcctl_io_enum_services_status( const char *desc, ENUM_SERVICES_STATUS *enu
/*******************************************************************
********************************************************************/
-bool svcctl_io_service_status_process( const char *desc, SERVICE_STATUS_PROCESS *status, RPC_BUFFER *buffer, int depth )
-{
- prs_struct *ps=&buffer->prs;
-
- prs_debug(ps, depth, desc, "svcctl_io_service_status_process");
- depth++;
-
- if ( !svcctl_io_service_status("status", &status->status, ps, depth) )
- return False;
- if(!prs_align(ps))
- return False;
-
- if(!prs_uint32("process_id", ps, depth, &status->process_id))
- return False;
- if(!prs_uint32("service_flags", ps, depth, &status->service_flags))
- return False;
-
- return True;
-}
-
-/*******************************************************************
-********************************************************************/
-
uint32 svcctl_sizeof_enum_services_status( ENUM_SERVICES_STATUS *status )
{
uint32 size = 0;
@@ -363,57 +340,3 @@ bool svcctl_io_r_query_service_config2(const char *desc, SVCCTL_R_QUERY_SERVICE_
return True;
}
-
-
-/*******************************************************************
-********************************************************************/
-
-bool svcctl_io_q_query_service_status_ex(const char *desc, SVCCTL_Q_QUERY_SERVICE_STATUSEX *q_u, prs_struct *ps, int depth)
-{
- if (q_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_q_query_service_status_ex");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!smb_io_pol_hnd("service_pol", &q_u->handle, ps, depth))
- return False;
-
- if(!prs_uint32("level", ps, depth, &q_u->level))
- return False;
-
- if(!prs_uint32("buffer_size", ps, depth, &q_u->buffer_size))
- return False;
-
- return True;
-
-}
-
-/*******************************************************************
-********************************************************************/
-
-bool svcctl_io_r_query_service_status_ex(const char *desc, SVCCTL_R_QUERY_SERVICE_STATUSEX *r_u, prs_struct *ps, int depth)
-{
- if ( !r_u )
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_r_query_service_status_ex");
- depth++;
-
- 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_werror("status", ps, depth, &r_u->status))
- return False;
-
- return True;
-}