summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-19 02:48:08 +0100
committerGünther Deschner <gd@samba.org>2008-02-19 03:13:42 +0100
commit23d37a9aed145d38e2bd98b170b65096ab69b0d9 (patch)
tree6a996b04026b0c4002432515081ddc610f5d156d
parent939da2eb58ea8cfa637ec63b254755d77702da45 (diff)
downloadsamba-23d37a9aed145d38e2bd98b170b65096ab69b0d9.tar.gz
samba-23d37a9aed145d38e2bd98b170b65096ab69b0d9.tar.xz
samba-23d37a9aed145d38e2bd98b170b65096ab69b0d9.zip
Remove unused marshalling for SVCCTL_LOCK_SERVICE_DB.
Guenther
-rw-r--r--source/include/rpc_svcctl.h12
-rw-r--r--source/rpc_parse/parse_svcctl.c44
2 files changed, 0 insertions, 56 deletions
diff --git a/source/include/rpc_svcctl.h b/source/include/rpc_svcctl.h
index 2bd28db2911..9d58a0903e4 100644
--- a/source/include/rpc_svcctl.h
+++ b/source/include/rpc_svcctl.h
@@ -275,18 +275,6 @@ typedef struct {
/**************************/
typedef struct {
- POLICY_HND handle;
-} SVCCTL_Q_LOCK_SERVICE_DB;
-
-typedef struct {
- POLICY_HND h_lock;
- WERROR status;
-} SVCCTL_R_LOCK_SERVICE_DB;
-
-
-/**************************/
-
-typedef struct {
POLICY_HND h_lock;
} SVCCTL_Q_UNLOCK_SERVICE_DB;
diff --git a/source/rpc_parse/parse_svcctl.c b/source/rpc_parse/parse_svcctl.c
index ef9f03705de..d5b14665353 100644
--- a/source/rpc_parse/parse_svcctl.c
+++ b/source/rpc_parse/parse_svcctl.c
@@ -593,50 +593,6 @@ bool svcctl_io_r_query_service_status_ex(const char *desc, SVCCTL_R_QUERY_SERVIC
/*******************************************************************
********************************************************************/
-bool svcctl_io_q_lock_service_db(const char *desc, SVCCTL_Q_LOCK_SERVICE_DB *q_u, prs_struct *ps, int depth)
-{
- if (q_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_q_lock_service_db");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!smb_io_pol_hnd("scm_handle", &q_u->handle, ps, depth))
- return False;
-
- return True;
-
-}
-
-/*******************************************************************
-********************************************************************/
-
-bool svcctl_io_r_lock_service_db(const char *desc, SVCCTL_R_LOCK_SERVICE_DB *r_u, prs_struct *ps, int depth)
-{
- if ( !r_u )
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_r_lock_service_db");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!smb_io_pol_hnd("lock_handle", &r_u->h_lock, ps, depth))
- return False;
-
- if(!prs_werror("status", ps, depth, &r_u->status))
- return False;
-
- return True;
-}
-
-/*******************************************************************
-********************************************************************/
-
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)