pidl: Add and use ndr_print_steal_switch_value(), removing ndr_print_get_switch_value()
authorAndrew Bartlett <abartlet@samba.org>
Sun, 17 Nov 2019 23:02:03 +0000 (12:02 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Dec 2019 02:30:40 +0000 (02:30 +0000)
commite08461b2845183224b9775b54be4acaaba705ecd
treeef72c3edcdad85482d22df8fefbdc1666ec18e8e
parente1a15710a4c1c96c9d9fdf932357749cc5ed4d7a
pidl: Add and use ndr_print_steal_switch_value(), removing ndr_print_get_switch_value()

This avoids really long token lists for switch values
that will not be needed past this point.

The function name is changed to clarify what exactly is being
done here, and the old function is removed to ensure it is
not being used anywhere else.

Merge the removal of ndr_print_get_switch_value into
just-tagged librpc/ABI/ndr-1.0.0.sigs as this
has not been put into any release yet.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13876

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
librpc/ABI/ndr-1.0.0.sigs
librpc/ndr/libndr.h
librpc/ndr/ndr.c
librpc/ndr/ndr_drsuapi.c
librpc/ndr/ndr_ntlmssp.c
librpc/ndr/ndr_schannel.c
librpc/ndr/ndr_spoolss_buf.c
pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm