drsuapi: rerun make idl and add drsblobs generated files.
[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 ( "                                                P" )
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 unknown1;
153         const char *name;/* [charset(UTF16)] */
154         const char *data;/* [charset(DOS)] */
155 };
156
157 struct supplementalCredentialsSubBlob {
158         const char *prefix;/* [value(SUPPLEMENTAL_CREDENTIALS_PREFIX),charset(UTF16)] */
159         uint16_t num_packages;
160         struct supplementalCredentialsPackage *packages;
161 }/* [gensize] */;
162
163 struct supplementalCredentialsBlob {
164         uint32_t unknown1;/* [value(0)] */
165         uint32_t __ndr_size;/* [value(ndr_size_supplementalCredentialsSubBlob(&sub,ndr->flags))] */
166         uint32_t unknown2;/* [value(0)] */
167         struct supplementalCredentialsSubBlob sub;/* [subcontext_size(__ndr_size),subcontext(0)] */
168         uint8_t unknown3;/* [value(0)] */
169 }/* [public] */;
170
171 struct package_PackagesBlob {
172         const char ** names;/* [flag(LIBNDR_FLAG_STR_NOTERM|LIBNDR_FLAG_REMAINING)] */
173 }/* [public] */;
174
175 struct package_PrimaryKerberosString {
176         uint16_t length;/* [value(2*strlen_m(string))] */
177         uint16_t size;/* [value(2*strlen_m(string))] */
178         const char * string;/* [relative,subcontext_size(size),subcontext(0),flag(LIBNDR_FLAG_STR_NOTERM|LIBNDR_FLAG_REMAINING)] */
179 };
180
181 struct package_PrimaryKerberosKey {
182         uint32_t keytype;
183         uint32_t value_len;/* [value((value?value->length:0))] */
184         DATA_BLOB *value;/* [relative,subcontext_size(value_len),subcontext(0),flag(LIBNDR_FLAG_REMAINING)] */
185         uint32_t unknown1;/* [value(0)] */
186         uint32_t unknown2;/* [value(0)] */
187 };
188
189 struct package_PrimaryKerberosCtr3 {
190         uint16_t num_keys;
191         uint16_t num_old_keys;
192         struct package_PrimaryKerberosString salt;
193         uint32_t unknown1;/* [value(0)] */
194         uint32_t unknown2;/* [value(0)] */
195         struct package_PrimaryKerberosKey *keys;
196         struct package_PrimaryKerberosKey *old_keys;
197         uint64_t *unknown3;
198         uint64_t *unknown3_old;
199 };
200
201 union package_PrimaryKerberosCtr {
202         struct package_PrimaryKerberosCtr3 ctr3;/* [case(3)] */
203 }/* [nodiscriminant] */;
204
205 struct package_PrimaryKerberosBlob {
206         uint32_t version;/* [value(3)] */
207         union package_PrimaryKerberosCtr ctr;/* [switch_is(version)] */
208 }/* [public] */;
209
210 struct package_PrimaryCLEARTEXTBlob {
211         const char * cleartext;/* [flag(LIBNDR_FLAG_STR_NOTERM|LIBNDR_FLAG_REMAINING)] */
212 }/* [public] */;
213
214 struct package_PrimaryWDigestHash {
215         uint8_t hash[16];
216 }/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
217
218 struct package_PrimaryWDigestBlob {
219         uint16_t unknown1;/* [value(0x31)] */
220         uint8_t unknown2;/* [value(0x01)] */
221         uint8_t num_hashes;
222         uint32_t unknown3;/* [value(0)] */
223         uint64_t uuknown4;/* [value(0)] */
224         struct package_PrimaryWDigestHash *hashes;
225 }/* [public] */;
226
227 struct trustAuthInOutSecret1 {
228         NTTIME time1;
229         uint32_t unknown1;
230         DATA_BLOB value;
231         DATA_BLOB _pad;/* [flag(LIBNDR_FLAG_ALIGN4)] */
232 };
233
234 struct trustAuthInOutCtr1 {
235         struct trustAuthInOutSecret1 *value1;/* [relative] */
236         struct trustAuthInOutSecret1 *value2;/* [relative] */
237 };
238
239 struct trustAuthInOutSecret2V1 {
240         NTTIME time1;
241         uint32_t unknown1;
242         DATA_BLOB value;
243         NTTIME time2;
244         uint32_t unknown2;
245         uint32_t unknown3;
246         uint32_t unknown4;
247         DATA_BLOB _pad;/* [flag(LIBNDR_FLAG_ALIGN4)] */
248 };
249
250 struct trustAuthInOutSecret2V2 {
251         NTTIME time1;
252         uint32_t unknown1;
253         DATA_BLOB value;
254         NTTIME time2;
255         uint32_t unknown2;
256         uint32_t unknown3;
257         DATA_BLOB _pad;/* [flag(LIBNDR_FLAG_ALIGN4)] */
258 };
259
260 struct trustAuthInOutCtr2 {
261         struct trustAuthInOutSecret2V1 *value1;/* [relative] */
262         struct trustAuthInOutSecret2V2 *value2;/* [relative] */
263 };
264
265 union trustAuthInOutCtr {
266         struct trustAuthInOutCtr1 ctr1;/* [case] */
267         struct trustAuthInOutCtr2 ctr2;/* [case(2)] */
268 }/* [nodiscriminant] */;
269
270 struct trustAuthInOutBlob {
271         uint32_t version;
272         union trustAuthInOutCtr ctr;/* [switch_is(version)] */
273 }/* [public] */;
274
275 struct DsCompressedChunk {
276         uint32_t marker;
277         DATA_BLOB data;
278 }/* [public] */;
279
280 struct DsCompressedBlob {
281         struct DsCompressedChunk chunks[5];
282 }/* [public] */;
283
284
285 struct decode_replPropertyMetaData {
286         struct {
287                 struct replPropertyMetaDataBlob blob;
288         } in;
289
290 };
291
292
293 struct decode_replUpToDateVector {
294         struct {
295                 struct replUpToDateVectorBlob blob;
296         } in;
297
298 };
299
300
301 struct decode_repsFromTo {
302         struct {
303                 struct repsFromToBlob blob;
304         } in;
305
306 };
307
308
309 struct decode_partialAttributeSet {
310         struct {
311                 struct partialAttributeSetBlob blob;
312         } in;
313
314 };
315
316
317 struct decode_prefixMap {
318         struct {
319                 struct prefixMapBlob blob;
320         } in;
321
322 };
323
324
325 struct decode_ldapControlDirSync {
326         struct {
327                 struct ldapControlDirSyncCookie cookie;
328         } in;
329
330 };
331
332
333 struct decode_supplementalCredentials {
334         struct {
335                 struct supplementalCredentialsBlob blob;
336         } in;
337
338 };
339
340
341 struct decode_Packages {
342         struct {
343                 struct package_PackagesBlob blob;
344         } in;
345
346 };
347
348
349 struct decode_PrimaryKerberos {
350         struct {
351                 struct package_PrimaryKerberosBlob blob;
352         } in;
353
354 };
355
356
357 struct decode_PrimaryCLEARTEXT {
358         struct {
359                 struct package_PrimaryCLEARTEXTBlob blob;
360         } in;
361
362 };
363
364
365 struct decode_PrimaryWDigest {
366         struct {
367                 struct package_PrimaryWDigestBlob blob;
368         } in;
369
370 };
371
372
373 struct decode_trustAuthInOut {
374         struct {
375                 struct trustAuthInOutBlob blob;
376         } in;
377
378 };
379
380
381 struct decode_DsCompressed {
382         struct {
383                 struct DsCompressedBlob blob;
384         } in;
385
386 };
387
388 #endif /* _HEADER_drsblobs */