diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-09 19:24:10 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:44:56 +0100 |
commit | 910ab408afe0ed866d378fb6d58e795dffcbfa58 (patch) | |
tree | 56a084dc5f0a2f7b62767c9212013461f207d33e /source4/librpc/ndr/ndr_krb5pac.c | |
parent | 0ce646d49a70b19d7ca54e0b83422f048dd39c1a (diff) | |
download | samba-910ab408afe0ed866d378fb6d58e795dffcbfa58.tar.gz samba-910ab408afe0ed866d378fb6d58e795dffcbfa58.tar.bz2 samba-910ab408afe0ed866d378fb6d58e795dffcbfa58.zip |
r25918: ndr: change NTSTAUS into enum ndr_err_code (samba4 handwritten stuff)
ndr_sec_helper.c
ndr_spoolss_buf.c
ndr_compression.c
ndr_drsuapi.[ch]
ndr_krb5pac.c
ndr_orpc.c
metze
(This used to be commit 356e027bf883c8fc36fa4759eff56e364daf9fce)
Diffstat (limited to 'source4/librpc/ndr/ndr_krb5pac.c')
-rw-r--r-- | source4/librpc/ndr/ndr_krb5pac.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/librpc/ndr/ndr_krb5pac.c b/source4/librpc/ndr/ndr_krb5pac.c index a220b30849..ec8bae3eb1 100644 --- a/source4/librpc/ndr/ndr_krb5pac.c +++ b/source4/librpc/ndr/ndr_krb5pac.c @@ -40,7 +40,7 @@ static size_t _subcontext_size_PAC_INFO(const union PAC_INFO *r, uint32_t level, return NDR_ROUND(s,8); } -NTSTATUS ndr_push_PAC_BUFFER(struct ndr_push *ndr, int ndr_flags, const struct PAC_BUFFER *r) +enum ndr_err_code ndr_push_PAC_BUFFER(struct ndr_push *ndr, int ndr_flags, const struct PAC_BUFFER *r) { if (ndr_flags & NDR_SCALARS) { NDR_CHECK(ndr_push_align(ndr, 4)); @@ -71,10 +71,10 @@ NTSTATUS ndr_push_PAC_BUFFER(struct ndr_push *ndr, int ndr_flags, const struct P ndr->flags = _flags_save_PAC_INFO; } } - return NT_STATUS_OK; + return NDR_ERR_SUCCESS; } -NTSTATUS ndr_pull_PAC_BUFFER(struct ndr_pull *ndr, int ndr_flags, struct PAC_BUFFER *r) +enum ndr_err_code ndr_pull_PAC_BUFFER(struct ndr_pull *ndr, int ndr_flags, struct PAC_BUFFER *r) { uint32_t _ptr_info; TALLOC_CTX *_mem_save_info_0; @@ -119,7 +119,7 @@ NTSTATUS ndr_pull_PAC_BUFFER(struct ndr_pull *ndr, int ndr_flags, struct PAC_BUF ndr->flags = _flags_save_PAC_INFO; } } - return NT_STATUS_OK; + return NDR_ERR_SUCCESS; } void ndr_print_PAC_BUFFER(struct ndr_print *ndr, const char *name, const struct PAC_BUFFER *r) |