1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

security.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Gary Lockyer 2019-06-04 11:44:17 +12:00 committed by Andrew Bartlett
parent c89cfbd15d
commit dc78689425

View File

@ -592,19 +592,11 @@ interface security
[relative] security_acl *dacl; /* user (discretionary) ACL */
} security_descriptor;
[nopython] void decode_security_descriptor (
[in] security_descriptor sd
);
typedef [public] struct {
[range(0,0x40000),value(ndr_size_security_descriptor(sd,ndr->flags))] uint32 sd_size;
[subcontext(4)] security_descriptor *sd;
} sec_desc_buf;
[nopython] void decode_sec_desc_buf (
[in] sec_desc_buf sd_buf
);
/* This is not yet sent over the network, but is simply defined in IDL */
typedef [public] struct {
uint32 num_sids;
@ -613,10 +605,6 @@ interface security
lsa_SystemAccessModeFlags rights_mask;
} security_token;
[nopython] void decode_security_token (
[in] security_token token
);
/* This is not yet sent over the network, but is simply defined in IDL */
typedef [public] struct {
uid_t uid;
@ -625,10 +613,6 @@ interface security
[size_is(ngroups)] gid_t groups[*];
} security_unix_token;
[nopython] void decode_security_unix_token (
[in] security_unix_token unix_token
);
/* bits that determine which parts of a security descriptor
are being queried/set */
typedef [public,bitmap32bit] bitmap {