mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
svcctl: rename SERVICE_FAILURE_ACTIONS to SERVICE_FAILURE_ACTIONSW
(there will be a SERVICE_FAILURE_ACTIONSA variant also) Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
6d8867925f
commit
cb348e5be1
@ -601,7 +601,7 @@ import "misc.idl", "security.idl";
|
||||
[relative] nstring *command;
|
||||
[range(0,1024)] uint32 num_actions;
|
||||
[relative] [size_is(num_actions)] SC_ACTION *actions;
|
||||
} SERVICE_FAILURE_ACTIONS;
|
||||
} SERVICE_FAILURE_ACTIONSW;
|
||||
|
||||
WERROR svcctl_QueryServiceConfig2A(
|
||||
[in,ref] policy_handle *handle,
|
||||
|
@ -856,7 +856,7 @@ WERROR _svcctl_QueryServiceConfig2W(struct pipes_struct *p,
|
||||
break;
|
||||
case SERVICE_CONFIG_FAILURE_ACTIONS:
|
||||
{
|
||||
struct SERVICE_FAILURE_ACTIONS actions;
|
||||
struct SERVICE_FAILURE_ACTIONSW actions;
|
||||
enum ndr_err_code ndr_err;
|
||||
|
||||
/* nothing to say...just service the request */
|
||||
@ -864,7 +864,7 @@ WERROR _svcctl_QueryServiceConfig2W(struct pipes_struct *p,
|
||||
ZERO_STRUCT( actions );
|
||||
|
||||
ndr_err = ndr_push_struct_blob(&blob, p->mem_ctx, &actions,
|
||||
(ndr_push_flags_fn_t)ndr_push_SERVICE_FAILURE_ACTIONS);
|
||||
(ndr_push_flags_fn_t)ndr_push_SERVICE_FAILURE_ACTIONSW);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
return WERR_INVALID_PARAMETER;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user