diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-04-04 14:22:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:24 -0500 |
commit | d2128c12496fd631f4769c3e51f129767a36b423 (patch) | |
tree | 719ca314720a674137a2085624434ade47c7efc6 /source4/librpc/ndr | |
parent | fa27fa88da5935e1ce0d01e4b32f8b1e35eea39b (diff) | |
download | samba-d2128c12496fd631f4769c3e51f129767a36b423.tar.gz samba-d2128c12496fd631f4769c3e51f129767a36b423.tar.bz2 samba-d2128c12496fd631f4769c3e51f129767a36b423.zip |
r6189: move function to the right place
metze
(This used to be commit 08d22a07cfa84fe959320058e8574c8983e1d71f)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r-- | source4/librpc/ndr/ndr.c | 13 |
1 files changed, 5 insertions, 8 deletions
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); |