summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-28 00:34:45 +0100
committerGünther Deschner <gd@samba.org>2008-02-28 00:43:31 +0100
commitedacb74344961d366828087e6f95c19a698e6e0e (patch)
tree9f06761671a6982c9bce3ceba2ee5d1939567816 /source3
parentc86cbd736957b6d5f3c3f648ce07c593fd60af99 (diff)
downloadsamba-edacb74344961d366828087e6f95c19a698e6e0e.tar.gz
samba-edacb74344961d366828087e6f95c19a698e6e0e.tar.bz2
samba-edacb74344961d366828087e6f95c19a698e6e0e.zip
Remove unused marshalling for SVCCTL_SET_SERVICE_SEC.
Guenther (This used to be commit 9ac2606d5214f1bf4a8ec2ac46bcaeba62e56992)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/rpc_svcctl.h15
-rw-r--r--source3/rpc_parse/parse_svcctl.c56
2 files changed, 0 insertions, 71 deletions
diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h
index 1c3d492359..5a87e350ba 100644
--- a/source3/include/rpc_svcctl.h
+++ b/source3/include/rpc_svcctl.h
@@ -271,20 +271,5 @@ typedef struct {
WERROR status;
} SVCCTL_R_QUERY_SERVICE_STATUSEX;
-
-/**************************/
-
-typedef struct {
- POLICY_HND handle;
- uint32 security_flags;
- RPC_BUFFER buffer;
- uint32 buffer_size;
-} SVCCTL_Q_SET_SERVICE_SEC;
-
-typedef struct {
- WERROR status;
-} SVCCTL_R_SET_SERVICE_SEC;
-
-
#endif /* _RPC_SVCCTL_H */
diff --git a/source3/rpc_parse/parse_svcctl.c b/source3/rpc_parse/parse_svcctl.c
index cd08dbef1f..62c1e21927 100644
--- a/source3/rpc_parse/parse_svcctl.c
+++ b/source3/rpc_parse/parse_svcctl.c
@@ -589,59 +589,3 @@ bool svcctl_io_r_query_service_status_ex(const char *desc, SVCCTL_R_QUERY_SERVIC
return True;
}
-
-/*******************************************************************
-********************************************************************/
-
-bool svcctl_io_q_set_service_sec(const char *desc, SVCCTL_Q_SET_SERVICE_SEC *q_u, prs_struct *ps, int depth)
-{
- if (q_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_q_set_service_sec");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!smb_io_pol_hnd("handle", &q_u->handle, ps, depth))
- return False;
- if(!prs_uint32("security_flags", ps, depth, &q_u->security_flags))
- return False;
-
- if (!prs_rpcbuffer("buffer", ps, depth, &q_u->buffer))
- return False;
-
- if(!prs_align(ps))
- return False;
-
- if(!prs_uint32("buffer_size", ps, depth, &q_u->buffer_size))
- return False;
-
- return True;
-
-}
-
-/*******************************************************************
-********************************************************************/
-
-bool svcctl_io_r_set_service_sec(const char *desc, SVCCTL_R_SET_SERVICE_SEC *r_u, prs_struct *ps, int depth)
-{
- if ( !r_u )
- return False;
-
- prs_debug(ps, depth, desc, "svcctl_io_r_set_service_sec");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!prs_werror("status", ps, depth, &r_u->status))
- return False;
-
- return True;
-}
-
-
-
-