drsblobs.idl: remove decode functions
authorGary Lockyer <gary@catalyst.net.nz>
Fri, 31 May 2019 03:49:20 +0000 (15:49 +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/drsblobs.idl

index 5fd11bbc88065c2019a07b3625c3576b78ec38bc..072546a43694d6ae2b28e0a2be1a619b43f03bc5 100644 (file)
@@ -30,10 +30,6 @@ interface drsblobs {
                hyper local_usn;
        } replPropertyMetaData1;
 
-       void decode_replPropertyMetaData1(
-               [in] replPropertyMetaData1 blob
-               );
-
        typedef struct {
                uint32 count;
                [value(0)] uint32 reserved;
@@ -50,10 +46,6 @@ interface drsblobs {
                [switch_is(version)] replPropertyMetaDataCtr ctr;
        } replPropertyMetaDataBlob;
 
-       void decode_replPropertyMetaData(
-               [in] replPropertyMetaDataBlob blob
-               );
-
        /*
         * replUpToDateVector
         * w2k  uses version 1
@@ -82,10 +74,6 @@ interface drsblobs {
                [switch_is(version)] replUpToDateVectorCtr ctr;
        } replUpToDateVectorBlob;
 
-       void decode_replUpToDateVector(
-               [in] replUpToDateVectorBlob blob
-               );
-
        /*
         * repsFrom/repsTo
         * w2k  uses version 1
@@ -154,10 +142,6 @@ interface drsblobs {
                [switch_is(version)] repsFromTo ctr;
        } repsFromToBlob;
 
-       void decode_repsFromTo(
-               [in] repsFromToBlob blob
-               );
-
        /* Replication schedule structures as defined in MS-ADTS 7.1.4.5
          * Appears as attribute of NTDSConnection object
          */
@@ -198,11 +182,6 @@ interface drsblobs {
                [switch_is(version)] partialAttributeSetCtr ctr;
        } partialAttributeSetBlob;
 
-       void decode_partialAttributeSet(
-               [in] partialAttributeSetBlob blob
-               );
-
-
        /*
         * schemaInfo attribute
         *
@@ -264,11 +243,6 @@ interface drsblobs {
                [switch_is(version)] prefixMapCtr ctr;
        } prefixMapBlob;
 
-       void decode_prefixMap(
-               [in] prefixMapBlob blob
-               );
-
-
        /*
         * the cookie for the LDAP dirsync control
         */
@@ -294,10 +268,6 @@ interface drsblobs {
                [subcontext(0)] ldapControlDirSyncBlob blob;
        } ldapControlDirSyncCookie;
 
-       void decode_ldapControlDirSync(
-               [in] ldapControlDirSyncCookie cookie
-               );
-
        typedef [public] struct {
                [value(2*strlen_m(name))] uint16 name_len;
                [value(strlen(data))] uint16 data_len;
@@ -359,18 +329,10 @@ interface drsblobs {
                [value(0)] uint8 unknown3;
        } supplementalCredentialsBlob;
 
-       void decode_supplementalCredentials(
-               [in] supplementalCredentialsBlob blob
-               );
-
        typedef [public] struct {
                [flag(STR_NOTERM|NDR_REMAINING)] string_array names;
        } package_PackagesBlob;
 
-       void decode_Packages(
-               [in] package_PackagesBlob blob
-               );
-
        typedef struct {
                [value(2*strlen_m(string))] uint16 length;
                [value(2*strlen_m(string))] uint16 size;
@@ -433,18 +395,10 @@ interface drsblobs {
                [switch_is(version)] package_PrimaryKerberosCtr ctr;
        } package_PrimaryKerberosBlob;
 
-       void decode_PrimaryKerberos(
-               [in] package_PrimaryKerberosBlob blob
-               );
-
        typedef [public] struct {
                [flag(NDR_REMAINING)] DATA_BLOB cleartext;
        } package_PrimaryCLEARTEXTBlob;
 
-       void decode_PrimaryCLEARTEXT(
-               [in] package_PrimaryCLEARTEXTBlob blob
-               );
-
        typedef [flag(NDR_PAHEX)] struct {
                uint8 hash[16];
        } package_PrimaryWDigestHash;
@@ -458,18 +412,10 @@ interface drsblobs {
                package_PrimaryWDigestHash hashes[num_hashes];
        } package_PrimaryWDigestBlob;
 
-       void decode_PrimaryWDigest(
-               [in] package_PrimaryWDigestBlob blob
-               );
-
        typedef [public] struct {
                [flag(NDR_REMAINING)] DATA_BLOB gpg_blob;
        } package_PrimarySambaGPGBlob;
 
-       void decode_PrimarySambaGPG(
-               [in] package_PrimarySambaGPGBlob blob
-               );
-
        /*
         * Password hashes stored in a scheme compatible with
         * OpenLDAP's userPassword attribute. The Package is named
@@ -500,10 +446,6 @@ interface drsblobs {
                package_PrimaryUserPasswordValue hashes[num_hashes];
        } package_PrimaryUserPasswordBlob;
 
-       void decode_PrimaryUserPasswordBlob(
-               [in] package_PrimaryUserPasswordBlob blob
-       );
-
        typedef struct {
                [value(0)] uint32 size;
        } AuthInfoNone;
@@ -568,10 +510,6 @@ interface drsblobs {
                [subcontext(0)] [flag(NDR_REMAINING)] AuthenticationInformationArray previous;
        } trustAuthInOutBlob;
 
-       [nopython] void decode_trustAuthInOut(
-               [in] trustAuthInOutBlob blob
-               );
-
        typedef [public,nopull] struct {
                uint8 confounder[512];
                [subcontext(0),subcontext_size(outgoing_size)] trustAuthInOutBlob outgoing;
@@ -580,10 +518,6 @@ interface drsblobs {
                [value(ndr_size_trustAuthInOutBlob(&incoming, ndr->flags))] uint32 incoming_size;
        } trustDomainPasswords;
 
-       [nopython] void decode_trustDomainPasswords(
-               [in] trustDomainPasswords blob
-               );
-
        typedef [public] struct {
                uint32 marker;
                DATA_BLOB data;
@@ -661,10 +595,6 @@ interface drsblobs {
                [unique] ExtendedErrorInfo *info;
        } ExtendedErrorInfoPtr;
 
-       [nopython] void decode_ExtendedErrorInfo (
-               [in,subcontext(0xFFFFFC01)] ExtendedErrorInfoPtr ptr
-               );
-
        /* MS-ADTS 7.1.6.9.3 msDS-TrustForestTrustInfo Attribute */
 
        typedef struct {
@@ -718,10 +648,6 @@ interface drsblobs {
                ForestTrustInfoRecordArmor records[count];
        } ForestTrustInfo;
 
-       [nopython] void decode_ForestTrustInfo(
-               [in] ForestTrustInfo blob
-               );
-
        typedef enum {
                ENC_SECRET_AES_128_AEAD = 1
        } EncryptedSecretAlgorithm;