From d2128c12496fd631f4769c3e51f129767a36b423 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 4 Apr 2005 14:22:28 +0000 Subject: r6189: move function to the right place metze (This used to be commit 08d22a07cfa84fe959320058e8574c8983e1d71f) --- source4/librpc/ndr/ndr.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'source4') diff --git a/source4/librpc/ndr/ndr.c b/source4/librpc/ndr/ndr.c index c5360ee664..e21ec72ec8 100644 --- a/source4/librpc/ndr/ndr.c +++ b/source4/librpc/ndr/ndr.c @@ -660,6 +660,11 @@ NTSTATUS ndr_pull_set_switch_value(struct ndr_pull *ndr, const void *p, uint32_t return ndr_token_store(ndr, &ndr->switch_list, p, val); } +NTSTATUS ndr_print_set_switch_value(struct ndr_print *ndr, const void *p, uint32_t val) +{ + return ndr_token_store(ndr, &ndr->switch_list, p, val); +} + /* retrieve a switch value */ @@ -673,14 +678,6 @@ uint32_t ndr_pull_get_switch_value(struct ndr_pull *ndr, const void *p) return ndr_token_peek(&ndr->switch_list, p); } -NTSTATUS ndr_print_set_switch_value(struct ndr_print *ndr, const void *p, uint32_t val) -{ - return ndr_token_store(ndr, &ndr->switch_list, p, val); -} - -/* - retrieve a switch value - */ uint32_t ndr_print_get_switch_value(struct ndr_print *ndr, const void *p) { return ndr_token_peek(&ndr->switch_list, p); -- cgit