security.idl: remove unused decode functions
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 3 Jun 2019 23:44:17 +0000 (11:44 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 03:30:18 +0000 (03:30 +0000)
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>
librpc/idl/security.idl

index 5930f448955a4f7c1470977c65094566773acb81..4dcc37a0c513b78ab4725a46ff3c2ef9d094ea70 100644 (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 {