diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-09 14:38:47 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-11-09 21:23:15 +0100 |
commit | 08ace73dbbcef5543bbaee9ba7ee16a0bd42a395 (patch) | |
tree | c87f161928c3a52d300b3c7e39a053dedfaedb01 /source3/librpc/gen_ndr/srv_initshutdown.c | |
parent | 909b03d3c669b655802d7819ee8785562e1c711e (diff) | |
download | samba-08ace73dbbcef5543bbaee9ba7ee16a0bd42a395.tar.gz samba-08ace73dbbcef5543bbaee9ba7ee16a0bd42a395.tar.bz2 samba-08ace73dbbcef5543bbaee9ba7ee16a0bd42a395.zip |
rerun make idl
metze
(This used to be commit 53a636828d2ba01603401086f4a5f72f9b5ea214)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_initshutdown.c')
-rw-r--r-- | source3/librpc/gen_ndr/srv_initshutdown.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/source3/librpc/gen_ndr/srv_initshutdown.c b/source3/librpc/gen_ndr/srv_initshutdown.c index 9b20bd7115..56fbf42957 100644 --- a/source3/librpc/gen_ndr/srv_initshutdown.c +++ b/source3/librpc/gen_ndr/srv_initshutdown.c @@ -11,7 +11,7 @@ static bool api_initshutdown_Init(pipes_struct *p) const struct ndr_interface_call *call; struct ndr_pull *pull; struct ndr_push *push; - NTSTATUS status; + enum ndr_err_code ndr_err; DATA_BLOB blob; struct initshutdown_Init *r; @@ -34,8 +34,8 @@ static bool api_initshutdown_Init(pipes_struct *p) } pull->flags |= LIBNDR_FLAG_REF_ALLOC; - status = call->ndr_pull(pull, NDR_IN, r); - if (NT_STATUS_IS_ERR(status)) { + ndr_err = call->ndr_pull(pull, NDR_IN, r); + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { talloc_free(r); return False; } @@ -60,8 +60,8 @@ static bool api_initshutdown_Init(pipes_struct *p) return False; } - status = call->ndr_push(push, NDR_OUT, r); - if (NT_STATUS_IS_ERR(status)) { + ndr_err = call->ndr_push(push, NDR_OUT, r); + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { talloc_free(r); return False; } @@ -82,7 +82,7 @@ static bool api_initshutdown_Abort(pipes_struct *p) const struct ndr_interface_call *call; struct ndr_pull *pull; struct ndr_push *push; - NTSTATUS status; + enum ndr_err_code ndr_err; DATA_BLOB blob; struct initshutdown_Abort *r; @@ -105,8 +105,8 @@ static bool api_initshutdown_Abort(pipes_struct *p) } pull->flags |= LIBNDR_FLAG_REF_ALLOC; - status = call->ndr_pull(pull, NDR_IN, r); - if (NT_STATUS_IS_ERR(status)) { + ndr_err = call->ndr_pull(pull, NDR_IN, r); + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { talloc_free(r); return False; } @@ -131,8 +131,8 @@ static bool api_initshutdown_Abort(pipes_struct *p) return False; } - status = call->ndr_push(push, NDR_OUT, r); - if (NT_STATUS_IS_ERR(status)) { + ndr_err = call->ndr_push(push, NDR_OUT, r); + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { talloc_free(r); return False; } @@ -153,7 +153,7 @@ static bool api_initshutdown_InitEx(pipes_struct *p) const struct ndr_interface_call *call; struct ndr_pull *pull; struct ndr_push *push; - NTSTATUS status; + enum ndr_err_code ndr_err; DATA_BLOB blob; struct initshutdown_InitEx *r; @@ -176,8 +176,8 @@ static bool api_initshutdown_InitEx(pipes_struct *p) } pull->flags |= LIBNDR_FLAG_REF_ALLOC; - status = call->ndr_pull(pull, NDR_IN, r); - if (NT_STATUS_IS_ERR(status)) { + ndr_err = call->ndr_pull(pull, NDR_IN, r); + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { talloc_free(r); return False; } @@ -202,8 +202,8 @@ static bool api_initshutdown_InitEx(pipes_struct *p) return False; } - status = call->ndr_push(push, NDR_OUT, r); - if (NT_STATUS_IS_ERR(status)) { + ndr_err = call->ndr_push(push, NDR_OUT, r); + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { talloc_free(r); return False; } |