summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_epmapper.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-09 14:38:47 +0100
committerStefan Metzmacher <metze@samba.org>2007-11-09 21:23:15 +0100
commit08ace73dbbcef5543bbaee9ba7ee16a0bd42a395 (patch)
treec87f161928c3a52d300b3c7e39a053dedfaedb01 /source3/librpc/gen_ndr/srv_epmapper.c
parent909b03d3c669b655802d7819ee8785562e1c711e (diff)
downloadsamba-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_epmapper.c')
-rw-r--r--source3/librpc/gen_ndr/srv_epmapper.c80
1 files changed, 40 insertions, 40 deletions
diff --git a/source3/librpc/gen_ndr/srv_epmapper.c b/source3/librpc/gen_ndr/srv_epmapper.c
index d458dd4180..d74a509cfb 100644
--- a/source3/librpc/gen_ndr/srv_epmapper.c
+++ b/source3/librpc/gen_ndr/srv_epmapper.c
@@ -11,7 +11,7 @@ static bool api_epm_Insert(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 epm_Insert *r;
@@ -34,8 +34,8 @@ static bool api_epm_Insert(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_epm_Insert(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_epm_Delete(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 epm_Delete *r;
@@ -105,8 +105,8 @@ static bool api_epm_Delete(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_epm_Delete(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_epm_Lookup(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 epm_Lookup *r;
@@ -176,8 +176,8 @@ static bool api_epm_Lookup(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;
}
@@ -216,8 +216,8 @@ static bool api_epm_Lookup(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;
}
@@ -238,7 +238,7 @@ static bool api_epm_Map(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 epm_Map *r;
@@ -261,8 +261,8 @@ static bool api_epm_Map(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;
}
@@ -301,8 +301,8 @@ static bool api_epm_Map(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;
}
@@ -323,7 +323,7 @@ static bool api_epm_LookupHandleFree(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 epm_LookupHandleFree *r;
@@ -346,8 +346,8 @@ static bool api_epm_LookupHandleFree(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;
}
@@ -374,8 +374,8 @@ static bool api_epm_LookupHandleFree(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;
}
@@ -396,7 +396,7 @@ static bool api_epm_InqObject(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 epm_InqObject *r;
@@ -419,8 +419,8 @@ static bool api_epm_InqObject(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;
}
@@ -445,8 +445,8 @@ static bool api_epm_InqObject(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;
}
@@ -467,7 +467,7 @@ static bool api_epm_MgmtDelete(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 epm_MgmtDelete *r;
@@ -490,8 +490,8 @@ static bool api_epm_MgmtDelete(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;
}
@@ -516,8 +516,8 @@ static bool api_epm_MgmtDelete(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;
}
@@ -538,7 +538,7 @@ static bool api_epm_MapAuth(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 epm_MapAuth *r;
@@ -561,8 +561,8 @@ static bool api_epm_MapAuth(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;
}
@@ -587,8 +587,8 @@ static bool api_epm_MapAuth(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;
}