re-run "make idl" after fixing unknowns in package_PrimaryKerberos (drsblobs.idl)
[kai/samba-autobuild/.git] / source / librpc / gen_ndr / drsblobs.h
1 /* header auto-generated by pidl */
2
3 #include <stdint.h>
4
5 #include "librpc/gen_ndr/drsuapi.h"
6 #include "librpc/gen_ndr/misc.h"
7 #ifndef _HEADER_drsblobs
8 #define _HEADER_drsblobs
9
10 #define SUPPLEMENTAL_CREDENTIALS_PREFIX ( "                                                " )
11 enum drsuapi_DsAttributeId;
12
13 struct replPropertyMetaData1 {
14         enum drsuapi_DsAttributeId attid;
15         uint32_t version;
16         NTTIME originating_change_time;
17         struct GUID originating_invocation_id;
18         uint64_t originating_usn;
19         uint64_t local_usn;
20 };
21
22 struct replPropertyMetaDataCtr1 {
23         uint32_t count;
24         uint32_t reserved;
25         struct replPropertyMetaData1 *array;
26 };
27
28 union replPropertyMetaDataCtr {
29         struct replPropertyMetaDataCtr1 ctr1;/* [case] */
30 }/* [nodiscriminant] */;
31
32 struct replPropertyMetaDataBlob {
33         uint32_t version;
34         uint32_t reserved;
35         union replPropertyMetaDataCtr ctr;/* [switch_is(version)] */
36 }/* [public] */;
37
38 struct replUpToDateVectorCtr1 {
39         uint32_t count;
40         uint32_t reserved;
41         struct drsuapi_DsReplicaCursor *cursors;
42 };
43
44 struct replUpToDateVectorCtr2 {
45         uint32_t count;
46         uint32_t reserved;
47         struct drsuapi_DsReplicaCursor2 *cursors;
48 };
49
50 union replUpToDateVectorCtr {
51         struct replUpToDateVectorCtr1 ctr1;/* [case] */
52         struct replUpToDateVectorCtr2 ctr2;/* [case(2)] */
53 }/* [nodiscriminant] */;
54
55 struct replUpToDateVectorBlob {
56         uint32_t version;
57         uint32_t reserved;
58         union replUpToDateVectorCtr ctr;/* [switch_is(version)] */
59 }/* [public] */;
60
61 struct repsFromTo1OtherInfo {
62         uint32_t __dns_name_size;/* [value(strlen(dns_name)+1)] */
63         const char *dns_name;/* [charset(DOS)] */
64 }/* [gensize,public] */;
65
66 struct repsFromTo1 {
67         uint32_t blobsize;/* [value(ndr_size_repsFromTo1(this,ndr->flags)+8)] */
68         uint32_t consecutive_sync_failures;
69         NTTIME last_success;
70         NTTIME last_attempt;
71         WERROR result_last_attempt;
72         struct repsFromTo1OtherInfo *other_info;/* [relative] */
73         uint32_t other_info_length;/* [value(ndr_size_repsFromTo1OtherInfo(other_info,ndr->flags))] */
74         uint32_t replica_flags;
75         uint8_t schedule[84];
76         uint32_t reserved;
77         struct drsuapi_DsReplicaHighWaterMark highwatermark;
78         struct GUID source_dsa_obj_guid;
79         struct GUID source_dsa_invocation_id;
80         struct GUID transport_guid;
81 }/* [gensize,public,flag(LIBNDR_PRINT_ARRAY_HEX)] */;
82
83 union repsFromTo {
84         struct repsFromTo1 ctr1;/* [case] */
85 }/* [nodiscriminant] */;
86
87 struct repsFromToBlob {
88         uint32_t version;
89         uint32_t reserved;
90         union repsFromTo ctr;/* [switch_is(version)] */
91 }/* [public] */;
92
93 struct partialAttributeSetCtr1 {
94         uint32_t count;
95         enum drsuapi_DsAttributeId *array;
96 };
97
98 union partialAttributeSetCtr {
99         struct partialAttributeSetCtr1 ctr1;/* [case] */
100 }/* [nodiscriminant] */;
101
102 struct partialAttributeSetBlob {
103         uint32_t version;
104         uint32_t reserved;
105         union partialAttributeSetCtr ctr;/* [switch_is(version)] */
106 }/* [public] */;
107
108 enum prefixMapVersion
109 #ifndef USE_UINT_ENUMS
110  {
111         PREFIX_MAP_VERSION_DSDB=0x44534442
112 }
113 #else
114  { __donnot_use_enum_prefixMapVersion=0x7FFFFFFF}
115 #define PREFIX_MAP_VERSION_DSDB ( 0x44534442 )
116 #endif
117 ;
118
119 union prefixMapCtr {
120         struct drsuapi_DsReplicaOIDMapping_Ctr dsdb;/* [case(PREFIX_MAP_VERSION_DSDB)] */
121 }/* [nodiscriminant] */;
122
123 struct prefixMapBlob {
124         enum prefixMapVersion version;
125         uint32_t reserved;
126         union prefixMapCtr ctr;/* [switch_is(version)] */
127 }/* [public] */;
128
129 union ldapControlDirSyncExtra {
130         struct replUpToDateVectorBlob uptodateness_vector;/* [default] */
131 }/* [gensize,nodiscriminant] */;
132
133 struct ldapControlDirSyncBlob {
134         uint32_t u1;/* [value(3)] */
135         NTTIME time;
136         uint32_t u2;
137         uint32_t u3;
138         uint32_t extra_length;/* [value(ndr_size_ldapControlDirSyncExtra(&extra,extra.uptodateness_vector.version,0))] */
139         struct drsuapi_DsReplicaHighWaterMark highwatermark;
140         struct GUID guid1;
141         union ldapControlDirSyncExtra extra;/* [switch_is(extra_length)] */
142 };
143
144 struct ldapControlDirSyncCookie {
145         const char *msds;/* [value("MSDS"),charset(DOS)] */
146         struct ldapControlDirSyncBlob blob;/* [subcontext(0)] */
147 }/* [relative_base,public] */;
148
149 struct supplementalCredentialsPackage {
150         uint16_t name_len;/* [value(2*strlen_m(name))] */
151         uint16_t data_len;/* [value(strlen(data))] */
152         uint16_t reserved;
153         const char *name;/* [charset(UTF16)] */
154         const char *data;/* [charset(DOS)] */
155 };
156
157 enum supplementalCredentialsSignature
158 #ifndef USE_UINT_ENUMS
159  {
160         SUPPLEMENTAL_CREDENTIALS_SIGNATURE=0x0050
161 }
162 #else
163  { __donnot_use_enum_supplementalCredentialsSignature=0x7FFFFFFF}
164 #define SUPPLEMENTAL_CREDENTIALS_SIGNATURE ( 0x0050 )
165 #endif
166 ;
167
168 struct supplementalCredentialsSubBlob {
169         const char *prefix;/* [value(SUPPLEMENTAL_CREDENTIALS_PREFIX),charset(UTF16)] */
170         enum supplementalCredentialsSignature signature;/* [value(SUPPLEMENTAL_CREDENTIALS_SIGNATURE)] */
171         uint16_t num_packages;
172         struct supplementalCredentialsPackage *packages;
173 }/* [gensize] */;
174
175 struct supplementalCredentialsBlob {
176         uint32_t unknown1;/* [value(0)] */
177         uint32_t __ndr_size;/* [value(ndr_size_supplementalCredentialsSubBlob(&sub,ndr->flags))] */
178         uint32_t unknown2;/* [value(0)] */
179         struct supplementalCredentialsSubBlob sub;/* [subcontext_size(__ndr_size),subcontext(0)] */
180         uint8_t unknown3;/* [value(0)] */
181 }/* [public] */;
182
183 struct package_PackagesBlob {
184         const char ** names;/* [flag(LIBNDR_FLAG_STR_NOTERM|LIBNDR_FLAG_REMAINING)] */
185 }/* [public] */;
186
187 struct package_PrimaryKerberosString {
188         uint16_t length;/* [value(2*strlen_m(string))] */
189         uint16_t size;/* [value(2*strlen_m(string))] */
190         const char * string;/* [relative,subcontext_size(size),subcontext(0),flag(LIBNDR_FLAG_STR_NOTERM|LIBNDR_FLAG_REMAINING)] */
191 };
192
193 struct package_PrimaryKerberosKey {
194         uint16_t reserved1;/* [value(0)] */
195         uint16_t reserved2;/* [value(0)] */
196         uint32_t reserved3;/* [value(0)] */
197         uint32_t keytype;
198         uint32_t value_len;/* [value((value?value->length:0))] */
199         DATA_BLOB *value;/* [relative,subcontext_size(value_len),subcontext(0),flag(LIBNDR_FLAG_REMAINING)] */
200 };
201
202 struct package_PrimaryKerberosCtr3 {
203         uint16_t num_keys;
204         uint16_t num_old_keys;
205         struct package_PrimaryKerberosString salt;
206         struct package_PrimaryKerberosKey *keys;
207         struct package_PrimaryKerberosKey *old_keys;
208         uint32_t padding1;/* [value(0)] */
209         uint32_t padding2;/* [value(0)] */
210         uint32_t padding3;/* [value(0)] */
211         uint32_t padding4;/* [value(0)] */
212         uint32_t padding5;/* [value(0)] */
213 };
214
215 union package_PrimaryKerberosCtr {
216         struct package_PrimaryKerberosCtr3 ctr3;/* [case(3)] */
217 }/* [nodiscriminant] */;
218
219 struct package_PrimaryKerberosBlob {
220         uint32_t version;/* [value(3)] */
221         union package_PrimaryKerberosCtr ctr;/* [switch_is(version)] */
222 }/* [public] */;
223
224 struct package_PrimaryCLEARTEXTBlob {
225         const char * cleartext;/* [flag(LIBNDR_FLAG_STR_NOTERM|LIBNDR_FLAG_REMAINING)] */
226 }/* [public] */;
227
228 struct package_PrimaryWDigestHash {
229         uint8_t hash[16];
230 }/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
231
232 struct package_PrimaryWDigestBlob {
233         uint16_t unknown1;/* [value(0x31)] */
234         uint8_t unknown2;/* [value(0x01)] */
235         uint8_t num_hashes;
236         uint32_t unknown3;/* [value(0)] */
237         uint64_t uuknown4;/* [value(0)] */
238         struct package_PrimaryWDigestHash *hashes;
239 }/* [public] */;
240
241 struct trustAuthInOutSecret1 {
242         NTTIME time1;
243         uint32_t unknown1;
244         DATA_BLOB value;
245         DATA_BLOB _pad;/* [flag(LIBNDR_FLAG_ALIGN4)] */
246 };
247
248 struct trustAuthInOutCtr1 {
249         struct trustAuthInOutSecret1 *value1;/* [relative] */
250         struct trustAuthInOutSecret1 *value2;/* [relative] */
251 };
252
253 struct trustAuthInOutSecret2V1 {
254         NTTIME time1;
255         uint32_t unknown1;
256         DATA_BLOB value;
257         NTTIME time2;
258         uint32_t unknown2;
259         uint32_t unknown3;
260         uint32_t unknown4;
261         DATA_BLOB _pad;/* [flag(LIBNDR_FLAG_ALIGN4)] */
262 };
263
264 struct trustAuthInOutSecret2V2 {
265         NTTIME time1;
266         uint32_t unknown1;
267         DATA_BLOB value;
268         NTTIME time2;
269         uint32_t unknown2;
270         uint32_t unknown3;
271         DATA_BLOB _pad;/* [flag(LIBNDR_FLAG_ALIGN4)] */
272 };
273
274 struct trustAuthInOutCtr2 {
275         struct trustAuthInOutSecret2V1 *value1;/* [relative] */
276         struct trustAuthInOutSecret2V2 *value2;/* [relative] */
277 };
278
279 union trustAuthInOutCtr {
280         struct trustAuthInOutCtr1 ctr1;/* [case] */
281         struct trustAuthInOutCtr2 ctr2;/* [case(2)] */
282 }/* [nodiscriminant] */;
283
284 struct trustAuthInOutBlob {
285         uint32_t version;
286         union trustAuthInOutCtr ctr;/* [switch_is(version)] */
287 }/* [public] */;
288
289 struct DsCompressedChunk {
290         uint32_t marker;
291         DATA_BLOB data;
292 }/* [public] */;
293
294 struct DsCompressedBlob {
295         struct DsCompressedChunk chunks[5];
296 }/* [public] */;
297
298
299 struct decode_replPropertyMetaData {
300         struct {
301                 struct replPropertyMetaDataBlob blob;
302         } in;
303
304 };
305
306
307 struct decode_replUpToDateVector {
308         struct {
309                 struct replUpToDateVectorBlob blob;
310         } in;
311
312 };
313
314
315 struct decode_repsFromTo {
316         struct {
317                 struct repsFromToBlob blob;
318         } in;
319
320 };
321
322
323 struct decode_partialAttributeSet {
324         struct {
325                 struct partialAttributeSetBlob blob;
326         } in;
327
328 };
329
330
331 struct decode_prefixMap {
332         struct {
333                 struct prefixMapBlob blob;
334         } in;
335
336 };
337
338
339 struct decode_ldapControlDirSync {
340         struct {
341                 struct ldapControlDirSyncCookie cookie;
342         } in;
343
344 };
345
346
347 struct decode_supplementalCredentials {
348         struct {
349                 struct supplementalCredentialsBlob blob;
350         } in;
351
352 };
353
354
355 struct decode_Packages {
356         struct {
357                 struct package_PackagesBlob blob;
358         } in;
359
360 };
361
362
363 struct decode_PrimaryKerberos {
364         struct {
365                 struct package_PrimaryKerberosBlob blob;
366         } in;
367
368 };
369
370
371 struct decode_PrimaryCLEARTEXT {
372         struct {
373                 struct package_PrimaryCLEARTEXTBlob blob;
374         } in;
375
376 };
377
378
379 struct decode_PrimaryWDigest {
380         struct {
381                 struct package_PrimaryWDigestBlob blob;
382         } in;
383
384 };
385
386
387 struct decode_trustAuthInOut {
388         struct {
389                 struct trustAuthInOutBlob blob;
390         } in;
391
392 };
393
394
395 struct decode_DsCompressed {
396         struct {
397                 struct DsCompressedBlob blob;
398         } in;
399
400 };
401
402 #endif /* _HEADER_drsblobs */