diff options
author | Alexander Bokovoy <ab@samba.org> | 2014-03-18 19:41:38 +0200 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2014-03-24 12:44:50 +0100 |
commit | 59767911bded48388c27d5f9cd2ff1346a1c01a6 (patch) | |
tree | 0b84bfda10804a09216c62393c12ab8fdc4f94d7 /librpc | |
parent | 20c719677a28afa1d1b912b9fadbf384e9e65de7 (diff) | |
download | samba-59767911bded48388c27d5f9cd2ff1346a1c01a6.tar.gz |
lsa.idl: define lsa.ForestTrustCollisionInfo and ForestTrustCollisionRecord as public structs
For Python bindings PIDL wants the struct to be defined as public if we
want to use __ndr_print/pack/unpack.
Define the [public] attribute to ForestTrustCollisionInfo/Record to
allow easier debugging when there is collision in establishing a trust.
This change does not affect C code as NDR functions are always
generated, only not exposed in Python bindings.
https://bugzilla.samba.org/show_bug.cgi?id=10504
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Mon Mar 24 12:44:50 CET 2014 on sn-devel-104
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/lsa.idl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librpc/idl/lsa.idl b/librpc/idl/lsa.idl index d8f2649f831..80efbd52225 100644 --- a/librpc/idl/lsa.idl +++ b/librpc/idl/lsa.idl @@ -1328,14 +1328,14 @@ import "misc.idl", "security.idl"; [default] uint32 flags; } lsa_ForestTrustCollisionFlags; - typedef struct { + typedef [public] struct { uint32 index; lsa_ForestTrustCollisionRecordType type; [switch_is(type)] lsa_ForestTrustCollisionFlags flags; lsa_String name; } lsa_ForestTrustCollisionRecord; - typedef struct { + typedef [public] struct { uint32 count; [size_is(count)] lsa_ForestTrustCollisionRecord **entries; } lsa_ForestTrustCollisionInfo; |