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