Line data Source code
1 : /* parser auto-generated by pidl */
2 :
3 : #include "includes.h"
4 : #include "bin/default/librpc/gen_ndr/ndr_frsapi.h"
5 :
6 : #include "librpc/gen_ndr/ndr_misc.h"
7 0 : static enum ndr_err_code ndr_push_frsapi_InfoEnum(struct ndr_push *ndr, ndr_flags_type ndr_flags, enum frsapi_InfoEnum r)
8 : {
9 0 : NDR_CHECK(ndr_push_enum_uint32(ndr, NDR_SCALARS, r));
10 0 : return NDR_ERR_SUCCESS;
11 : }
12 :
13 0 : static enum ndr_err_code ndr_pull_frsapi_InfoEnum(struct ndr_pull *ndr, ndr_flags_type ndr_flags, enum frsapi_InfoEnum *r)
14 : {
15 0 : uint32_t v;
16 0 : NDR_CHECK(ndr_pull_enum_uint32(ndr, NDR_SCALARS, &v));
17 0 : *r = v;
18 0 : return NDR_ERR_SUCCESS;
19 : }
20 :
21 0 : _PUBLIC_ void ndr_print_frsapi_InfoEnum(struct ndr_print *ndr, const char *name, enum frsapi_InfoEnum r)
22 : {
23 0 : const char *val = NULL;
24 :
25 0 : switch (r) {
26 0 : case FRSAPI_INFO_VERSION: val = "FRSAPI_INFO_VERSION"; break;
27 0 : case FRSAPI_INFO_SETS: val = "FRSAPI_INFO_SETS"; break;
28 0 : case FRSAPI_INFO_DS: val = "FRSAPI_INFO_DS"; break;
29 0 : case FRSAPI_INFO_MEMORY: val = "FRSAPI_INFO_MEMORY"; break;
30 0 : case FRSAPI_INFO_IDTABLE: val = "FRSAPI_INFO_IDTABLE"; break;
31 0 : case FRSAPI_INFO_OUTLOG: val = "FRSAPI_INFO_OUTLOG"; break;
32 0 : case FRSAPI_INFO_INLOG: val = "FRSAPI_INFO_INLOG"; break;
33 0 : case FRSAPI_INFO_THREADS: val = "FRSAPI_INFO_THREADS"; break;
34 0 : case FRSAPI_INFO_STAGE: val = "FRSAPI_INFO_STAGE"; break;
35 0 : case FRSAPI_INFO_CONFIGTABLE: val = "FRSAPI_INFO_CONFIGTABLE"; break;
36 : }
37 0 : ndr_print_enum(ndr, name, "ENUM", val, r);
38 0 : }
39 :
40 0 : static enum ndr_err_code ndr_push_frsapi_Info(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct frsapi_Info *r)
41 : {
42 0 : NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
43 0 : if (ndr_flags & NDR_SCALARS) {
44 0 : NDR_CHECK(ndr_push_align(ndr, 4));
45 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->length));
46 0 : NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->guid));
47 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->length2));
48 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->unknown1));
49 0 : NDR_CHECK(ndr_push_frsapi_InfoEnum(ndr, NDR_SCALARS, r->level));
50 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->query_counter));
51 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->unknown2));
52 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->offset));
53 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->blob_len));
54 : {
55 0 : libndr_flags _flags_save_DATA_BLOB = ndr->flags;
56 0 : ndr_set_flags(&ndr->flags, LIBNDR_FLAG_REMAINING);
57 : {
58 0 : struct ndr_push *_ndr_blob;
59 0 : NDR_CHECK(ndr_push_subcontext_start(ndr, &_ndr_blob, 0, r->length - r->offset));
60 0 : NDR_CHECK(ndr_push_DATA_BLOB(_ndr_blob, NDR_SCALARS, r->blob));
61 0 : NDR_CHECK(ndr_push_subcontext_end(ndr, _ndr_blob, 0, r->length - r->offset));
62 : }
63 0 : ndr->flags = _flags_save_DATA_BLOB;
64 : }
65 0 : NDR_CHECK(ndr_push_trailer_align(ndr, 4));
66 : }
67 0 : if (ndr_flags & NDR_BUFFERS) {
68 0 : }
69 0 : return NDR_ERR_SUCCESS;
70 : }
71 :
72 0 : static enum ndr_err_code ndr_pull_frsapi_Info(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct frsapi_Info *r)
73 : {
74 0 : NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
75 0 : if (ndr_flags & NDR_SCALARS) {
76 0 : NDR_CHECK(ndr_pull_align(ndr, 4));
77 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->length));
78 0 : NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->guid));
79 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->length2));
80 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->unknown1));
81 0 : NDR_CHECK(ndr_pull_frsapi_InfoEnum(ndr, NDR_SCALARS, &r->level));
82 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->query_counter));
83 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->unknown2));
84 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->offset));
85 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->blob_len));
86 : {
87 0 : libndr_flags _flags_save_DATA_BLOB = ndr->flags;
88 0 : ndr_set_flags(&ndr->flags, LIBNDR_FLAG_REMAINING);
89 : {
90 0 : struct ndr_pull *_ndr_blob;
91 0 : NDR_CHECK(ndr_pull_subcontext_start(ndr, &_ndr_blob, 0, r->length - r->offset));
92 0 : NDR_CHECK(ndr_pull_DATA_BLOB(_ndr_blob, NDR_SCALARS, &r->blob));
93 0 : NDR_CHECK(ndr_pull_subcontext_end(ndr, _ndr_blob, 0, r->length - r->offset));
94 : }
95 0 : ndr->flags = _flags_save_DATA_BLOB;
96 : }
97 0 : NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
98 : }
99 0 : if (ndr_flags & NDR_BUFFERS) {
100 0 : }
101 0 : return NDR_ERR_SUCCESS;
102 : }
103 :
104 0 : _PUBLIC_ void ndr_print_frsapi_Info(struct ndr_print *ndr, const char *name, const struct frsapi_Info *r)
105 : {
106 0 : ndr_print_struct(ndr, name, "frsapi_Info");
107 0 : if (r == NULL) { ndr_print_null(ndr); return; }
108 0 : ndr->depth++;
109 0 : ndr_print_uint32(ndr, "length", r->length);
110 0 : ndr_print_GUID(ndr, "guid", &r->guid);
111 0 : ndr_print_uint32(ndr, "length2", r->length2);
112 0 : ndr_print_uint32(ndr, "unknown1", r->unknown1);
113 0 : ndr_print_frsapi_InfoEnum(ndr, "level", r->level);
114 0 : ndr_print_uint32(ndr, "query_counter", r->query_counter);
115 0 : ndr_print_uint32(ndr, "unknown2", r->unknown2);
116 0 : ndr_print_uint32(ndr, "offset", r->offset);
117 0 : ndr_print_uint32(ndr, "blob_len", r->blob_len);
118 : {
119 0 : libndr_flags _flags_save_DATA_BLOB = ndr->flags;
120 0 : ndr_set_flags(&ndr->flags, LIBNDR_FLAG_REMAINING);
121 0 : ndr_print_DATA_BLOB(ndr, "blob", r->blob);
122 0 : ndr->flags = _flags_save_DATA_BLOB;
123 : }
124 0 : ndr->depth--;
125 : }
126 :
127 0 : static enum ndr_err_code ndr_push_frsapi_ReplicaSetType(struct ndr_push *ndr, ndr_flags_type ndr_flags, enum frsapi_ReplicaSetType r)
128 : {
129 0 : NDR_CHECK(ndr_push_enum_uint32(ndr, NDR_SCALARS, r));
130 0 : return NDR_ERR_SUCCESS;
131 : }
132 :
133 0 : static enum ndr_err_code ndr_pull_frsapi_ReplicaSetType(struct ndr_pull *ndr, ndr_flags_type ndr_flags, enum frsapi_ReplicaSetType *r)
134 : {
135 0 : uint32_t v;
136 0 : NDR_CHECK(ndr_pull_enum_uint32(ndr, NDR_SCALARS, &v));
137 0 : *r = v;
138 0 : return NDR_ERR_SUCCESS;
139 : }
140 :
141 0 : _PUBLIC_ void ndr_print_frsapi_ReplicaSetType(struct ndr_print *ndr, const char *name, enum frsapi_ReplicaSetType r)
142 : {
143 0 : const char *val = NULL;
144 :
145 0 : switch (r) {
146 0 : case FRSAPI_REPLICA_SET_TYPE_0: val = "FRSAPI_REPLICA_SET_TYPE_0"; break;
147 0 : case FRSAPI_REPLICA_SET_TYPE_DOMAIN: val = "FRSAPI_REPLICA_SET_TYPE_DOMAIN"; break;
148 0 : case FRSAPI_REPLICA_SET_TYPE_DFS: val = "FRSAPI_REPLICA_SET_TYPE_DFS"; break;
149 : }
150 0 : ndr_print_enum(ndr, name, "ENUM", val, r);
151 0 : }
152 :
153 0 : static enum ndr_err_code ndr_push_frsapi_WriterCommandsValues(struct ndr_push *ndr, ndr_flags_type ndr_flags, enum frsapi_WriterCommandsValues r)
154 : {
155 0 : NDR_CHECK(ndr_push_enum_uint32(ndr, NDR_SCALARS, r));
156 0 : return NDR_ERR_SUCCESS;
157 : }
158 :
159 0 : static enum ndr_err_code ndr_pull_frsapi_WriterCommandsValues(struct ndr_pull *ndr, ndr_flags_type ndr_flags, enum frsapi_WriterCommandsValues *r)
160 : {
161 0 : uint32_t v;
162 0 : NDR_CHECK(ndr_pull_enum_uint32(ndr, NDR_SCALARS, &v));
163 0 : *r = v;
164 0 : return NDR_ERR_SUCCESS;
165 : }
166 :
167 0 : _PUBLIC_ void ndr_print_frsapi_WriterCommandsValues(struct ndr_print *ndr, const char *name, enum frsapi_WriterCommandsValues r)
168 : {
169 0 : const char *val = NULL;
170 :
171 0 : switch (r) {
172 0 : case FRSAPI_WRITER_COMMAND_FREEZE: val = "FRSAPI_WRITER_COMMAND_FREEZE"; break;
173 0 : case FRSAPI_WRITER_COMMAND_THAW: val = "FRSAPI_WRITER_COMMAND_THAW"; break;
174 : }
175 0 : ndr_print_enum(ndr, name, "ENUM", val, r);
176 0 : }
177 :
178 0 : static enum ndr_err_code ndr_push_FRSAPI_VERIFY_PROMOTION(struct ndr_push *ndr, ndr_flags_type flags, const struct FRSAPI_VERIFY_PROMOTION *r)
179 : {
180 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
181 0 : if (flags & NDR_IN) {
182 : }
183 0 : if (flags & NDR_OUT) {
184 : }
185 0 : return NDR_ERR_SUCCESS;
186 : }
187 :
188 0 : static enum ndr_err_code ndr_pull_FRSAPI_VERIFY_PROMOTION(struct ndr_pull *ndr, ndr_flags_type flags, struct FRSAPI_VERIFY_PROMOTION *r)
189 : {
190 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
191 0 : if (flags & NDR_IN) {
192 : }
193 0 : if (flags & NDR_OUT) {
194 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
195 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
196 : }
197 0 : return NDR_ERR_SUCCESS;
198 : }
199 :
200 0 : _PUBLIC_ void ndr_print_FRSAPI_VERIFY_PROMOTION(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct FRSAPI_VERIFY_PROMOTION *r)
201 : {
202 0 : ndr_print_struct(ndr, name, "FRSAPI_VERIFY_PROMOTION");
203 0 : if (r == NULL) { ndr_print_null(ndr); return; }
204 0 : ndr->depth++;
205 0 : if (flags & NDR_SET_VALUES) {
206 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
207 : }
208 0 : if (flags & NDR_IN) {
209 0 : ndr_print_struct(ndr, "in", "FRSAPI_VERIFY_PROMOTION");
210 0 : ndr->depth++;
211 0 : ndr->depth--;
212 : }
213 0 : if (flags & NDR_OUT) {
214 0 : ndr_print_struct(ndr, "out", "FRSAPI_VERIFY_PROMOTION");
215 0 : ndr->depth++;
216 0 : ndr->depth--;
217 : }
218 0 : ndr->depth--;
219 : }
220 :
221 0 : static enum ndr_err_code ndr_push_FRSAPI_PROMOTION_STATUS(struct ndr_push *ndr, ndr_flags_type flags, const struct FRSAPI_PROMOTION_STATUS *r)
222 : {
223 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
224 0 : if (flags & NDR_IN) {
225 : }
226 0 : if (flags & NDR_OUT) {
227 : }
228 0 : return NDR_ERR_SUCCESS;
229 : }
230 :
231 0 : static enum ndr_err_code ndr_pull_FRSAPI_PROMOTION_STATUS(struct ndr_pull *ndr, ndr_flags_type flags, struct FRSAPI_PROMOTION_STATUS *r)
232 : {
233 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
234 0 : if (flags & NDR_IN) {
235 : }
236 0 : if (flags & NDR_OUT) {
237 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
238 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
239 : }
240 0 : return NDR_ERR_SUCCESS;
241 : }
242 :
243 0 : _PUBLIC_ void ndr_print_FRSAPI_PROMOTION_STATUS(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct FRSAPI_PROMOTION_STATUS *r)
244 : {
245 0 : ndr_print_struct(ndr, name, "FRSAPI_PROMOTION_STATUS");
246 0 : if (r == NULL) { ndr_print_null(ndr); return; }
247 0 : ndr->depth++;
248 0 : if (flags & NDR_SET_VALUES) {
249 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
250 : }
251 0 : if (flags & NDR_IN) {
252 0 : ndr_print_struct(ndr, "in", "FRSAPI_PROMOTION_STATUS");
253 0 : ndr->depth++;
254 0 : ndr->depth--;
255 : }
256 0 : if (flags & NDR_OUT) {
257 0 : ndr_print_struct(ndr, "out", "FRSAPI_PROMOTION_STATUS");
258 0 : ndr->depth++;
259 0 : ndr->depth--;
260 : }
261 0 : ndr->depth--;
262 : }
263 :
264 0 : static enum ndr_err_code ndr_push_FRSAPI_START_DEMOTION(struct ndr_push *ndr, ndr_flags_type flags, const struct FRSAPI_START_DEMOTION *r)
265 : {
266 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
267 0 : if (flags & NDR_IN) {
268 : }
269 0 : if (flags & NDR_OUT) {
270 : }
271 0 : return NDR_ERR_SUCCESS;
272 : }
273 :
274 0 : static enum ndr_err_code ndr_pull_FRSAPI_START_DEMOTION(struct ndr_pull *ndr, ndr_flags_type flags, struct FRSAPI_START_DEMOTION *r)
275 : {
276 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
277 0 : if (flags & NDR_IN) {
278 : }
279 0 : if (flags & NDR_OUT) {
280 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
281 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
282 : }
283 0 : return NDR_ERR_SUCCESS;
284 : }
285 :
286 0 : _PUBLIC_ void ndr_print_FRSAPI_START_DEMOTION(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct FRSAPI_START_DEMOTION *r)
287 : {
288 0 : ndr_print_struct(ndr, name, "FRSAPI_START_DEMOTION");
289 0 : if (r == NULL) { ndr_print_null(ndr); return; }
290 0 : ndr->depth++;
291 0 : if (flags & NDR_SET_VALUES) {
292 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
293 : }
294 0 : if (flags & NDR_IN) {
295 0 : ndr_print_struct(ndr, "in", "FRSAPI_START_DEMOTION");
296 0 : ndr->depth++;
297 0 : ndr->depth--;
298 : }
299 0 : if (flags & NDR_OUT) {
300 0 : ndr_print_struct(ndr, "out", "FRSAPI_START_DEMOTION");
301 0 : ndr->depth++;
302 0 : ndr->depth--;
303 : }
304 0 : ndr->depth--;
305 : }
306 :
307 0 : static enum ndr_err_code ndr_push_FRSAPI_COMMIT_DEMOTION(struct ndr_push *ndr, ndr_flags_type flags, const struct FRSAPI_COMMIT_DEMOTION *r)
308 : {
309 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
310 0 : if (flags & NDR_IN) {
311 : }
312 0 : if (flags & NDR_OUT) {
313 : }
314 0 : return NDR_ERR_SUCCESS;
315 : }
316 :
317 0 : static enum ndr_err_code ndr_pull_FRSAPI_COMMIT_DEMOTION(struct ndr_pull *ndr, ndr_flags_type flags, struct FRSAPI_COMMIT_DEMOTION *r)
318 : {
319 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
320 0 : if (flags & NDR_IN) {
321 : }
322 0 : if (flags & NDR_OUT) {
323 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
324 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
325 : }
326 0 : return NDR_ERR_SUCCESS;
327 : }
328 :
329 0 : _PUBLIC_ void ndr_print_FRSAPI_COMMIT_DEMOTION(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct FRSAPI_COMMIT_DEMOTION *r)
330 : {
331 0 : ndr_print_struct(ndr, name, "FRSAPI_COMMIT_DEMOTION");
332 0 : if (r == NULL) { ndr_print_null(ndr); return; }
333 0 : ndr->depth++;
334 0 : if (flags & NDR_SET_VALUES) {
335 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
336 : }
337 0 : if (flags & NDR_IN) {
338 0 : ndr_print_struct(ndr, "in", "FRSAPI_COMMIT_DEMOTION");
339 0 : ndr->depth++;
340 0 : ndr->depth--;
341 : }
342 0 : if (flags & NDR_OUT) {
343 0 : ndr_print_struct(ndr, "out", "FRSAPI_COMMIT_DEMOTION");
344 0 : ndr->depth++;
345 0 : ndr->depth--;
346 : }
347 0 : ndr->depth--;
348 : }
349 :
350 0 : static enum ndr_err_code ndr_push_frsapi_SetDsPollingIntervalW(struct ndr_push *ndr, ndr_flags_type flags, const struct frsapi_SetDsPollingIntervalW *r)
351 : {
352 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
353 0 : if (flags & NDR_IN) {
354 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.CurrentInterval));
355 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.DsPollingLongInterval));
356 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.DsPollingShortInterval));
357 : }
358 0 : if (flags & NDR_OUT) {
359 0 : NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
360 : }
361 0 : return NDR_ERR_SUCCESS;
362 : }
363 :
364 0 : static enum ndr_err_code ndr_pull_frsapi_SetDsPollingIntervalW(struct ndr_pull *ndr, ndr_flags_type flags, struct frsapi_SetDsPollingIntervalW *r)
365 : {
366 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
367 0 : if (flags & NDR_IN) {
368 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.CurrentInterval));
369 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.DsPollingLongInterval));
370 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.DsPollingShortInterval));
371 : }
372 0 : if (flags & NDR_OUT) {
373 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
374 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
375 0 : NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
376 : }
377 0 : return NDR_ERR_SUCCESS;
378 : }
379 :
380 0 : _PUBLIC_ void ndr_print_frsapi_SetDsPollingIntervalW(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct frsapi_SetDsPollingIntervalW *r)
381 : {
382 0 : ndr_print_struct(ndr, name, "frsapi_SetDsPollingIntervalW");
383 0 : if (r == NULL) { ndr_print_null(ndr); return; }
384 0 : ndr->depth++;
385 0 : if (flags & NDR_SET_VALUES) {
386 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
387 : }
388 0 : if (flags & NDR_IN) {
389 0 : ndr_print_struct(ndr, "in", "frsapi_SetDsPollingIntervalW");
390 0 : ndr->depth++;
391 0 : ndr_print_uint32(ndr, "CurrentInterval", r->in.CurrentInterval);
392 0 : ndr_print_uint32(ndr, "DsPollingLongInterval", r->in.DsPollingLongInterval);
393 0 : ndr_print_uint32(ndr, "DsPollingShortInterval", r->in.DsPollingShortInterval);
394 0 : ndr->depth--;
395 : }
396 0 : if (flags & NDR_OUT) {
397 0 : ndr_print_struct(ndr, "out", "frsapi_SetDsPollingIntervalW");
398 0 : ndr->depth++;
399 0 : ndr_print_WERROR(ndr, "result", r->out.result);
400 0 : ndr->depth--;
401 : }
402 0 : ndr->depth--;
403 : }
404 :
405 0 : static enum ndr_err_code ndr_push_frsapi_GetDsPollingIntervalW(struct ndr_push *ndr, ndr_flags_type flags, const struct frsapi_GetDsPollingIntervalW *r)
406 : {
407 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
408 0 : if (flags & NDR_IN) {
409 0 : }
410 0 : if (flags & NDR_OUT) {
411 0 : if (r->out.CurrentInterval == NULL) {
412 0 : return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
413 : }
414 0 : if (r->out.DsPollingLongInterval == NULL) {
415 0 : return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
416 : }
417 0 : if (r->out.DsPollingShortInterval == NULL) {
418 0 : return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
419 : }
420 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.CurrentInterval));
421 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.DsPollingLongInterval));
422 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.DsPollingShortInterval));
423 0 : NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
424 : }
425 0 : return NDR_ERR_SUCCESS;
426 : }
427 :
428 0 : static enum ndr_err_code ndr_pull_frsapi_GetDsPollingIntervalW(struct ndr_pull *ndr, ndr_flags_type flags, struct frsapi_GetDsPollingIntervalW *r)
429 : {
430 0 : TALLOC_CTX *_mem_save_CurrentInterval_0 = NULL;
431 0 : TALLOC_CTX *_mem_save_DsPollingLongInterval_0 = NULL;
432 0 : TALLOC_CTX *_mem_save_DsPollingShortInterval_0 = NULL;
433 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
434 0 : if (flags & NDR_IN) {
435 0 : NDR_ZERO_STRUCT(r->out);
436 :
437 0 : NDR_PULL_ALLOC(ndr, r->out.CurrentInterval);
438 0 : NDR_ZERO_STRUCTP(r->out.CurrentInterval);
439 0 : NDR_PULL_ALLOC(ndr, r->out.DsPollingLongInterval);
440 0 : NDR_ZERO_STRUCTP(r->out.DsPollingLongInterval);
441 0 : NDR_PULL_ALLOC(ndr, r->out.DsPollingShortInterval);
442 0 : NDR_ZERO_STRUCTP(r->out.DsPollingShortInterval);
443 : }
444 0 : if (flags & NDR_OUT) {
445 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
446 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
447 0 : if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
448 0 : NDR_PULL_ALLOC(ndr, r->out.CurrentInterval);
449 : }
450 0 : _mem_save_CurrentInterval_0 = NDR_PULL_GET_MEM_CTX(ndr);
451 0 : NDR_PULL_SET_MEM_CTX(ndr, r->out.CurrentInterval, LIBNDR_FLAG_REF_ALLOC);
452 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.CurrentInterval));
453 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_CurrentInterval_0, LIBNDR_FLAG_REF_ALLOC);
454 0 : if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
455 0 : NDR_PULL_ALLOC(ndr, r->out.DsPollingLongInterval);
456 : }
457 0 : _mem_save_DsPollingLongInterval_0 = NDR_PULL_GET_MEM_CTX(ndr);
458 0 : NDR_PULL_SET_MEM_CTX(ndr, r->out.DsPollingLongInterval, LIBNDR_FLAG_REF_ALLOC);
459 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.DsPollingLongInterval));
460 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_DsPollingLongInterval_0, LIBNDR_FLAG_REF_ALLOC);
461 0 : if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
462 0 : NDR_PULL_ALLOC(ndr, r->out.DsPollingShortInterval);
463 : }
464 0 : _mem_save_DsPollingShortInterval_0 = NDR_PULL_GET_MEM_CTX(ndr);
465 0 : NDR_PULL_SET_MEM_CTX(ndr, r->out.DsPollingShortInterval, LIBNDR_FLAG_REF_ALLOC);
466 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.DsPollingShortInterval));
467 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_DsPollingShortInterval_0, LIBNDR_FLAG_REF_ALLOC);
468 0 : NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
469 : }
470 0 : return NDR_ERR_SUCCESS;
471 : }
472 :
473 0 : _PUBLIC_ void ndr_print_frsapi_GetDsPollingIntervalW(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct frsapi_GetDsPollingIntervalW *r)
474 : {
475 0 : ndr_print_struct(ndr, name, "frsapi_GetDsPollingIntervalW");
476 0 : if (r == NULL) { ndr_print_null(ndr); return; }
477 0 : ndr->depth++;
478 0 : if (flags & NDR_SET_VALUES) {
479 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
480 : }
481 0 : if (flags & NDR_IN) {
482 0 : ndr_print_struct(ndr, "in", "frsapi_GetDsPollingIntervalW");
483 0 : ndr->depth++;
484 0 : ndr->depth--;
485 : }
486 0 : if (flags & NDR_OUT) {
487 0 : ndr_print_struct(ndr, "out", "frsapi_GetDsPollingIntervalW");
488 0 : ndr->depth++;
489 0 : ndr_print_ptr(ndr, "CurrentInterval", r->out.CurrentInterval);
490 0 : ndr->depth++;
491 0 : ndr_print_uint32(ndr, "CurrentInterval", *r->out.CurrentInterval);
492 0 : ndr->depth--;
493 0 : ndr_print_ptr(ndr, "DsPollingLongInterval", r->out.DsPollingLongInterval);
494 0 : ndr->depth++;
495 0 : ndr_print_uint32(ndr, "DsPollingLongInterval", *r->out.DsPollingLongInterval);
496 0 : ndr->depth--;
497 0 : ndr_print_ptr(ndr, "DsPollingShortInterval", r->out.DsPollingShortInterval);
498 0 : ndr->depth++;
499 0 : ndr_print_uint32(ndr, "DsPollingShortInterval", *r->out.DsPollingShortInterval);
500 0 : ndr->depth--;
501 0 : ndr_print_WERROR(ndr, "result", r->out.result);
502 0 : ndr->depth--;
503 : }
504 0 : ndr->depth--;
505 : }
506 :
507 0 : static enum ndr_err_code ndr_push_FRSAPI_VERIFY_PROMOTION_W(struct ndr_push *ndr, ndr_flags_type flags, const struct FRSAPI_VERIFY_PROMOTION_W *r)
508 : {
509 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
510 0 : if (flags & NDR_IN) {
511 : }
512 0 : if (flags & NDR_OUT) {
513 : }
514 0 : return NDR_ERR_SUCCESS;
515 : }
516 :
517 0 : static enum ndr_err_code ndr_pull_FRSAPI_VERIFY_PROMOTION_W(struct ndr_pull *ndr, ndr_flags_type flags, struct FRSAPI_VERIFY_PROMOTION_W *r)
518 : {
519 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
520 0 : if (flags & NDR_IN) {
521 : }
522 0 : if (flags & NDR_OUT) {
523 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
524 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
525 : }
526 0 : return NDR_ERR_SUCCESS;
527 : }
528 :
529 0 : _PUBLIC_ void ndr_print_FRSAPI_VERIFY_PROMOTION_W(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct FRSAPI_VERIFY_PROMOTION_W *r)
530 : {
531 0 : ndr_print_struct(ndr, name, "FRSAPI_VERIFY_PROMOTION_W");
532 0 : if (r == NULL) { ndr_print_null(ndr); return; }
533 0 : ndr->depth++;
534 0 : if (flags & NDR_SET_VALUES) {
535 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
536 : }
537 0 : if (flags & NDR_IN) {
538 0 : ndr_print_struct(ndr, "in", "FRSAPI_VERIFY_PROMOTION_W");
539 0 : ndr->depth++;
540 0 : ndr->depth--;
541 : }
542 0 : if (flags & NDR_OUT) {
543 0 : ndr_print_struct(ndr, "out", "FRSAPI_VERIFY_PROMOTION_W");
544 0 : ndr->depth++;
545 0 : ndr->depth--;
546 : }
547 0 : ndr->depth--;
548 : }
549 :
550 0 : static enum ndr_err_code ndr_push_frsapi_InfoW(struct ndr_push *ndr, ndr_flags_type flags, const struct frsapi_InfoW *r)
551 : {
552 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
553 0 : if (flags & NDR_IN) {
554 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.length));
555 0 : NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.info));
556 0 : if (r->in.info) {
557 0 : NDR_CHECK(ndr_push_frsapi_Info(ndr, NDR_SCALARS, r->in.info));
558 : }
559 : }
560 0 : if (flags & NDR_OUT) {
561 0 : NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.info));
562 0 : if (r->out.info) {
563 0 : NDR_CHECK(ndr_push_frsapi_Info(ndr, NDR_SCALARS, r->out.info));
564 : }
565 0 : NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
566 : }
567 0 : return NDR_ERR_SUCCESS;
568 : }
569 :
570 0 : static enum ndr_err_code ndr_pull_frsapi_InfoW(struct ndr_pull *ndr, ndr_flags_type flags, struct frsapi_InfoW *r)
571 : {
572 0 : uint32_t _ptr_info;
573 0 : TALLOC_CTX *_mem_save_info_0 = NULL;
574 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
575 0 : if (flags & NDR_IN) {
576 0 : NDR_ZERO_STRUCT(r->out);
577 :
578 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.length));
579 0 : if (r->in.length > 65536) {
580 0 : return ndr_pull_error(ndr, NDR_ERR_RANGE, "value (%"PRIu32") out of range (%"PRIu32" - %"PRIu32")", (uint32_t)(r->in.length), (uint32_t)(0), (uint32_t)(65536));
581 : }
582 0 : NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_info));
583 0 : if (_ptr_info) {
584 0 : NDR_PULL_ALLOC(ndr, r->in.info);
585 : } else {
586 0 : r->in.info = NULL;
587 : }
588 0 : if (r->in.info) {
589 0 : _mem_save_info_0 = NDR_PULL_GET_MEM_CTX(ndr);
590 0 : NDR_PULL_SET_MEM_CTX(ndr, r->in.info, 0);
591 0 : NDR_CHECK(ndr_pull_frsapi_Info(ndr, NDR_SCALARS, r->in.info));
592 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_info_0, 0);
593 : }
594 : }
595 0 : if (flags & NDR_OUT) {
596 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
597 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
598 0 : NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_info));
599 0 : if (_ptr_info) {
600 0 : NDR_PULL_ALLOC(ndr, r->out.info);
601 : } else {
602 0 : r->out.info = NULL;
603 : }
604 0 : if (r->out.info) {
605 0 : _mem_save_info_0 = NDR_PULL_GET_MEM_CTX(ndr);
606 0 : NDR_PULL_SET_MEM_CTX(ndr, r->out.info, 0);
607 0 : NDR_CHECK(ndr_pull_frsapi_Info(ndr, NDR_SCALARS, r->out.info));
608 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_info_0, 0);
609 : }
610 0 : NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
611 : }
612 0 : return NDR_ERR_SUCCESS;
613 : }
614 :
615 0 : _PUBLIC_ void ndr_print_frsapi_InfoW(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct frsapi_InfoW *r)
616 : {
617 0 : ndr_print_struct(ndr, name, "frsapi_InfoW");
618 0 : if (r == NULL) { ndr_print_null(ndr); return; }
619 0 : ndr->depth++;
620 0 : if (flags & NDR_SET_VALUES) {
621 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
622 : }
623 0 : if (flags & NDR_IN) {
624 0 : ndr_print_struct(ndr, "in", "frsapi_InfoW");
625 0 : ndr->depth++;
626 0 : ndr_print_uint32(ndr, "length", r->in.length);
627 0 : ndr_print_ptr(ndr, "info", r->in.info);
628 0 : ndr->depth++;
629 0 : if (r->in.info) {
630 0 : ndr_print_frsapi_Info(ndr, "info", r->in.info);
631 : }
632 0 : ndr->depth--;
633 0 : ndr->depth--;
634 : }
635 0 : if (flags & NDR_OUT) {
636 0 : ndr_print_struct(ndr, "out", "frsapi_InfoW");
637 0 : ndr->depth++;
638 0 : ndr_print_ptr(ndr, "info", r->out.info);
639 0 : ndr->depth++;
640 0 : if (r->out.info) {
641 0 : ndr_print_frsapi_Info(ndr, "info", r->out.info);
642 : }
643 0 : ndr->depth--;
644 0 : ndr_print_WERROR(ndr, "result", r->out.result);
645 0 : ndr->depth--;
646 : }
647 0 : ndr->depth--;
648 : }
649 :
650 0 : static enum ndr_err_code ndr_push_frsapi_IsPathReplicated(struct ndr_push *ndr, ndr_flags_type flags, const struct frsapi_IsPathReplicated *r)
651 : {
652 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
653 0 : if (flags & NDR_IN) {
654 0 : NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.path));
655 0 : if (r->in.path) {
656 0 : NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.path, CH_UTF16)));
657 0 : NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
658 0 : NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.path, CH_UTF16)));
659 0 : NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.path, ndr_charset_length(r->in.path, CH_UTF16), sizeof(uint16_t), CH_UTF16));
660 : }
661 0 : NDR_CHECK(ndr_push_frsapi_ReplicaSetType(ndr, NDR_SCALARS, r->in.replica_set_type));
662 : }
663 0 : if (flags & NDR_OUT) {
664 0 : if (r->out.replicated == NULL) {
665 0 : return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
666 : }
667 0 : if (r->out.primary == NULL) {
668 0 : return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
669 : }
670 0 : if (r->out.root == NULL) {
671 0 : return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
672 : }
673 0 : if (r->out.replica_set_guid == NULL) {
674 0 : return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
675 : }
676 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.replicated));
677 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.primary));
678 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.root));
679 0 : NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, r->out.replica_set_guid));
680 0 : NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
681 : }
682 0 : return NDR_ERR_SUCCESS;
683 : }
684 :
685 0 : static enum ndr_err_code ndr_pull_frsapi_IsPathReplicated(struct ndr_pull *ndr, ndr_flags_type flags, struct frsapi_IsPathReplicated *r)
686 : {
687 0 : uint32_t _ptr_path;
688 0 : uint32_t size_path_1 = 0;
689 0 : uint32_t length_path_1 = 0;
690 0 : TALLOC_CTX *_mem_save_path_0 = NULL;
691 0 : TALLOC_CTX *_mem_save_replicated_0 = NULL;
692 0 : TALLOC_CTX *_mem_save_primary_0 = NULL;
693 0 : TALLOC_CTX *_mem_save_root_0 = NULL;
694 0 : TALLOC_CTX *_mem_save_replica_set_guid_0 = NULL;
695 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
696 0 : if (flags & NDR_IN) {
697 0 : NDR_ZERO_STRUCT(r->out);
698 :
699 0 : NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_path));
700 0 : if (_ptr_path) {
701 0 : NDR_PULL_ALLOC(ndr, r->in.path);
702 : } else {
703 0 : r->in.path = NULL;
704 : }
705 0 : if (r->in.path) {
706 0 : _mem_save_path_0 = NDR_PULL_GET_MEM_CTX(ndr);
707 0 : NDR_PULL_SET_MEM_CTX(ndr, r->in.path, 0);
708 0 : NDR_CHECK(ndr_pull_array_size(ndr, &r->in.path));
709 0 : NDR_CHECK(ndr_pull_array_length(ndr, &r->in.path));
710 0 : NDR_CHECK(ndr_steal_array_size(ndr, (void*)&r->in.path, &size_path_1));
711 0 : NDR_CHECK(ndr_steal_array_length(ndr, (void*)&r->in.path, &length_path_1));
712 0 : if (length_path_1 > size_path_1) {
713 0 : return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %"PRIu32": should exceed array length %"PRIu32"", size_path_1, length_path_1);
714 : }
715 0 : NDR_CHECK(ndr_check_string_terminator(ndr, length_path_1, sizeof(uint16_t)));
716 0 : NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.path, length_path_1, sizeof(uint16_t), CH_UTF16));
717 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_path_0, 0);
718 : }
719 0 : NDR_CHECK(ndr_pull_frsapi_ReplicaSetType(ndr, NDR_SCALARS, &r->in.replica_set_type));
720 0 : NDR_PULL_ALLOC(ndr, r->out.replicated);
721 0 : NDR_ZERO_STRUCTP(r->out.replicated);
722 0 : NDR_PULL_ALLOC(ndr, r->out.primary);
723 0 : NDR_ZERO_STRUCTP(r->out.primary);
724 0 : NDR_PULL_ALLOC(ndr, r->out.root);
725 0 : NDR_ZERO_STRUCTP(r->out.root);
726 0 : NDR_PULL_ALLOC(ndr, r->out.replica_set_guid);
727 0 : NDR_ZERO_STRUCTP(r->out.replica_set_guid);
728 : }
729 0 : if (flags & NDR_OUT) {
730 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
731 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
732 0 : if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
733 0 : NDR_PULL_ALLOC(ndr, r->out.replicated);
734 : }
735 0 : _mem_save_replicated_0 = NDR_PULL_GET_MEM_CTX(ndr);
736 0 : NDR_PULL_SET_MEM_CTX(ndr, r->out.replicated, LIBNDR_FLAG_REF_ALLOC);
737 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.replicated));
738 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_replicated_0, LIBNDR_FLAG_REF_ALLOC);
739 0 : if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
740 0 : NDR_PULL_ALLOC(ndr, r->out.primary);
741 : }
742 0 : _mem_save_primary_0 = NDR_PULL_GET_MEM_CTX(ndr);
743 0 : NDR_PULL_SET_MEM_CTX(ndr, r->out.primary, LIBNDR_FLAG_REF_ALLOC);
744 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.primary));
745 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_primary_0, LIBNDR_FLAG_REF_ALLOC);
746 0 : if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
747 0 : NDR_PULL_ALLOC(ndr, r->out.root);
748 : }
749 0 : _mem_save_root_0 = NDR_PULL_GET_MEM_CTX(ndr);
750 0 : NDR_PULL_SET_MEM_CTX(ndr, r->out.root, LIBNDR_FLAG_REF_ALLOC);
751 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.root));
752 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_root_0, LIBNDR_FLAG_REF_ALLOC);
753 0 : if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
754 0 : NDR_PULL_ALLOC(ndr, r->out.replica_set_guid);
755 : }
756 0 : _mem_save_replica_set_guid_0 = NDR_PULL_GET_MEM_CTX(ndr);
757 0 : NDR_PULL_SET_MEM_CTX(ndr, r->out.replica_set_guid, LIBNDR_FLAG_REF_ALLOC);
758 0 : NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, r->out.replica_set_guid));
759 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_replica_set_guid_0, LIBNDR_FLAG_REF_ALLOC);
760 0 : NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
761 : }
762 0 : return NDR_ERR_SUCCESS;
763 : }
764 :
765 0 : _PUBLIC_ void ndr_print_frsapi_IsPathReplicated(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct frsapi_IsPathReplicated *r)
766 : {
767 0 : ndr_print_struct(ndr, name, "frsapi_IsPathReplicated");
768 0 : if (r == NULL) { ndr_print_null(ndr); return; }
769 0 : ndr->depth++;
770 0 : if (flags & NDR_SET_VALUES) {
771 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
772 : }
773 0 : if (flags & NDR_IN) {
774 0 : ndr_print_struct(ndr, "in", "frsapi_IsPathReplicated");
775 0 : ndr->depth++;
776 0 : ndr_print_ptr(ndr, "path", r->in.path);
777 0 : ndr->depth++;
778 0 : if (r->in.path) {
779 0 : ndr_print_string(ndr, "path", r->in.path);
780 : }
781 0 : ndr->depth--;
782 0 : ndr_print_frsapi_ReplicaSetType(ndr, "replica_set_type", r->in.replica_set_type);
783 0 : ndr->depth--;
784 : }
785 0 : if (flags & NDR_OUT) {
786 0 : ndr_print_struct(ndr, "out", "frsapi_IsPathReplicated");
787 0 : ndr->depth++;
788 0 : ndr_print_ptr(ndr, "replicated", r->out.replicated);
789 0 : ndr->depth++;
790 0 : ndr_print_uint32(ndr, "replicated", *r->out.replicated);
791 0 : ndr->depth--;
792 0 : ndr_print_ptr(ndr, "primary", r->out.primary);
793 0 : ndr->depth++;
794 0 : ndr_print_uint32(ndr, "primary", *r->out.primary);
795 0 : ndr->depth--;
796 0 : ndr_print_ptr(ndr, "root", r->out.root);
797 0 : ndr->depth++;
798 0 : ndr_print_uint32(ndr, "root", *r->out.root);
799 0 : ndr->depth--;
800 0 : ndr_print_ptr(ndr, "replica_set_guid", r->out.replica_set_guid);
801 0 : ndr->depth++;
802 0 : ndr_print_GUID(ndr, "replica_set_guid", r->out.replica_set_guid);
803 0 : ndr->depth--;
804 0 : ndr_print_WERROR(ndr, "result", r->out.result);
805 0 : ndr->depth--;
806 : }
807 0 : ndr->depth--;
808 : }
809 :
810 0 : static enum ndr_err_code ndr_push_frsapi_WriterCommand(struct ndr_push *ndr, ndr_flags_type flags, const struct frsapi_WriterCommand *r)
811 : {
812 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
813 0 : if (flags & NDR_IN) {
814 0 : NDR_CHECK(ndr_push_frsapi_WriterCommandsValues(ndr, NDR_SCALARS, r->in.command));
815 : }
816 0 : if (flags & NDR_OUT) {
817 0 : NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
818 : }
819 0 : return NDR_ERR_SUCCESS;
820 : }
821 :
822 0 : static enum ndr_err_code ndr_pull_frsapi_WriterCommand(struct ndr_pull *ndr, ndr_flags_type flags, struct frsapi_WriterCommand *r)
823 : {
824 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
825 0 : if (flags & NDR_IN) {
826 0 : NDR_CHECK(ndr_pull_frsapi_WriterCommandsValues(ndr, NDR_SCALARS, &r->in.command));
827 : }
828 0 : if (flags & NDR_OUT) {
829 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
830 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
831 0 : NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
832 : }
833 0 : return NDR_ERR_SUCCESS;
834 : }
835 :
836 0 : _PUBLIC_ void ndr_print_frsapi_WriterCommand(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct frsapi_WriterCommand *r)
837 : {
838 0 : ndr_print_struct(ndr, name, "frsapi_WriterCommand");
839 0 : if (r == NULL) { ndr_print_null(ndr); return; }
840 0 : ndr->depth++;
841 0 : if (flags & NDR_SET_VALUES) {
842 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
843 : }
844 0 : if (flags & NDR_IN) {
845 0 : ndr_print_struct(ndr, "in", "frsapi_WriterCommand");
846 0 : ndr->depth++;
847 0 : ndr_print_frsapi_WriterCommandsValues(ndr, "command", r->in.command);
848 0 : ndr->depth--;
849 : }
850 0 : if (flags & NDR_OUT) {
851 0 : ndr_print_struct(ndr, "out", "frsapi_WriterCommand");
852 0 : ndr->depth++;
853 0 : ndr_print_WERROR(ndr, "result", r->out.result);
854 0 : ndr->depth--;
855 : }
856 0 : ndr->depth--;
857 : }
858 :
859 0 : static enum ndr_err_code ndr_push_frsapi_ForceReplication(struct ndr_push *ndr, ndr_flags_type flags, const struct frsapi_ForceReplication *r)
860 : {
861 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
862 0 : if (flags & NDR_IN) {
863 0 : NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.replica_set_guid));
864 0 : if (r->in.replica_set_guid) {
865 0 : NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, r->in.replica_set_guid));
866 : }
867 0 : NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.connection_guid));
868 0 : if (r->in.connection_guid) {
869 0 : NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, r->in.connection_guid));
870 : }
871 0 : NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.replica_set_name));
872 0 : if (r->in.replica_set_name) {
873 0 : NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.replica_set_name, CH_UTF16)));
874 0 : NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
875 0 : NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.replica_set_name, CH_UTF16)));
876 0 : NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.replica_set_name, ndr_charset_length(r->in.replica_set_name, CH_UTF16), sizeof(uint16_t), CH_UTF16));
877 : }
878 0 : NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.partner_dns_name));
879 0 : if (r->in.partner_dns_name) {
880 0 : NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.partner_dns_name, CH_UTF16)));
881 0 : NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
882 0 : NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.partner_dns_name, CH_UTF16)));
883 0 : NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.partner_dns_name, ndr_charset_length(r->in.partner_dns_name, CH_UTF16), sizeof(uint16_t), CH_UTF16));
884 : }
885 : }
886 0 : if (flags & NDR_OUT) {
887 0 : NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
888 : }
889 0 : return NDR_ERR_SUCCESS;
890 : }
891 :
892 0 : static enum ndr_err_code ndr_pull_frsapi_ForceReplication(struct ndr_pull *ndr, ndr_flags_type flags, struct frsapi_ForceReplication *r)
893 : {
894 0 : uint32_t _ptr_replica_set_guid;
895 0 : uint32_t _ptr_connection_guid;
896 0 : uint32_t _ptr_replica_set_name;
897 0 : uint32_t size_replica_set_name_1 = 0;
898 0 : uint32_t length_replica_set_name_1 = 0;
899 0 : uint32_t _ptr_partner_dns_name;
900 0 : uint32_t size_partner_dns_name_1 = 0;
901 0 : uint32_t length_partner_dns_name_1 = 0;
902 0 : TALLOC_CTX *_mem_save_replica_set_guid_0 = NULL;
903 0 : TALLOC_CTX *_mem_save_connection_guid_0 = NULL;
904 0 : TALLOC_CTX *_mem_save_replica_set_name_0 = NULL;
905 0 : TALLOC_CTX *_mem_save_partner_dns_name_0 = NULL;
906 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
907 0 : if (flags & NDR_IN) {
908 0 : NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_replica_set_guid));
909 0 : if (_ptr_replica_set_guid) {
910 0 : NDR_PULL_ALLOC(ndr, r->in.replica_set_guid);
911 : } else {
912 0 : r->in.replica_set_guid = NULL;
913 : }
914 0 : if (r->in.replica_set_guid) {
915 0 : _mem_save_replica_set_guid_0 = NDR_PULL_GET_MEM_CTX(ndr);
916 0 : NDR_PULL_SET_MEM_CTX(ndr, r->in.replica_set_guid, 0);
917 0 : NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, r->in.replica_set_guid));
918 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_replica_set_guid_0, 0);
919 : }
920 0 : NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_connection_guid));
921 0 : if (_ptr_connection_guid) {
922 0 : NDR_PULL_ALLOC(ndr, r->in.connection_guid);
923 : } else {
924 0 : r->in.connection_guid = NULL;
925 : }
926 0 : if (r->in.connection_guid) {
927 0 : _mem_save_connection_guid_0 = NDR_PULL_GET_MEM_CTX(ndr);
928 0 : NDR_PULL_SET_MEM_CTX(ndr, r->in.connection_guid, 0);
929 0 : NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, r->in.connection_guid));
930 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_connection_guid_0, 0);
931 : }
932 0 : NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_replica_set_name));
933 0 : if (_ptr_replica_set_name) {
934 0 : NDR_PULL_ALLOC(ndr, r->in.replica_set_name);
935 : } else {
936 0 : r->in.replica_set_name = NULL;
937 : }
938 0 : if (r->in.replica_set_name) {
939 0 : _mem_save_replica_set_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
940 0 : NDR_PULL_SET_MEM_CTX(ndr, r->in.replica_set_name, 0);
941 0 : NDR_CHECK(ndr_pull_array_size(ndr, &r->in.replica_set_name));
942 0 : NDR_CHECK(ndr_pull_array_length(ndr, &r->in.replica_set_name));
943 0 : NDR_CHECK(ndr_steal_array_size(ndr, (void*)&r->in.replica_set_name, &size_replica_set_name_1));
944 0 : NDR_CHECK(ndr_steal_array_length(ndr, (void*)&r->in.replica_set_name, &length_replica_set_name_1));
945 0 : if (length_replica_set_name_1 > size_replica_set_name_1) {
946 0 : return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %"PRIu32": should exceed array length %"PRIu32"", size_replica_set_name_1, length_replica_set_name_1);
947 : }
948 0 : NDR_CHECK(ndr_check_string_terminator(ndr, length_replica_set_name_1, sizeof(uint16_t)));
949 0 : NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.replica_set_name, length_replica_set_name_1, sizeof(uint16_t), CH_UTF16));
950 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_replica_set_name_0, 0);
951 : }
952 0 : NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_partner_dns_name));
953 0 : if (_ptr_partner_dns_name) {
954 0 : NDR_PULL_ALLOC(ndr, r->in.partner_dns_name);
955 : } else {
956 0 : r->in.partner_dns_name = NULL;
957 : }
958 0 : if (r->in.partner_dns_name) {
959 0 : _mem_save_partner_dns_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
960 0 : NDR_PULL_SET_MEM_CTX(ndr, r->in.partner_dns_name, 0);
961 0 : NDR_CHECK(ndr_pull_array_size(ndr, &r->in.partner_dns_name));
962 0 : NDR_CHECK(ndr_pull_array_length(ndr, &r->in.partner_dns_name));
963 0 : NDR_CHECK(ndr_steal_array_size(ndr, (void*)&r->in.partner_dns_name, &size_partner_dns_name_1));
964 0 : NDR_CHECK(ndr_steal_array_length(ndr, (void*)&r->in.partner_dns_name, &length_partner_dns_name_1));
965 0 : if (length_partner_dns_name_1 > size_partner_dns_name_1) {
966 0 : return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %"PRIu32": should exceed array length %"PRIu32"", size_partner_dns_name_1, length_partner_dns_name_1);
967 : }
968 0 : NDR_CHECK(ndr_check_string_terminator(ndr, length_partner_dns_name_1, sizeof(uint16_t)));
969 0 : NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.partner_dns_name, length_partner_dns_name_1, sizeof(uint16_t), CH_UTF16));
970 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_partner_dns_name_0, 0);
971 : }
972 : }
973 0 : if (flags & NDR_OUT) {
974 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
975 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
976 0 : NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
977 : }
978 0 : return NDR_ERR_SUCCESS;
979 : }
980 :
981 0 : _PUBLIC_ void ndr_print_frsapi_ForceReplication(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct frsapi_ForceReplication *r)
982 : {
983 0 : ndr_print_struct(ndr, name, "frsapi_ForceReplication");
984 0 : if (r == NULL) { ndr_print_null(ndr); return; }
985 0 : ndr->depth++;
986 0 : if (flags & NDR_SET_VALUES) {
987 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
988 : }
989 0 : if (flags & NDR_IN) {
990 0 : ndr_print_struct(ndr, "in", "frsapi_ForceReplication");
991 0 : ndr->depth++;
992 0 : ndr_print_ptr(ndr, "replica_set_guid", r->in.replica_set_guid);
993 0 : ndr->depth++;
994 0 : if (r->in.replica_set_guid) {
995 0 : ndr_print_GUID(ndr, "replica_set_guid", r->in.replica_set_guid);
996 : }
997 0 : ndr->depth--;
998 0 : ndr_print_ptr(ndr, "connection_guid", r->in.connection_guid);
999 0 : ndr->depth++;
1000 0 : if (r->in.connection_guid) {
1001 0 : ndr_print_GUID(ndr, "connection_guid", r->in.connection_guid);
1002 : }
1003 0 : ndr->depth--;
1004 0 : ndr_print_ptr(ndr, "replica_set_name", r->in.replica_set_name);
1005 0 : ndr->depth++;
1006 0 : if (r->in.replica_set_name) {
1007 0 : ndr_print_string(ndr, "replica_set_name", r->in.replica_set_name);
1008 : }
1009 0 : ndr->depth--;
1010 0 : ndr_print_ptr(ndr, "partner_dns_name", r->in.partner_dns_name);
1011 0 : ndr->depth++;
1012 0 : if (r->in.partner_dns_name) {
1013 0 : ndr_print_string(ndr, "partner_dns_name", r->in.partner_dns_name);
1014 : }
1015 0 : ndr->depth--;
1016 0 : ndr->depth--;
1017 : }
1018 0 : if (flags & NDR_OUT) {
1019 0 : ndr_print_struct(ndr, "out", "frsapi_ForceReplication");
1020 0 : ndr->depth++;
1021 0 : ndr_print_WERROR(ndr, "result", r->out.result);
1022 0 : ndr->depth--;
1023 : }
1024 0 : ndr->depth--;
1025 : }
1026 :
1027 : #ifndef SKIP_NDR_TABLE_frsapi
1028 : static const struct ndr_interface_public_struct frsapi_public_structs[] = {
1029 : { .name = NULL }
1030 : };
1031 :
1032 : static const struct ndr_interface_call frsapi_calls[] = {
1033 : {
1034 : "FRSAPI_VERIFY_PROMOTION",
1035 : sizeof(struct FRSAPI_VERIFY_PROMOTION),
1036 : (ndr_push_flags_fn_t) ndr_push_FRSAPI_VERIFY_PROMOTION,
1037 : (ndr_pull_flags_fn_t) ndr_pull_FRSAPI_VERIFY_PROMOTION,
1038 : (ndr_print_function_t) ndr_print_FRSAPI_VERIFY_PROMOTION,
1039 : { 0, NULL },
1040 : { 0, NULL },
1041 : },
1042 : {
1043 : "FRSAPI_PROMOTION_STATUS",
1044 : sizeof(struct FRSAPI_PROMOTION_STATUS),
1045 : (ndr_push_flags_fn_t) ndr_push_FRSAPI_PROMOTION_STATUS,
1046 : (ndr_pull_flags_fn_t) ndr_pull_FRSAPI_PROMOTION_STATUS,
1047 : (ndr_print_function_t) ndr_print_FRSAPI_PROMOTION_STATUS,
1048 : { 0, NULL },
1049 : { 0, NULL },
1050 : },
1051 : {
1052 : "FRSAPI_START_DEMOTION",
1053 : sizeof(struct FRSAPI_START_DEMOTION),
1054 : (ndr_push_flags_fn_t) ndr_push_FRSAPI_START_DEMOTION,
1055 : (ndr_pull_flags_fn_t) ndr_pull_FRSAPI_START_DEMOTION,
1056 : (ndr_print_function_t) ndr_print_FRSAPI_START_DEMOTION,
1057 : { 0, NULL },
1058 : { 0, NULL },
1059 : },
1060 : {
1061 : "FRSAPI_COMMIT_DEMOTION",
1062 : sizeof(struct FRSAPI_COMMIT_DEMOTION),
1063 : (ndr_push_flags_fn_t) ndr_push_FRSAPI_COMMIT_DEMOTION,
1064 : (ndr_pull_flags_fn_t) ndr_pull_FRSAPI_COMMIT_DEMOTION,
1065 : (ndr_print_function_t) ndr_print_FRSAPI_COMMIT_DEMOTION,
1066 : { 0, NULL },
1067 : { 0, NULL },
1068 : },
1069 : {
1070 : "frsapi_SetDsPollingIntervalW",
1071 : sizeof(struct frsapi_SetDsPollingIntervalW),
1072 : (ndr_push_flags_fn_t) ndr_push_frsapi_SetDsPollingIntervalW,
1073 : (ndr_pull_flags_fn_t) ndr_pull_frsapi_SetDsPollingIntervalW,
1074 : (ndr_print_function_t) ndr_print_frsapi_SetDsPollingIntervalW,
1075 : { 0, NULL },
1076 : { 0, NULL },
1077 : },
1078 : {
1079 : "frsapi_GetDsPollingIntervalW",
1080 : sizeof(struct frsapi_GetDsPollingIntervalW),
1081 : (ndr_push_flags_fn_t) ndr_push_frsapi_GetDsPollingIntervalW,
1082 : (ndr_pull_flags_fn_t) ndr_pull_frsapi_GetDsPollingIntervalW,
1083 : (ndr_print_function_t) ndr_print_frsapi_GetDsPollingIntervalW,
1084 : { 0, NULL },
1085 : { 0, NULL },
1086 : },
1087 : {
1088 : "FRSAPI_VERIFY_PROMOTION_W",
1089 : sizeof(struct FRSAPI_VERIFY_PROMOTION_W),
1090 : (ndr_push_flags_fn_t) ndr_push_FRSAPI_VERIFY_PROMOTION_W,
1091 : (ndr_pull_flags_fn_t) ndr_pull_FRSAPI_VERIFY_PROMOTION_W,
1092 : (ndr_print_function_t) ndr_print_FRSAPI_VERIFY_PROMOTION_W,
1093 : { 0, NULL },
1094 : { 0, NULL },
1095 : },
1096 : {
1097 : "frsapi_InfoW",
1098 : sizeof(struct frsapi_InfoW),
1099 : (ndr_push_flags_fn_t) ndr_push_frsapi_InfoW,
1100 : (ndr_pull_flags_fn_t) ndr_pull_frsapi_InfoW,
1101 : (ndr_print_function_t) ndr_print_frsapi_InfoW,
1102 : { 0, NULL },
1103 : { 0, NULL },
1104 : },
1105 : {
1106 : "frsapi_IsPathReplicated",
1107 : sizeof(struct frsapi_IsPathReplicated),
1108 : (ndr_push_flags_fn_t) ndr_push_frsapi_IsPathReplicated,
1109 : (ndr_pull_flags_fn_t) ndr_pull_frsapi_IsPathReplicated,
1110 : (ndr_print_function_t) ndr_print_frsapi_IsPathReplicated,
1111 : { 0, NULL },
1112 : { 0, NULL },
1113 : },
1114 : {
1115 : "frsapi_WriterCommand",
1116 : sizeof(struct frsapi_WriterCommand),
1117 : (ndr_push_flags_fn_t) ndr_push_frsapi_WriterCommand,
1118 : (ndr_pull_flags_fn_t) ndr_pull_frsapi_WriterCommand,
1119 : (ndr_print_function_t) ndr_print_frsapi_WriterCommand,
1120 : { 0, NULL },
1121 : { 0, NULL },
1122 : },
1123 : {
1124 : "frsapi_ForceReplication",
1125 : sizeof(struct frsapi_ForceReplication),
1126 : (ndr_push_flags_fn_t) ndr_push_frsapi_ForceReplication,
1127 : (ndr_pull_flags_fn_t) ndr_pull_frsapi_ForceReplication,
1128 : (ndr_print_function_t) ndr_print_frsapi_ForceReplication,
1129 : { 0, NULL },
1130 : { 0, NULL },
1131 : },
1132 : { .name = NULL }
1133 : };
1134 :
1135 : static const char * const frsapi_endpoint_strings[] = {
1136 : "ncacn_ip_tcp:",
1137 : "ncalrpc:",
1138 : };
1139 :
1140 : static const struct ndr_interface_string_array frsapi_endpoints = {
1141 : .count = 2,
1142 : .names = frsapi_endpoint_strings
1143 : };
1144 :
1145 : static const char * const frsapi_authservice_strings[] = {
1146 : "host",
1147 : };
1148 :
1149 : static const struct ndr_interface_string_array frsapi_authservices = {
1150 : .count = 1,
1151 : .names = frsapi_authservice_strings
1152 : };
1153 :
1154 :
1155 : const struct ndr_interface_table ndr_table_frsapi = {
1156 : .name = "frsapi",
1157 : .syntax_id = {
1158 : {0xd049b186,0x814f,0x11d1,{0x9a,0x3c},{0x00,0xc0,0x4f,0xc9,0xb2,0x32}},
1159 : NDR_FRSAPI_VERSION
1160 : },
1161 : .helpstring = NDR_FRSAPI_HELPSTRING,
1162 : .num_calls = 11,
1163 : .calls = frsapi_calls,
1164 : .num_public_structs = 0,
1165 : .public_structs = frsapi_public_structs,
1166 : .endpoints = &frsapi_endpoints,
1167 : .authservices = &frsapi_authservices
1168 : };
1169 :
1170 : #endif /* SKIP_NDR_TABLE_frsapi */
|