librpc/idl: Use [nopython] attr for types used in decode_PrimaryKerberos method
[amitay/samba.git] / librpc / idl / drsblobs.idl
index f25e178a0cb6a66f96d2d0f7f6c665ba50c76527..89b5760823ddf35956548c8e066be3c39e8bb2b9 100644 (file)
@@ -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;