summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-19 02:50:54 +0100
committerGünther Deschner <gd@samba.org>2008-02-19 03:13:58 +0100
commit1c9990fcfe7ac36050351f7c2b99d1e3e044a01a (patch)
tree0012403cadf10fb3c455f80b1a086ecf8e4309d9
parent5894d5e99a23a1a700ef5319bcfe822b125ccbb0 (diff)
downloadsamba-1c9990fcfe7ac36050351f7c2b99d1e3e044a01a.tar.gz
samba-1c9990fcfe7ac36050351f7c2b99d1e3e044a01a.tar.bz2
samba-1c9990fcfe7ac36050351f7c2b99d1e3e044a01a.zip
Remove unused marshalling for SVCCTL_UNLOCK_SERVICE_DB.
Guenther (This used to be commit eeb598a19a3d09f2175032e013857fe743da3eec)
-rw-r--r--source3/include/rpc_svcctl.h11
-rw-r--r--source3/rpc_parse/parse_svcctl.c41
2 files changed, 0 insertions, 52 deletions
diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h
index 9d58a0903e..99d0c7035b 100644
--- a/source3/include/rpc_svcctl.h
+++ b/source3/include/rpc_svcctl.h
@@ -275,17 +275,6 @@ typedef struct {
/**************************/
typedef struct {
- POLICY_HND h_lock;
-} SVCCTL_Q_UNLOCK_SERVICE_DB;
-
-typedef struct {
- WERROR status;
-} SVCCTL_R_UNLOCK_SERVICE_DB;
-
-
-/**************************/
-
-typedef struct {
POLICY_HND handle;
uint32 security_flags;
uint32 buffer_size;
diff --git a/source3/rpc_parse/parse_svcctl.c b/source3/rpc_parse/parse_svcctl.c
index d5b1466535..ececf1b5ed 100644
--- a/source3/rpc_parse/parse_svcctl.c
+++ b/source3/rpc_parse/parse_svcctl.c
@@ -593,47 +593,6 @@ bool svcctl_io_r_query_service_status_ex(const char *desc, SVCCTL_R_QUERY_SERVIC
/*******************************************************************
********************************************************************/
-bool svcctl_io_q_unlock_service_db(const char *desc, SVCCTL_Q_UNLOCK_SERVICE_DB *q_u, prs_struct *ps, int depth)
-{
- if (q_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_q_unlock_service_db");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!smb_io_pol_hnd("h_lock", &q_u->h_lock, ps, depth))
- return False;
-
- return True;
-
-}
-
-/*******************************************************************
-********************************************************************/
-
-bool svcctl_io_r_unlock_service_db(const char *desc, SVCCTL_R_UNLOCK_SERVICE_DB *r_u, prs_struct *ps, int depth)
-{
- if ( !r_u )
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_r_unlock_service_db");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!prs_werror("status", ps, depth, &r_u->status))
- return False;
-
- return True;
-}
-
-/*******************************************************************
-********************************************************************/
-
bool svcctl_io_q_query_service_sec(const char *desc, SVCCTL_Q_QUERY_SERVICE_SEC *q_u, prs_struct *ps, int depth)
{
if (q_u == NULL)