diff options
author | Günther Deschner <gd@samba.org> | 2008-02-28 00:16:46 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-28 00:43:30 +0100 |
commit | 8a1249817e8642de20095527db0c37ee3c4bd077 (patch) | |
tree | 6231453c55aca5ef799e81612f766ae7d9a9b917 /source3 | |
parent | fac7193cd21c678e1fd5fef1582b712405032931 (diff) | |
download | samba-8a1249817e8642de20095527db0c37ee3c4bd077.tar.gz samba-8a1249817e8642de20095527db0c37ee3c4bd077.tar.bz2 samba-8a1249817e8642de20095527db0c37ee3c4bd077.zip |
Remove unused marshalling for SVCCTL_QUERY_SERVICE_SEC.
Guenther
(This used to be commit a69c6422bb7b1ab64236cbab193d54fd90c106f0)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/rpc_svcctl.h | 14 | ||||
-rw-r--r-- | source3/rpc_parse/parse_svcctl.c | 51 |
2 files changed, 0 insertions, 65 deletions
diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h index 99d0c7035b..1c3d492359 100644 --- a/source3/include/rpc_svcctl.h +++ b/source3/include/rpc_svcctl.h @@ -275,20 +275,6 @@ typedef struct { /**************************/ typedef struct { - POLICY_HND handle; - uint32 security_flags; - uint32 buffer_size; -} SVCCTL_Q_QUERY_SERVICE_SEC; - -typedef struct { - RPC_BUFFER buffer; - uint32 needed; - WERROR status; -} SVCCTL_R_QUERY_SERVICE_SEC; - -/**************************/ - -typedef struct { POLICY_HND handle; uint32 security_flags; RPC_BUFFER buffer; diff --git a/source3/rpc_parse/parse_svcctl.c b/source3/rpc_parse/parse_svcctl.c index ececf1b5ed..cd08dbef1f 100644 --- a/source3/rpc_parse/parse_svcctl.c +++ b/source3/rpc_parse/parse_svcctl.c @@ -593,57 +593,6 @@ bool svcctl_io_r_query_service_status_ex(const char *desc, SVCCTL_R_QUERY_SERVIC /******************************************************************* ********************************************************************/ -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) - return False; - - prs_debug(ps, depth, desc, "svcctl_io_q_query_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_uint32("buffer_size", ps, depth, &q_u->buffer_size)) - return False; - - return True; - -} - -/******************************************************************* -********************************************************************/ - -bool svcctl_io_r_query_service_sec(const char *desc, SVCCTL_R_QUERY_SERVICE_SEC *r_u, prs_struct *ps, int depth) -{ - if ( !r_u ) - return False; - - prs_debug(ps, depth, desc, "svcctl_io_r_query_service_sec"); - depth++; - - if(!prs_align(ps)) - return False; - - if (!prs_rpcbuffer("buffer", ps, depth, &r_u->buffer)) - 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; -} - -/******************************************************************* -********************************************************************/ - 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) |