diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-04-06 15:10:47 +0300 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2010-04-09 12:21:28 +0300 |
commit | 8dd5705a591ee617478663180316dd0f768049b9 (patch) | |
tree | 9b4f10ac0033f86b9c88301d417d87fa1ceebad2 /librpc/idl | |
parent | 2ea99c22c3e89780062959dd9da71f5b5da7831e (diff) | |
download | samba-8dd5705a591ee617478663180316dd0f768049b9.tar.gz samba-8dd5705a591ee617478663180316dd0f768049b9.tar.bz2 samba-8dd5705a591ee617478663180316dd0f768049b9.zip |
librpc/idl: Use [nopython] attr for types used in decode_PrimaryKerberos method
C code generation for python module generates invalid code
(i.e. can not be compiled).
Another reason to 'hide' those types from Python is
that those types are not used at the moment
(and most probably won't be used in the future)
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/drsblobs.idl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/librpc/idl/drsblobs.idl b/librpc/idl/drsblobs.idl index f25e178a0c..89b5760823 100644 --- a/librpc/idl/drsblobs.idl +++ b/librpc/idl/drsblobs.idl @@ -334,13 +334,13 @@ interface drsblobs { [in] package_PackagesBlob blob ); - typedef struct { + typedef [nopython] struct { [value(2*strlen_m(string))] uint16 length; [value(2*strlen_m(string))] uint16 size; [relative,subcontext(0),subcontext_size(size),flag(STR_NOTERM|NDR_REMAINING)] string *string; } package_PrimaryKerberosString; - typedef struct { + typedef [nopython] struct { [value(0)] uint16 reserved1; [value(0)] uint16 reserved2; [value(0)] uint32 reserved3; @@ -349,7 +349,7 @@ interface drsblobs { [relative,subcontext(0),subcontext_size(value_len),flag(NDR_REMAINING)] DATA_BLOB *value; } package_PrimaryKerberosKey3; - typedef struct { + typedef [nopython] struct { uint16 num_keys; uint16 num_old_keys; package_PrimaryKerberosString salt; @@ -362,7 +362,7 @@ interface drsblobs { [value(0)] uint32 padding5; } package_PrimaryKerberosCtr3; - typedef struct { + typedef [nopython] struct { [value(0)] uint16 reserved1; [value(0)] uint16 reserved2; [value(0)] uint32 reserved3; @@ -372,7 +372,7 @@ interface drsblobs { [relative,subcontext(0),subcontext_size(value_len),flag(NDR_REMAINING)] DATA_BLOB *value; } package_PrimaryKerberosKey4; - typedef struct { + typedef [nopython] struct { uint16 num_keys; [value(0)] uint16 num_service_keys; uint16 num_old_keys; @@ -385,12 +385,12 @@ interface drsblobs { package_PrimaryKerberosKey4 older_keys[num_older_keys]; } package_PrimaryKerberosCtr4; - typedef [nodiscriminant] union { + typedef [nodiscriminant,nopython] union { [case(3)] package_PrimaryKerberosCtr3 ctr3; [case(4)] package_PrimaryKerberosCtr4 ctr4; } package_PrimaryKerberosCtr; - typedef [public] struct { + typedef [public,nopython] struct { uint16 version; [value(0)] uint16 flags; [switch_is(version)] package_PrimaryKerberosCtr ctr; |