Author: metze Date: 2005-04-04 14:22:28 +0000 (Mon, 04 Apr 2005) New Revision: 6189
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6189 Log: move function to the right place metze Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr.c Changeset: Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr.c =================================================================== --- branches/SAMBA_4_0/source/librpc/ndr/ndr.c 2005-04-04 05:52:53 UTC (rev 6188) +++ branches/SAMBA_4_0/source/librpc/ndr/ndr.c 2005-04-04 14:22:28 UTC (rev 6189) @@ -660,6 +660,11 @@ 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 @@ 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);