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/gen_ndr | |
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/gen_ndr')
-rw-r--r-- | librpc/gen_ndr/drsblobs.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/librpc/gen_ndr/drsblobs.h b/librpc/gen_ndr/drsblobs.h index 8a0dd1162b..3d5d0f27ef 100644 --- a/librpc/gen_ndr/drsblobs.h +++ b/librpc/gen_ndr/drsblobs.h @@ -236,7 +236,7 @@ struct package_PrimaryKerberosString { uint16_t length;/* [value(2*strlen_m(string))] */ uint16_t size;/* [value(2*strlen_m(string))] */ const char * string;/* [relative,subcontext_size(size),subcontext(0),flag(LIBNDR_FLAG_STR_NOTERM|LIBNDR_FLAG_REMAINING)] */ -}; +}/* [nopython] */; struct package_PrimaryKerberosKey3 { uint16_t reserved1;/* [value(0)] */ @@ -245,7 +245,7 @@ struct package_PrimaryKerberosKey3 { uint32_t keytype; uint32_t value_len;/* [value((value?value->length:0))] */ DATA_BLOB *value;/* [relative,subcontext_size(value_len),subcontext(0),flag(LIBNDR_FLAG_REMAINING)] */ -}; +}/* [nopython] */; struct package_PrimaryKerberosCtr3 { uint16_t num_keys; @@ -258,7 +258,7 @@ struct package_PrimaryKerberosCtr3 { uint32_t padding3;/* [value(0)] */ uint32_t padding4;/* [value(0)] */ uint32_t padding5;/* [value(0)] */ -}; +}/* [nopython] */; struct package_PrimaryKerberosKey4 { uint16_t reserved1;/* [value(0)] */ @@ -268,7 +268,7 @@ struct package_PrimaryKerberosKey4 { uint32_t keytype; uint32_t value_len;/* [value((value?value->length:0))] */ DATA_BLOB *value;/* [relative,subcontext_size(value_len),subcontext(0),flag(LIBNDR_FLAG_REMAINING)] */ -}; +}/* [nopython] */; struct package_PrimaryKerberosCtr4 { uint16_t num_keys; @@ -281,18 +281,18 @@ struct package_PrimaryKerberosCtr4 { struct package_PrimaryKerberosKey4 *service_keys; struct package_PrimaryKerberosKey4 *old_keys; struct package_PrimaryKerberosKey4 *older_keys; -}; +}/* [nopython] */; union package_PrimaryKerberosCtr { struct package_PrimaryKerberosCtr3 ctr3;/* [case(3)] */ struct package_PrimaryKerberosCtr4 ctr4;/* [case(4)] */ -}/* [nodiscriminant] */; +}/* [nopython,nodiscriminant] */; struct package_PrimaryKerberosBlob { uint16_t version; uint16_t flags;/* [value(0)] */ union package_PrimaryKerberosCtr ctr;/* [switch_is(version)] */ -}/* [public] */; +}/* [nopython,public] */; struct package_PrimaryCLEARTEXTBlob { DATA_BLOB cleartext;/* [flag(LIBNDR_FLAG_REMAINING)] */ |