diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/rpc_svcctl.h | 16 | ||||
-rw-r--r-- | source3/rpc_parse/parse_svcctl.c | 56 |
2 files changed, 0 insertions, 72 deletions
diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h index 5a87e350ba..aa1d1662c8 100644 --- a/source3/include/rpc_svcctl.h +++ b/source3/include/rpc_svcctl.h @@ -216,22 +216,6 @@ typedef struct { typedef struct { POLICY_HND handle; - uint32 state; - uint32 buffer_size; -} SVCCTL_Q_ENUM_DEPENDENT_SERVICES; - -typedef struct { - RPC_BUFFER buffer; - uint32 needed; - uint32 returned; - WERROR status; -} SVCCTL_R_ENUM_DEPENDENT_SERVICES; - - -/**************************/ - -typedef struct { - POLICY_HND handle; uint32 buffer_size; } SVCCTL_Q_QUERY_SERVICE_CONFIG; diff --git a/source3/rpc_parse/parse_svcctl.c b/source3/rpc_parse/parse_svcctl.c index 62c1e21927..c5d93864ba 100644 --- a/source3/rpc_parse/parse_svcctl.c +++ b/source3/rpc_parse/parse_svcctl.c @@ -262,62 +262,6 @@ bool svcctl_io_r_enum_services_status(const char *desc, SVCCTL_R_ENUM_SERVICES_S /******************************************************************* ********************************************************************/ -bool svcctl_io_q_enum_dependent_services(const char *desc, SVCCTL_Q_ENUM_DEPENDENT_SERVICES *q_u, prs_struct *ps, int depth) -{ - if (q_u == NULL) - return False; - - prs_debug(ps, depth, desc, "svcctl_io_q_enum_dependent_services"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("service_pol", &q_u->handle, ps, depth)) - return False; - - if(!prs_uint32("state", ps, depth, &q_u->state)) - return False; - if(!prs_uint32("buffer_size", ps, depth, &q_u->buffer_size)) - return False; - - return True; -} - -/******************************************************************* -********************************************************************/ - -bool svcctl_io_r_enum_dependent_services(const char *desc, SVCCTL_R_ENUM_DEPENDENT_SERVICES *r_u, prs_struct *ps, int depth) -{ - if (r_u == NULL) - return False; - - prs_debug(ps, depth, desc, "svcctl_io_r_enum_dependent_services"); - depth++; - - if(!prs_align(ps)) - return False; - - 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_uint32("returned", ps, depth, &r_u->returned)) - return False; - - if(!prs_werror("status", ps, depth, &r_u->status)) - return False; - - return True; -} - -/******************************************************************* -********************************************************************/ - bool svcctl_io_q_query_service_config(const char *desc, SVCCTL_Q_QUERY_SERVICE_CONFIG *q_u, prs_struct *ps, int depth) { if (q_u == NULL) |