r18692: Dump debug data when DEBUGLEVEL >= 10
[samba.git] / source3 / librpc / gen_ndr / cli_dfs.c
1 /*
2  * Unix SMB/CIFS implementation.
3  * client auto-generated by pidl. DO NOT MODIFY!
4  */
5
6 #include "includes.h"
7 #include "librpc/gen_ndr/cli_dfs.h"
8
9 NTSTATUS rpccli_dfs_GetManagerVersion(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32_t *exist_flag)
10 {
11         struct dfs_GetManagerVersion r;
12         NTSTATUS status;
13         
14         /* In parameters */
15         
16         if (DEBUGLEVEL >= 10)
17                 NDR_PRINT_IN_DEBUG(dfs_GetManagerVersion, &r);
18         
19         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_GETMANAGERVERSION, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_GetManagerVersion, (ndr_push_flags_fn_t)ndr_push_dfs_GetManagerVersion);
20         
21         if (DEBUGLEVEL >= 10)
22                 NDR_PRINT_OUT_DEBUG(dfs_GetManagerVersion, &r);
23         
24         if (NT_STATUS_IS_ERR(status)) {
25                 return status;
26         }
27         
28         /* Return variables */
29         *exist_flag = *r.out.exist_flag;
30         
31         /* Return result */
32         return NT_STATUS_OK;
33 }
34
35 NTSTATUS rpccli_dfs_Add(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *path, const char *server, const char *share, const char *comment, uint32_t flags)
36 {
37         struct dfs_Add r;
38         NTSTATUS status;
39         
40         /* In parameters */
41         r.in.path = path;
42         r.in.server = server;
43         r.in.share = share;
44         r.in.comment = comment;
45         r.in.flags = flags;
46         
47         if (DEBUGLEVEL >= 10)
48                 NDR_PRINT_IN_DEBUG(dfs_Add, &r);
49         
50         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_ADD, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Add, (ndr_push_flags_fn_t)ndr_push_dfs_Add);
51         
52         if (DEBUGLEVEL >= 10)
53                 NDR_PRINT_OUT_DEBUG(dfs_Add, &r);
54         
55         if (NT_STATUS_IS_ERR(status)) {
56                 return status;
57         }
58         
59         /* Return variables */
60         
61         /* Return result */
62         return werror_to_ntstatus(r.out.result);
63 }
64
65 NTSTATUS rpccli_dfs_Remove(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *path, const char *server, const char *share)
66 {
67         struct dfs_Remove r;
68         NTSTATUS status;
69         
70         /* In parameters */
71         r.in.path = path;
72         r.in.server = server;
73         r.in.share = share;
74         
75         if (DEBUGLEVEL >= 10)
76                 NDR_PRINT_IN_DEBUG(dfs_Remove, &r);
77         
78         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_REMOVE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Remove, (ndr_push_flags_fn_t)ndr_push_dfs_Remove);
79         
80         if (DEBUGLEVEL >= 10)
81                 NDR_PRINT_OUT_DEBUG(dfs_Remove, &r);
82         
83         if (NT_STATUS_IS_ERR(status)) {
84                 return status;
85         }
86         
87         /* Return variables */
88         
89         /* Return result */
90         return werror_to_ntstatus(r.out.result);
91 }
92
93 NTSTATUS rpccli_dfs_SetInfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
94 {
95         struct dfs_SetInfo r;
96         NTSTATUS status;
97         
98         /* In parameters */
99         
100         if (DEBUGLEVEL >= 10)
101                 NDR_PRINT_IN_DEBUG(dfs_SetInfo, &r);
102         
103         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_SETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_SetInfo, (ndr_push_flags_fn_t)ndr_push_dfs_SetInfo);
104         
105         if (DEBUGLEVEL >= 10)
106                 NDR_PRINT_OUT_DEBUG(dfs_SetInfo, &r);
107         
108         if (NT_STATUS_IS_ERR(status)) {
109                 return status;
110         }
111         
112         /* Return variables */
113         
114         /* Return result */
115         return werror_to_ntstatus(r.out.result);
116 }
117
118 NTSTATUS rpccli_dfs_GetInfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *path, const char *server, const char *share, uint32_t level, union dfs_Info *info)
119 {
120         struct dfs_GetInfo r;
121         NTSTATUS status;
122         
123         /* In parameters */
124         r.in.path = path;
125         r.in.server = server;
126         r.in.share = share;
127         r.in.level = level;
128         
129         if (DEBUGLEVEL >= 10)
130                 NDR_PRINT_IN_DEBUG(dfs_GetInfo, &r);
131         
132         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_GETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_GetInfo, (ndr_push_flags_fn_t)ndr_push_dfs_GetInfo);
133         
134         if (DEBUGLEVEL >= 10)
135                 NDR_PRINT_OUT_DEBUG(dfs_GetInfo, &r);
136         
137         if (NT_STATUS_IS_ERR(status)) {
138                 return status;
139         }
140         
141         /* Return variables */
142         *info = *r.out.info;
143         
144         /* Return result */
145         return werror_to_ntstatus(r.out.result);
146 }
147
148 NTSTATUS rpccli_dfs_Enum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32_t level, uint32_t bufsize, struct dfs_EnumStruct *info, uint32_t *unknown, uint32_t *total)
149 {
150         struct dfs_Enum r;
151         NTSTATUS status;
152         
153         /* In parameters */
154         r.in.level = level;
155         r.in.bufsize = bufsize;
156         r.in.info = info;
157         r.in.unknown = unknown;
158         r.in.total = total;
159         
160         if (DEBUGLEVEL >= 10)
161                 NDR_PRINT_IN_DEBUG(dfs_Enum, &r);
162         
163         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_ENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Enum, (ndr_push_flags_fn_t)ndr_push_dfs_Enum);
164         
165         if (DEBUGLEVEL >= 10)
166                 NDR_PRINT_OUT_DEBUG(dfs_Enum, &r);
167         
168         if (NT_STATUS_IS_ERR(status)) {
169                 return status;
170         }
171         
172         /* Return variables */
173         *info = *r.out.info;
174         *total = *r.out.total;
175         
176         /* Return result */
177         return werror_to_ntstatus(r.out.result);
178 }
179
180 NTSTATUS rpccli_dfs_Rename(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
181 {
182         struct dfs_Rename r;
183         NTSTATUS status;
184         
185         /* In parameters */
186         
187         if (DEBUGLEVEL >= 10)
188                 NDR_PRINT_IN_DEBUG(dfs_Rename, &r);
189         
190         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_RENAME, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Rename, (ndr_push_flags_fn_t)ndr_push_dfs_Rename);
191         
192         if (DEBUGLEVEL >= 10)
193                 NDR_PRINT_OUT_DEBUG(dfs_Rename, &r);
194         
195         if (NT_STATUS_IS_ERR(status)) {
196                 return status;
197         }
198         
199         /* Return variables */
200         
201         /* Return result */
202         return werror_to_ntstatus(r.out.result);
203 }
204
205 NTSTATUS rpccli_dfs_Move(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
206 {
207         struct dfs_Move r;
208         NTSTATUS status;
209         
210         /* In parameters */
211         
212         if (DEBUGLEVEL >= 10)
213                 NDR_PRINT_IN_DEBUG(dfs_Move, &r);
214         
215         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_MOVE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Move, (ndr_push_flags_fn_t)ndr_push_dfs_Move);
216         
217         if (DEBUGLEVEL >= 10)
218                 NDR_PRINT_OUT_DEBUG(dfs_Move, &r);
219         
220         if (NT_STATUS_IS_ERR(status)) {
221                 return status;
222         }
223         
224         /* Return variables */
225         
226         /* Return result */
227         return werror_to_ntstatus(r.out.result);
228 }
229
230 NTSTATUS rpccli_dfs_ManagerGetConfigInfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
231 {
232         struct dfs_ManagerGetConfigInfo r;
233         NTSTATUS status;
234         
235         /* In parameters */
236         
237         if (DEBUGLEVEL >= 10)
238                 NDR_PRINT_IN_DEBUG(dfs_ManagerGetConfigInfo, &r);
239         
240         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_MANAGERGETCONFIGINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_ManagerGetConfigInfo, (ndr_push_flags_fn_t)ndr_push_dfs_ManagerGetConfigInfo);
241         
242         if (DEBUGLEVEL >= 10)
243                 NDR_PRINT_OUT_DEBUG(dfs_ManagerGetConfigInfo, &r);
244         
245         if (NT_STATUS_IS_ERR(status)) {
246                 return status;
247         }
248         
249         /* Return variables */
250         
251         /* Return result */
252         return werror_to_ntstatus(r.out.result);
253 }
254
255 NTSTATUS rpccli_dfs_ManagerSendSiteInfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
256 {
257         struct dfs_ManagerSendSiteInfo r;
258         NTSTATUS status;
259         
260         /* In parameters */
261         
262         if (DEBUGLEVEL >= 10)
263                 NDR_PRINT_IN_DEBUG(dfs_ManagerSendSiteInfo, &r);
264         
265         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_MANAGERSENDSITEINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_ManagerSendSiteInfo, (ndr_push_flags_fn_t)ndr_push_dfs_ManagerSendSiteInfo);
266         
267         if (DEBUGLEVEL >= 10)
268                 NDR_PRINT_OUT_DEBUG(dfs_ManagerSendSiteInfo, &r);
269         
270         if (NT_STATUS_IS_ERR(status)) {
271                 return status;
272         }
273         
274         /* Return variables */
275         
276         /* Return result */
277         return werror_to_ntstatus(r.out.result);
278 }
279
280 NTSTATUS rpccli_dfs_AddFtRoot(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
281 {
282         struct dfs_AddFtRoot r;
283         NTSTATUS status;
284         
285         /* In parameters */
286         
287         if (DEBUGLEVEL >= 10)
288                 NDR_PRINT_IN_DEBUG(dfs_AddFtRoot, &r);
289         
290         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_ADDFTROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_AddFtRoot, (ndr_push_flags_fn_t)ndr_push_dfs_AddFtRoot);
291         
292         if (DEBUGLEVEL >= 10)
293                 NDR_PRINT_OUT_DEBUG(dfs_AddFtRoot, &r);
294         
295         if (NT_STATUS_IS_ERR(status)) {
296                 return status;
297         }
298         
299         /* Return variables */
300         
301         /* Return result */
302         return werror_to_ntstatus(r.out.result);
303 }
304
305 NTSTATUS rpccli_dfs_RemoveFtRoot(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
306 {
307         struct dfs_RemoveFtRoot r;
308         NTSTATUS status;
309         
310         /* In parameters */
311         
312         if (DEBUGLEVEL >= 10)
313                 NDR_PRINT_IN_DEBUG(dfs_RemoveFtRoot, &r);
314         
315         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_REMOVEFTROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_RemoveFtRoot, (ndr_push_flags_fn_t)ndr_push_dfs_RemoveFtRoot);
316         
317         if (DEBUGLEVEL >= 10)
318                 NDR_PRINT_OUT_DEBUG(dfs_RemoveFtRoot, &r);
319         
320         if (NT_STATUS_IS_ERR(status)) {
321                 return status;
322         }
323         
324         /* Return variables */
325         
326         /* Return result */
327         return werror_to_ntstatus(r.out.result);
328 }
329
330 NTSTATUS rpccli_dfs_AddStdRoot(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
331 {
332         struct dfs_AddStdRoot r;
333         NTSTATUS status;
334         
335         /* In parameters */
336         
337         if (DEBUGLEVEL >= 10)
338                 NDR_PRINT_IN_DEBUG(dfs_AddStdRoot, &r);
339         
340         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_ADDSTDROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_AddStdRoot, (ndr_push_flags_fn_t)ndr_push_dfs_AddStdRoot);
341         
342         if (DEBUGLEVEL >= 10)
343                 NDR_PRINT_OUT_DEBUG(dfs_AddStdRoot, &r);
344         
345         if (NT_STATUS_IS_ERR(status)) {
346                 return status;
347         }
348         
349         /* Return variables */
350         
351         /* Return result */
352         return werror_to_ntstatus(r.out.result);
353 }
354
355 NTSTATUS rpccli_dfs_RemoveStdRoot(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
356 {
357         struct dfs_RemoveStdRoot r;
358         NTSTATUS status;
359         
360         /* In parameters */
361         
362         if (DEBUGLEVEL >= 10)
363                 NDR_PRINT_IN_DEBUG(dfs_RemoveStdRoot, &r);
364         
365         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_REMOVESTDROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_RemoveStdRoot, (ndr_push_flags_fn_t)ndr_push_dfs_RemoveStdRoot);
366         
367         if (DEBUGLEVEL >= 10)
368                 NDR_PRINT_OUT_DEBUG(dfs_RemoveStdRoot, &r);
369         
370         if (NT_STATUS_IS_ERR(status)) {
371                 return status;
372         }
373         
374         /* Return variables */
375         
376         /* Return result */
377         return werror_to_ntstatus(r.out.result);
378 }
379
380 NTSTATUS rpccli_dfs_ManagerInitialize(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
381 {
382         struct dfs_ManagerInitialize r;
383         NTSTATUS status;
384         
385         /* In parameters */
386         
387         if (DEBUGLEVEL >= 10)
388                 NDR_PRINT_IN_DEBUG(dfs_ManagerInitialize, &r);
389         
390         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_MANAGERINITIALIZE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_ManagerInitialize, (ndr_push_flags_fn_t)ndr_push_dfs_ManagerInitialize);
391         
392         if (DEBUGLEVEL >= 10)
393                 NDR_PRINT_OUT_DEBUG(dfs_ManagerInitialize, &r);
394         
395         if (NT_STATUS_IS_ERR(status)) {
396                 return status;
397         }
398         
399         /* Return variables */
400         
401         /* Return result */
402         return werror_to_ntstatus(r.out.result);
403 }
404
405 NTSTATUS rpccli_dfs_AddStdRootForced(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
406 {
407         struct dfs_AddStdRootForced r;
408         NTSTATUS status;
409         
410         /* In parameters */
411         
412         if (DEBUGLEVEL >= 10)
413                 NDR_PRINT_IN_DEBUG(dfs_AddStdRootForced, &r);
414         
415         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_ADDSTDROOTFORCED, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_AddStdRootForced, (ndr_push_flags_fn_t)ndr_push_dfs_AddStdRootForced);
416         
417         if (DEBUGLEVEL >= 10)
418                 NDR_PRINT_OUT_DEBUG(dfs_AddStdRootForced, &r);
419         
420         if (NT_STATUS_IS_ERR(status)) {
421                 return status;
422         }
423         
424         /* Return variables */
425         
426         /* Return result */
427         return werror_to_ntstatus(r.out.result);
428 }
429
430 NTSTATUS rpccli_dfs_GetDcAddress(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
431 {
432         struct dfs_GetDcAddress r;
433         NTSTATUS status;
434         
435         /* In parameters */
436         
437         if (DEBUGLEVEL >= 10)
438                 NDR_PRINT_IN_DEBUG(dfs_GetDcAddress, &r);
439         
440         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_GETDCADDRESS, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_GetDcAddress, (ndr_push_flags_fn_t)ndr_push_dfs_GetDcAddress);
441         
442         if (DEBUGLEVEL >= 10)
443                 NDR_PRINT_OUT_DEBUG(dfs_GetDcAddress, &r);
444         
445         if (NT_STATUS_IS_ERR(status)) {
446                 return status;
447         }
448         
449         /* Return variables */
450         
451         /* Return result */
452         return werror_to_ntstatus(r.out.result);
453 }
454
455 NTSTATUS rpccli_dfs_SetDcAddress(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
456 {
457         struct dfs_SetDcAddress r;
458         NTSTATUS status;
459         
460         /* In parameters */
461         
462         if (DEBUGLEVEL >= 10)
463                 NDR_PRINT_IN_DEBUG(dfs_SetDcAddress, &r);
464         
465         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_SETDCADDRESS, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_SetDcAddress, (ndr_push_flags_fn_t)ndr_push_dfs_SetDcAddress);
466         
467         if (DEBUGLEVEL >= 10)
468                 NDR_PRINT_OUT_DEBUG(dfs_SetDcAddress, &r);
469         
470         if (NT_STATUS_IS_ERR(status)) {
471                 return status;
472         }
473         
474         /* Return variables */
475         
476         /* Return result */
477         return werror_to_ntstatus(r.out.result);
478 }
479
480 NTSTATUS rpccli_dfs_FlushFtTable(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
481 {
482         struct dfs_FlushFtTable r;
483         NTSTATUS status;
484         
485         /* In parameters */
486         
487         if (DEBUGLEVEL >= 10)
488                 NDR_PRINT_IN_DEBUG(dfs_FlushFtTable, &r);
489         
490         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_FLUSHFTTABLE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_FlushFtTable, (ndr_push_flags_fn_t)ndr_push_dfs_FlushFtTable);
491         
492         if (DEBUGLEVEL >= 10)
493                 NDR_PRINT_OUT_DEBUG(dfs_FlushFtTable, &r);
494         
495         if (NT_STATUS_IS_ERR(status)) {
496                 return status;
497         }
498         
499         /* Return variables */
500         
501         /* Return result */
502         return werror_to_ntstatus(r.out.result);
503 }
504
505 NTSTATUS rpccli_dfs_Add2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
506 {
507         struct dfs_Add2 r;
508         NTSTATUS status;
509         
510         /* In parameters */
511         
512         if (DEBUGLEVEL >= 10)
513                 NDR_PRINT_IN_DEBUG(dfs_Add2, &r);
514         
515         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_ADD2, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Add2, (ndr_push_flags_fn_t)ndr_push_dfs_Add2);
516         
517         if (DEBUGLEVEL >= 10)
518                 NDR_PRINT_OUT_DEBUG(dfs_Add2, &r);
519         
520         if (NT_STATUS_IS_ERR(status)) {
521                 return status;
522         }
523         
524         /* Return variables */
525         
526         /* Return result */
527         return werror_to_ntstatus(r.out.result);
528 }
529
530 NTSTATUS rpccli_dfs_Remove2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
531 {
532         struct dfs_Remove2 r;
533         NTSTATUS status;
534         
535         /* In parameters */
536         
537         if (DEBUGLEVEL >= 10)
538                 NDR_PRINT_IN_DEBUG(dfs_Remove2, &r);
539         
540         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_REMOVE2, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Remove2, (ndr_push_flags_fn_t)ndr_push_dfs_Remove2);
541         
542         if (DEBUGLEVEL >= 10)
543                 NDR_PRINT_OUT_DEBUG(dfs_Remove2, &r);
544         
545         if (NT_STATUS_IS_ERR(status)) {
546                 return status;
547         }
548         
549         /* Return variables */
550         
551         /* Return result */
552         return werror_to_ntstatus(r.out.result);
553 }
554
555 NTSTATUS rpccli_dfs_EnumEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *name, uint32_t level, uint32_t bufsize, struct dfs_EnumStruct *info, uint32_t *total)
556 {
557         struct dfs_EnumEx r;
558         NTSTATUS status;
559         
560         /* In parameters */
561         r.in.name = name;
562         r.in.level = level;
563         r.in.bufsize = bufsize;
564         r.in.info = info;
565         r.in.total = total;
566         
567         if (DEBUGLEVEL >= 10)
568                 NDR_PRINT_IN_DEBUG(dfs_EnumEx, &r);
569         
570         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_ENUMEX, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_EnumEx, (ndr_push_flags_fn_t)ndr_push_dfs_EnumEx);
571         
572         if (DEBUGLEVEL >= 10)
573                 NDR_PRINT_OUT_DEBUG(dfs_EnumEx, &r);
574         
575         if (NT_STATUS_IS_ERR(status)) {
576                 return status;
577         }
578         
579         /* Return variables */
580         *info = *r.out.info;
581         *total = *r.out.total;
582         
583         /* Return result */
584         return werror_to_ntstatus(r.out.result);
585 }
586
587 NTSTATUS rpccli_dfs_SetInfo2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
588 {
589         struct dfs_SetInfo2 r;
590         NTSTATUS status;
591         
592         /* In parameters */
593         
594         if (DEBUGLEVEL >= 10)
595                 NDR_PRINT_IN_DEBUG(dfs_SetInfo2, &r);
596         
597         status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, DCERPC_DFS_SETINFO2, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_SetInfo2, (ndr_push_flags_fn_t)ndr_push_dfs_SetInfo2);
598         
599         if (DEBUGLEVEL >= 10)
600                 NDR_PRINT_OUT_DEBUG(dfs_SetInfo2, &r);
601         
602         if (NT_STATUS_IS_ERR(status)) {
603                 return status;
604         }
605         
606         /* Return variables */
607         
608         /* Return result */
609         return werror_to_ntstatus(r.out.result);
610 }
611