From 004a9979a974775b6c94eabf5c9e7674d31a150a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 14 Jun 2004 07:27:22 +0000 Subject: r1133: - add ndr_pull_ptr() as a separate call instead of ndr_pull_uint32() (useful for debugging IDL) - fixed a couple of places that auto-generate incorrect printf style arguments for ndr_pull_error() (This used to be commit ad3324a79ce030df4c5ed46408e662b46588f89f) --- source4/librpc/ndr/ndr_basic.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source4/librpc') diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c index ea58a77c47..5d4ade096f 100644 --- a/source4/librpc/ndr/ndr_basic.c +++ b/source4/librpc/ndr/ndr_basic.c @@ -65,6 +65,16 @@ NTSTATUS ndr_pull_uint32(struct ndr_pull *ndr, uint32_t *v) return NT_STATUS_OK; } +/* + parse a pointer +*/ +NTSTATUS ndr_pull_ptr(struct ndr_pull *ndr, uint32_t *v) +{ + NTSTATUS status; + status = ndr_pull_uint32(ndr, v); + return status; +} + /* parse a uint64 */ -- cgit