summaryrefslogtreecommitdiff
path: root/librpc/idl/drsblobs.idl
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/idl/drsblobs.idl')
-rw-r--r--librpc/idl/drsblobs.idl10
1 files changed, 7 insertions, 3 deletions
diff --git a/librpc/idl/drsblobs.idl b/librpc/idl/drsblobs.idl
index 7cfcc1c3c5..0df5bc15e2 100644
--- a/librpc/idl/drsblobs.idl
+++ b/librpc/idl/drsblobs.idl
@@ -602,18 +602,22 @@ interface drsblobs {
/* meaning of flags depends on record type and values are
the same as in lsa.idl, see collision record types */
- typedef [flag(NDR_NOALIGN)] struct {
- uint32 length;
+ typedef [public,gensize,flag(NDR_NOALIGN)] struct {
uint32 flags;
NTTIME timestamp;
ForestTrustInfoRecordType type;
[switch_is(type)] ForestTrustData data;
} ForestTrustInfoRecord;
+ typedef [flag(NDR_NOALIGN)] struct {
+ [value(ndr_size_ForestTrustInfoRecord(&record, ndr->iconv_convenience, ndr->flags))] uint32 record_size;
+ ForestTrustInfoRecord record;
+ } ForestTrustInfoRecordArmor;
+
typedef [public,flag(NDR_NOALIGN)] struct {
uint32 version;
uint32 count;
- ForestTrustInfoRecord records[count];
+ ForestTrustInfoRecordArmor records[count];
} ForestTrustInfo;
void decode_ForestTrustInfo(