Clarify use of manual parsers in trustInOutBlob (drsblobs.idl)
authorAndrew Bartlett <abartlet@samba.org>
Wed, 1 Oct 2008 20:10:11 +0000 (13:10 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 6 Oct 2008 21:28:25 +0000 (14:28 -0700)
source4/librpc/idl/drsblobs.idl

index 31fe8a359e848d0e7cdf1e61cc91662ec8882fe5..4274d2000a10f2d6ab6bc7bcfc3a728f310fb7a8 100644 (file)
@@ -409,21 +409,23 @@ interface drsblobs {
                [size_is(1)] AuthenticationInformation array[];
        } AuthenticationInformationArray;
 
                [size_is(1)] AuthenticationInformation array[];
        } AuthenticationInformationArray;
 
+       /* This is nopull,nopush because we pass count down to the
+        * manual parser of AuthenticationInformationArray */
        typedef [public,nopull,nopush,noprint,gensize] struct {
                uint32 count;
                [relative] AuthenticationInformationArray *current;
                [relative] AuthenticationInformationArray *previous;
        } trustAuthInOutBlob;
 
        typedef [public,nopull,nopush,noprint,gensize] struct {
                uint32 count;
                [relative] AuthenticationInformationArray *current;
                [relative] AuthenticationInformationArray *previous;
        } trustAuthInOutBlob;
 
+       void decode_trustAuthInOut(
+               [in] trustAuthInOutBlob blob
+               );
+
        typedef [public,gensize] struct {
                uint32 count;
                [relative] AuthenticationInformation *current[count];
        } trustCurrentPasswords;
 
        typedef [public,gensize] struct {
                uint32 count;
                [relative] AuthenticationInformation *current[count];
        } trustCurrentPasswords;
 
-       void decode_trustAuthInOut(
-               [in] trustAuthInOutBlob blob
-               );
-
        typedef [public,nopull] struct {
                uint8 confounder[512];
                [subcontext(0),subcontext_size(outgoing_size)] trustCurrentPasswords outgoing;
        typedef [public,nopull] struct {
                uint8 confounder[512];
                [subcontext(0),subcontext_size(outgoing_size)] trustCurrentPasswords outgoing;