librpc: Add ndr_push_struct_into_fixed_blob() and use it in GUID_to_ndr_blob()
authorAndrew Bartlett <abartlet@samba.org>
Fri, 17 Jun 2016 01:29:51 +0000 (13:29 +1200)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Jul 2016 08:06:12 +0000 (10:06 +0200)
commit1246904d41eebc3440636dd29a9dc9ba38b738f6
tree642617b02dd9318c0ed4d2b14e880aa4a902e83d
parentc07504f40dea1b850aa84dab6af5216b097217cc
librpc: Add ndr_push_struct_into_fixed_blob() and use it in GUID_to_ndr_blob()

This allows us to allocate only the correct size, not a default of 1024 bytes
per push.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
librpc/ABI/ndr-0.0.8.sigs [new file with mode: 0644]
librpc/ndr/libndr.h
librpc/ndr/ndr.c
librpc/ndr/uuid.c
librpc/wscript_build