Work around ndr_unpack failing on structures with relative pointers.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 25 Feb 2009 06:43:07 +0000 (17:43 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 25 Feb 2009 06:43:07 +0000 (17:43 +1100)
commitc2cdb4ad5c9398ef0d3310613107999f8d33c7ce
tree9bf8b8a37f51b5927180b7ed8c92ee44b3337a53
parentd8b70278e20b276566a3893d288101ff4826df61
Work around ndr_unpack failing on structures with relative pointers.

This disgusting hack works around the fact that
ndr_pull_struct_blob_all will always fail on structures with relative
pointers.  So, map ndr_unpack to ndr_pull_struct_blob_all only if we
don't have any relative pointers in this structure.

Andrew Bartlett
pidl/lib/Parse/Pidl/Samba4/Python.pm