2 * Unix SMB/CIFS implementation.
3 * parser auto-generated by pidl. DO NOT MODIFY!
9 #define DBGC_CLASS DBGC_RPC_PARSE
11 /* netdfs structures */
12 BOOL
init_netdfs_dfs_Info0(NETDFS_DFS_INFO0
*v
)
14 DEBUG(5,("init_netdfs_dfs_Info0\n"));
19 BOOL
netdfs_io_dfs_Info0_p(const char *desc
, NETDFS_DFS_INFO0
*v
, prs_struct
*ps
, int depth
)
24 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info0_p");
29 BOOL
netdfs_io_dfs_Info0_d(const char *desc
, NETDFS_DFS_INFO0
*v
, prs_struct
*ps
, int depth
)
34 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info0_d");
39 BOOL
init_netdfs_dfs_Info1(NETDFS_DFS_INFO1
*v
, const char *path
)
41 DEBUG(5,("init_netdfs_dfs_Info1\n"));
45 init_unistr2(&v
->path
, path
, UNI_FLAGS_NONE
);
53 BOOL
netdfs_io_dfs_Info1_p(const char *desc
, NETDFS_DFS_INFO1
*v
, prs_struct
*ps
, int depth
)
58 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info1_p");
60 if (!prs_uint32("ptr0_path", ps
, depth
, &v
->ptr0_path
))
67 BOOL
netdfs_io_dfs_Info1_d(const char *desc
, NETDFS_DFS_INFO1
*v
, prs_struct
*ps
, int depth
)
72 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info1_d");
75 if (!prs_align_custom(ps
, 4))
78 if (!smb_io_unistr2("path", &v
->path
, 1, ps
, depth
))
85 BOOL
init_netdfs_dfs_Info2(NETDFS_DFS_INFO2
*v
, const char *path
, const char *comment
, uint32 state
, uint32 num_stores
)
87 DEBUG(5,("init_netdfs_dfs_Info2\n"));
91 init_unistr2(&v
->path
, path
, UNI_FLAGS_NONE
);
98 init_unistr2(&v
->comment
, comment
, UNI_FLAGS_NONE
);
105 v
->num_stores
= num_stores
;
110 BOOL
netdfs_io_dfs_Info2_p(const char *desc
, NETDFS_DFS_INFO2
*v
, prs_struct
*ps
, int depth
)
115 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info2_p");
117 if (!prs_uint32("ptr0_path", ps
, depth
, &v
->ptr0_path
))
121 if (!prs_uint32("ptr0_comment", ps
, depth
, &v
->ptr0_comment
))
125 if (!prs_uint32("state", ps
, depth
, &v
->state
))
128 if (!prs_uint32("num_stores", ps
, depth
, &v
->num_stores
))
134 BOOL
netdfs_io_dfs_Info2_d(const char *desc
, NETDFS_DFS_INFO2
*v
, prs_struct
*ps
, int depth
)
139 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info2_d");
142 if (!prs_align_custom(ps
, 4))
145 if (!smb_io_unistr2("path", &v
->path
, 1, ps
, depth
))
149 if (v
->ptr0_comment
) {
150 if (!prs_align_custom(ps
, 4))
153 if (!smb_io_unistr2("comment", &v
->comment
, 1, ps
, depth
))
162 BOOL
init_netdfs_dfs_StorageInfo(NETDFS_DFS_STORAGEINFO
*v
, uint32 state
, const char *server
, const char *share
)
164 DEBUG(5,("init_netdfs_dfs_StorageInfo\n"));
170 init_unistr2(&v
->server
, server
, UNI_FLAGS_NONE
);
177 init_unistr2(&v
->share
, share
, UNI_FLAGS_NONE
);
185 BOOL
netdfs_io_dfs_StorageInfo_p(const char *desc
, NETDFS_DFS_STORAGEINFO
*v
, prs_struct
*ps
, int depth
)
190 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_StorageInfo_p");
192 if (!prs_uint32("state", ps
, depth
, &v
->state
))
195 if (!prs_uint32("ptr0_server", ps
, depth
, &v
->ptr0_server
))
199 if (!prs_uint32("ptr0_share", ps
, depth
, &v
->ptr0_share
))
206 BOOL
netdfs_io_dfs_StorageInfo_d(const char *desc
, NETDFS_DFS_STORAGEINFO
*v
, prs_struct
*ps
, int depth
)
211 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_StorageInfo_d");
214 if (v
->ptr0_server
) {
215 if (!prs_align_custom(ps
, 4))
218 if (!smb_io_unistr2("server", &v
->server
, 1, ps
, depth
))
223 if (!prs_align_custom(ps
, 4))
226 if (!smb_io_unistr2("share", &v
->share
, 1, ps
, depth
))
233 BOOL
init_netdfs_dfs_Info3(NETDFS_DFS_INFO3
*v
, const char *path
, const char *comment
, uint32 state
, uint32 num_stores
, NETDFS_DFS_STORAGEINFO
**stores
)
235 DEBUG(5,("init_netdfs_dfs_Info3\n"));
239 init_unistr2(&v
->path
, path
, UNI_FLAGS_NONE
);
246 init_unistr2(&v
->comment
, comment
, UNI_FLAGS_NONE
);
253 v
->num_stores
= num_stores
;
265 BOOL
netdfs_io_dfs_Info3_p(const char *desc
, NETDFS_DFS_INFO3
*v
, prs_struct
*ps
, int depth
)
270 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info3_p");
272 if (!prs_uint32("ptr0_path", ps
, depth
, &v
->ptr0_path
))
276 if (!prs_uint32("ptr0_comment", ps
, depth
, &v
->ptr0_comment
))
280 if (!prs_uint32("state", ps
, depth
, &v
->state
))
283 if (!prs_uint32("num_stores", ps
, depth
, &v
->num_stores
))
286 if (!prs_uint32("ptr0_stores", ps
, depth
, &v
->ptr0_stores
))
293 BOOL
netdfs_io_dfs_Info3_d(const char *desc
, NETDFS_DFS_INFO3
*v
, prs_struct
*ps
, int depth
)
300 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info3_d");
303 if (!prs_align_custom(ps
, 4))
306 if (!smb_io_unistr2("path", &v
->path
, 1, ps
, depth
))
310 if (v
->ptr0_comment
) {
311 if (!prs_align_custom(ps
, 4))
314 if (!smb_io_unistr2("comment", &v
->comment
, 1, ps
, depth
))
320 if (v
->ptr0_stores
) {
321 if (!prs_align_custom(ps
, 4))
324 if (!prs_uint32("size_stores", ps
, depth
, &v
->size_stores
))
327 if (UNMARSHALLING(ps
)) {
329 v
->stores
= PRS_ALLOC_MEM(ps
,NETDFS_DFS_STORAGEINFO
,v
->num_stores
);
337 for (i_stores_1
=0; i_stores_1
<v
->num_stores
;i_stores_1
++) {
338 if (!netdfs_io_dfs_StorageInfo_p("stores", &v
->stores
[i_stores_1
], ps
, depth
))
341 for (i_stores_1
=0; i_stores_1
<v
->num_stores
;i_stores_1
++) {
342 if (!netdfs_io_dfs_StorageInfo_d("stores", &v
->stores
[i_stores_1
], ps
, depth
))
350 BOOL
init_netdfs_dfs_Info4(NETDFS_DFS_INFO4
*v
, const char *path
, const char *comment
, uint32 state
, uint32 timeout
, struct GUID guid
, uint32 num_stores
, NETDFS_DFS_STORAGEINFO
**stores
)
352 DEBUG(5,("init_netdfs_dfs_Info4\n"));
356 init_unistr2(&v
->path
, path
, UNI_FLAGS_NONE
);
363 init_unistr2(&v
->comment
, comment
, UNI_FLAGS_NONE
);
370 v
->timeout
= timeout
;
374 v
->num_stores
= num_stores
;
386 BOOL
netdfs_io_dfs_Info4_p(const char *desc
, NETDFS_DFS_INFO4
*v
, prs_struct
*ps
, int depth
)
391 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info4_p");
393 if (!prs_uint32("ptr0_path", ps
, depth
, &v
->ptr0_path
))
397 if (!prs_uint32("ptr0_comment", ps
, depth
, &v
->ptr0_comment
))
401 if (!prs_uint32("state", ps
, depth
, &v
->state
))
404 if (!prs_uint32("timeout", ps
, depth
, &v
->timeout
))
407 if (!smb_io_uuid("guid", &v
->guid
, ps
, depth
))
410 if (!prs_uint32("num_stores", ps
, depth
, &v
->num_stores
))
413 if (!prs_uint32("ptr0_stores", ps
, depth
, &v
->ptr0_stores
))
420 BOOL
netdfs_io_dfs_Info4_d(const char *desc
, NETDFS_DFS_INFO4
*v
, prs_struct
*ps
, int depth
)
427 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info4_d");
430 if (!prs_align_custom(ps
, 4))
433 if (!smb_io_unistr2("path", &v
->path
, 1, ps
, depth
))
437 if (v
->ptr0_comment
) {
438 if (!prs_align_custom(ps
, 4))
441 if (!smb_io_unistr2("comment", &v
->comment
, 1, ps
, depth
))
449 if (v
->ptr0_stores
) {
450 if (!prs_align_custom(ps
, 4))
453 if (!prs_uint32("size_stores", ps
, depth
, &v
->size_stores
))
456 if (UNMARSHALLING(ps
)) {
458 v
->stores
= PRS_ALLOC_MEM(ps
,NETDFS_DFS_STORAGEINFO
,v
->num_stores
);
466 for (i_stores_1
=0; i_stores_1
<v
->num_stores
;i_stores_1
++) {
467 if (!netdfs_io_dfs_StorageInfo_p("stores", &v
->stores
[i_stores_1
], ps
, depth
))
470 for (i_stores_1
=0; i_stores_1
<v
->num_stores
;i_stores_1
++) {
471 if (!netdfs_io_dfs_StorageInfo_d("stores", &v
->stores
[i_stores_1
], ps
, depth
))
479 BOOL
init_netdfs_dfs_Info100(NETDFS_DFS_INFO100
*v
, const char *comment
)
481 DEBUG(5,("init_netdfs_dfs_Info100\n"));
485 init_unistr2(&v
->comment
, comment
, UNI_FLAGS_NONE
);
493 BOOL
netdfs_io_dfs_Info100_p(const char *desc
, NETDFS_DFS_INFO100
*v
, prs_struct
*ps
, int depth
)
498 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info100_p");
500 if (!prs_uint32("ptr0_comment", ps
, depth
, &v
->ptr0_comment
))
507 BOOL
netdfs_io_dfs_Info100_d(const char *desc
, NETDFS_DFS_INFO100
*v
, prs_struct
*ps
, int depth
)
512 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info100_d");
514 if (v
->ptr0_comment
) {
515 if (!prs_align_custom(ps
, 4))
518 if (!smb_io_unistr2("comment", &v
->comment
, 1, ps
, depth
))
525 BOOL
init_netdfs_dfs_Info101(NETDFS_DFS_INFO101
*v
, uint32 state
)
527 DEBUG(5,("init_netdfs_dfs_Info101\n"));
534 BOOL
netdfs_io_dfs_Info101_p(const char *desc
, NETDFS_DFS_INFO101
*v
, prs_struct
*ps
, int depth
)
539 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info101_p");
541 if (!prs_uint32("state", ps
, depth
, &v
->state
))
547 BOOL
netdfs_io_dfs_Info101_d(const char *desc
, NETDFS_DFS_INFO101
*v
, prs_struct
*ps
, int depth
)
552 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info101_d");
558 BOOL
init_netdfs_dfs_Info102(NETDFS_DFS_INFO102
*v
, uint32 timeout
)
560 DEBUG(5,("init_netdfs_dfs_Info102\n"));
562 v
->timeout
= timeout
;
567 BOOL
netdfs_io_dfs_Info102_p(const char *desc
, NETDFS_DFS_INFO102
*v
, prs_struct
*ps
, int depth
)
572 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info102_p");
574 if (!prs_uint32("timeout", ps
, depth
, &v
->timeout
))
580 BOOL
netdfs_io_dfs_Info102_d(const char *desc
, NETDFS_DFS_INFO102
*v
, prs_struct
*ps
, int depth
)
585 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info102_d");
591 BOOL
init_netdfs_dfs_Info200(NETDFS_DFS_INFO200
*v
, const char *dom_root
)
593 DEBUG(5,("init_netdfs_dfs_Info200\n"));
596 v
->ptr0_dom_root
= 1;
597 init_unistr2(&v
->dom_root
, dom_root
, UNI_FLAGS_NONE
);
599 v
->ptr0_dom_root
= 0;
605 BOOL
netdfs_io_dfs_Info200_p(const char *desc
, NETDFS_DFS_INFO200
*v
, prs_struct
*ps
, int depth
)
610 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info200_p");
612 if (!prs_uint32("ptr0_dom_root", ps
, depth
, &v
->ptr0_dom_root
))
619 BOOL
netdfs_io_dfs_Info200_d(const char *desc
, NETDFS_DFS_INFO200
*v
, prs_struct
*ps
, int depth
)
624 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info200_d");
626 if (v
->ptr0_dom_root
) {
627 if (!prs_align_custom(ps
, 4))
630 if (!smb_io_unistr2("dom_root", &v
->dom_root
, 1, ps
, depth
))
637 BOOL
init_netdfs_dfs_Info300(NETDFS_DFS_INFO300
*v
, uint32 flags
, const char *dom_root
)
639 DEBUG(5,("init_netdfs_dfs_Info300\n"));
644 v
->ptr0_dom_root
= 1;
645 init_unistr2(&v
->dom_root
, dom_root
, UNI_FLAGS_NONE
);
647 v
->ptr0_dom_root
= 0;
653 BOOL
netdfs_io_dfs_Info300_p(const char *desc
, NETDFS_DFS_INFO300
*v
, prs_struct
*ps
, int depth
)
658 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info300_p");
660 if (!prs_uint32("flags", ps
, depth
, &v
->flags
))
663 if (!prs_uint32("ptr0_dom_root", ps
, depth
, &v
->ptr0_dom_root
))
670 BOOL
netdfs_io_dfs_Info300_d(const char *desc
, NETDFS_DFS_INFO300
*v
, prs_struct
*ps
, int depth
)
675 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info300_d");
678 if (v
->ptr0_dom_root
) {
679 if (!prs_align_custom(ps
, 4))
682 if (!smb_io_unistr2("dom_root", &v
->dom_root
, 1, ps
, depth
))
689 BOOL
netdfs_io_dfs_Info_p(const char *desc
, NETDFS_DFS_INFO_CTR
* v
, prs_struct
*ps
, int depth
)
691 if (!prs_uint32("switch_value", ps
, depth
, &v
->switch_value
))
694 switch (v
->switch_value
) {
697 if (!prs_uint32("ptr0_info0", ps
, depth
, &v
->ptr0
))
705 if (!prs_uint32("ptr0_info1", ps
, depth
, &v
->ptr0
))
713 if (!prs_uint32("ptr0_info2", ps
, depth
, &v
->ptr0
))
721 if (!prs_uint32("ptr0_info3", ps
, depth
, &v
->ptr0
))
729 if (!prs_uint32("ptr0_info4", ps
, depth
, &v
->ptr0
))
737 if (!prs_uint32("ptr0_info100", ps
, depth
, &v
->ptr0
))
745 if (!prs_uint32("ptr0_info101", ps
, depth
, &v
->ptr0
))
753 if (!prs_uint32("ptr0_info102", ps
, depth
, &v
->ptr0
))
767 BOOL
netdfs_io_dfs_Info_d(const char *desc
, NETDFS_DFS_INFO_CTR
* v
, prs_struct
*ps
, int depth
)
769 switch (v
->switch_value
) {
773 if (!prs_align_custom(ps
, 1))
776 if (!netdfs_io_dfs_Info0_p("info0", &v
->u
.info0
, ps
, depth
))
778 if (!netdfs_io_dfs_Info0_d("info0", &v
->u
.info0
, ps
, depth
))
787 if (!prs_align_custom(ps
, 4))
790 if (!netdfs_io_dfs_Info1_p("info1", &v
->u
.info1
, ps
, depth
))
792 if (!netdfs_io_dfs_Info1_d("info1", &v
->u
.info1
, ps
, depth
))
801 if (!prs_align_custom(ps
, 4))
804 if (!netdfs_io_dfs_Info2_p("info2", &v
->u
.info2
, ps
, depth
))
806 if (!netdfs_io_dfs_Info2_d("info2", &v
->u
.info2
, ps
, depth
))
815 if (!prs_align_custom(ps
, 4))
818 if (!netdfs_io_dfs_Info3_p("info3", &v
->u
.info3
, ps
, depth
))
820 if (!netdfs_io_dfs_Info3_d("info3", &v
->u
.info3
, ps
, depth
))
829 if (!prs_align_custom(ps
, 4))
832 if (!netdfs_io_dfs_Info4_p("info4", &v
->u
.info4
, ps
, depth
))
834 if (!netdfs_io_dfs_Info4_d("info4", &v
->u
.info4
, ps
, depth
))
843 if (!prs_align_custom(ps
, 4))
846 if (!netdfs_io_dfs_Info100_p("info100", &v
->u
.info100
, ps
, depth
))
848 if (!netdfs_io_dfs_Info100_d("info100", &v
->u
.info100
, ps
, depth
))
857 if (!prs_align_custom(ps
, 4))
860 if (!netdfs_io_dfs_Info101_p("info101", &v
->u
.info101
, ps
, depth
))
862 if (!netdfs_io_dfs_Info101_d("info101", &v
->u
.info101
, ps
, depth
))
871 if (!prs_align_custom(ps
, 4))
874 if (!netdfs_io_dfs_Info102_p("info102", &v
->u
.info102
, ps
, depth
))
876 if (!netdfs_io_dfs_Info102_d("info102", &v
->u
.info102
, ps
, depth
))
886 BOOL
init_netdfs_dfs_EnumArray1(NETDFS_DFS_ENUMARRAY1
*v
, uint32 count
, NETDFS_DFS_INFO1
**s
)
888 DEBUG(5,("init_netdfs_dfs_EnumArray1\n"));
902 BOOL
netdfs_io_dfs_EnumArray1_p(const char *desc
, NETDFS_DFS_ENUMARRAY1
*v
, prs_struct
*ps
, int depth
)
907 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray1_p");
909 if (!prs_uint32("count", ps
, depth
, &v
->count
))
912 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
919 BOOL
netdfs_io_dfs_EnumArray1_d(const char *desc
, NETDFS_DFS_ENUMARRAY1
*v
, prs_struct
*ps
, int depth
)
926 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray1_d");
930 if (!prs_align_custom(ps
, 4))
933 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
936 if (UNMARSHALLING(ps
)) {
938 v
->s
= PRS_ALLOC_MEM(ps
,NETDFS_DFS_INFO1
,v
->count
);
946 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
947 if (!netdfs_io_dfs_Info1_p("s", &v
->s
[i_s_1
], ps
, depth
))
950 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
951 if (!netdfs_io_dfs_Info1_d("s", &v
->s
[i_s_1
], ps
, depth
))
959 BOOL
init_netdfs_dfs_EnumArray2(NETDFS_DFS_ENUMARRAY2
*v
, uint32 count
, NETDFS_DFS_INFO2
**s
)
961 DEBUG(5,("init_netdfs_dfs_EnumArray2\n"));
975 BOOL
netdfs_io_dfs_EnumArray2_p(const char *desc
, NETDFS_DFS_ENUMARRAY2
*v
, prs_struct
*ps
, int depth
)
980 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray2_p");
982 if (!prs_uint32("count", ps
, depth
, &v
->count
))
985 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
992 BOOL
netdfs_io_dfs_EnumArray2_d(const char *desc
, NETDFS_DFS_ENUMARRAY2
*v
, prs_struct
*ps
, int depth
)
999 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray2_d");
1003 if (!prs_align_custom(ps
, 4))
1006 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
1009 if (UNMARSHALLING(ps
)) {
1011 v
->s
= PRS_ALLOC_MEM(ps
,NETDFS_DFS_INFO2
,v
->count
);
1019 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1020 if (!netdfs_io_dfs_Info2_p("s", &v
->s
[i_s_1
], ps
, depth
))
1023 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1024 if (!netdfs_io_dfs_Info2_d("s", &v
->s
[i_s_1
], ps
, depth
))
1032 BOOL
init_netdfs_dfs_EnumArray3(NETDFS_DFS_ENUMARRAY3
*v
, uint32 count
, NETDFS_DFS_INFO3
**s
)
1034 DEBUG(5,("init_netdfs_dfs_EnumArray3\n"));
1048 BOOL
netdfs_io_dfs_EnumArray3_p(const char *desc
, NETDFS_DFS_ENUMARRAY3
*v
, prs_struct
*ps
, int depth
)
1053 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray3_p");
1055 if (!prs_uint32("count", ps
, depth
, &v
->count
))
1058 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
1065 BOOL
netdfs_io_dfs_EnumArray3_d(const char *desc
, NETDFS_DFS_ENUMARRAY3
*v
, prs_struct
*ps
, int depth
)
1072 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray3_d");
1076 if (!prs_align_custom(ps
, 4))
1079 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
1082 if (UNMARSHALLING(ps
)) {
1084 v
->s
= PRS_ALLOC_MEM(ps
,NETDFS_DFS_INFO3
,v
->count
);
1092 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1093 if (!netdfs_io_dfs_Info3_p("s", &v
->s
[i_s_1
], ps
, depth
))
1096 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1097 if (!netdfs_io_dfs_Info3_d("s", &v
->s
[i_s_1
], ps
, depth
))
1105 BOOL
init_netdfs_dfs_EnumArray4(NETDFS_DFS_ENUMARRAY4
*v
, uint32 count
, NETDFS_DFS_INFO4
**s
)
1107 DEBUG(5,("init_netdfs_dfs_EnumArray4\n"));
1121 BOOL
netdfs_io_dfs_EnumArray4_p(const char *desc
, NETDFS_DFS_ENUMARRAY4
*v
, prs_struct
*ps
, int depth
)
1126 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray4_p");
1128 if (!prs_uint32("count", ps
, depth
, &v
->count
))
1131 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
1138 BOOL
netdfs_io_dfs_EnumArray4_d(const char *desc
, NETDFS_DFS_ENUMARRAY4
*v
, prs_struct
*ps
, int depth
)
1145 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray4_d");
1149 if (!prs_align_custom(ps
, 4))
1152 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
1155 if (UNMARSHALLING(ps
)) {
1157 v
->s
= PRS_ALLOC_MEM(ps
,NETDFS_DFS_INFO4
,v
->count
);
1165 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1166 if (!netdfs_io_dfs_Info4_p("s", &v
->s
[i_s_1
], ps
, depth
))
1169 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1170 if (!netdfs_io_dfs_Info4_d("s", &v
->s
[i_s_1
], ps
, depth
))
1178 BOOL
init_netdfs_dfs_EnumArray200(NETDFS_DFS_ENUMARRAY200
*v
, uint32 count
, NETDFS_DFS_INFO200
**s
)
1180 DEBUG(5,("init_netdfs_dfs_EnumArray200\n"));
1194 BOOL
netdfs_io_dfs_EnumArray200_p(const char *desc
, NETDFS_DFS_ENUMARRAY200
*v
, prs_struct
*ps
, int depth
)
1199 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray200_p");
1201 if (!prs_uint32("count", ps
, depth
, &v
->count
))
1204 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
1211 BOOL
netdfs_io_dfs_EnumArray200_d(const char *desc
, NETDFS_DFS_ENUMARRAY200
*v
, prs_struct
*ps
, int depth
)
1218 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray200_d");
1222 if (!prs_align_custom(ps
, 4))
1225 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
1228 if (UNMARSHALLING(ps
)) {
1230 v
->s
= PRS_ALLOC_MEM(ps
,NETDFS_DFS_INFO200
,v
->count
);
1238 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1239 if (!netdfs_io_dfs_Info200_p("s", &v
->s
[i_s_1
], ps
, depth
))
1242 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1243 if (!netdfs_io_dfs_Info200_d("s", &v
->s
[i_s_1
], ps
, depth
))
1251 BOOL
init_netdfs_dfs_EnumArray300(NETDFS_DFS_ENUMARRAY300
*v
, uint32 count
, NETDFS_DFS_INFO300
**s
)
1253 DEBUG(5,("init_netdfs_dfs_EnumArray300\n"));
1267 BOOL
netdfs_io_dfs_EnumArray300_p(const char *desc
, NETDFS_DFS_ENUMARRAY300
*v
, prs_struct
*ps
, int depth
)
1272 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray300_p");
1274 if (!prs_uint32("count", ps
, depth
, &v
->count
))
1277 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
1284 BOOL
netdfs_io_dfs_EnumArray300_d(const char *desc
, NETDFS_DFS_ENUMARRAY300
*v
, prs_struct
*ps
, int depth
)
1291 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray300_d");
1295 if (!prs_align_custom(ps
, 4))
1298 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
1301 if (UNMARSHALLING(ps
)) {
1303 v
->s
= PRS_ALLOC_MEM(ps
,NETDFS_DFS_INFO300
,v
->count
);
1311 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1312 if (!netdfs_io_dfs_Info300_p("s", &v
->s
[i_s_1
], ps
, depth
))
1315 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1316 if (!netdfs_io_dfs_Info300_d("s", &v
->s
[i_s_1
], ps
, depth
))
1324 BOOL
netdfs_io_dfs_EnumInfo_p(const char *desc
, NETDFS_DFS_ENUMINFO_CTR
* v
, prs_struct
*ps
, int depth
)
1326 if (!prs_uint32("switch_value", ps
, depth
, &v
->switch_value
))
1329 switch (v
->switch_value
) {
1332 if (!prs_uint32("ptr0_info1", ps
, depth
, &v
->ptr0
))
1340 if (!prs_uint32("ptr0_info2", ps
, depth
, &v
->ptr0
))
1348 if (!prs_uint32("ptr0_info3", ps
, depth
, &v
->ptr0
))
1356 if (!prs_uint32("ptr0_info4", ps
, depth
, &v
->ptr0
))
1364 if (!prs_uint32("ptr0_info200", ps
, depth
, &v
->ptr0
))
1372 if (!prs_uint32("ptr0_info300", ps
, depth
, &v
->ptr0
))
1386 BOOL
netdfs_io_dfs_EnumInfo_d(const char *desc
, NETDFS_DFS_ENUMINFO_CTR
* v
, prs_struct
*ps
, int depth
)
1388 switch (v
->switch_value
) {
1392 if (!prs_align_custom(ps
, 4))
1395 if (!netdfs_io_dfs_EnumArray1_p("info1", &v
->u
.info1
, ps
, depth
))
1397 if (!netdfs_io_dfs_EnumArray1_d("info1", &v
->u
.info1
, ps
, depth
))
1406 if (!prs_align_custom(ps
, 4))
1409 if (!netdfs_io_dfs_EnumArray2_p("info2", &v
->u
.info2
, ps
, depth
))
1411 if (!netdfs_io_dfs_EnumArray2_d("info2", &v
->u
.info2
, ps
, depth
))
1420 if (!prs_align_custom(ps
, 4))
1423 if (!netdfs_io_dfs_EnumArray3_p("info3", &v
->u
.info3
, ps
, depth
))
1425 if (!netdfs_io_dfs_EnumArray3_d("info3", &v
->u
.info3
, ps
, depth
))
1434 if (!prs_align_custom(ps
, 4))
1437 if (!netdfs_io_dfs_EnumArray4_p("info4", &v
->u
.info4
, ps
, depth
))
1439 if (!netdfs_io_dfs_EnumArray4_d("info4", &v
->u
.info4
, ps
, depth
))
1448 if (!prs_align_custom(ps
, 4))
1451 if (!netdfs_io_dfs_EnumArray200_p("info200", &v
->u
.info200
, ps
, depth
))
1453 if (!netdfs_io_dfs_EnumArray200_d("info200", &v
->u
.info200
, ps
, depth
))
1462 if (!prs_align_custom(ps
, 4))
1465 if (!netdfs_io_dfs_EnumArray300_p("info300", &v
->u
.info300
, ps
, depth
))
1467 if (!netdfs_io_dfs_EnumArray300_d("info300", &v
->u
.info300
, ps
, depth
))
1477 BOOL
init_netdfs_dfs_EnumStruct(NETDFS_DFS_ENUMSTRUCT
*v
, uint32 level
, NETDFS_DFS_ENUMINFO_CTR e
)
1479 DEBUG(5,("init_netdfs_dfs_EnumStruct\n"));
1484 v
->e
.switch_value
= v
->level
;
1489 BOOL
netdfs_io_dfs_EnumStruct_p(const char *desc
, NETDFS_DFS_ENUMSTRUCT
*v
, prs_struct
*ps
, int depth
)
1494 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumStruct_p");
1496 if (!prs_uint32("level", ps
, depth
, &v
->level
))
1499 if (!netdfs_io_dfs_EnumInfo_p("e", &v
->e
, ps
, depth
))
1505 BOOL
netdfs_io_dfs_EnumStruct_d(const char *desc
, NETDFS_DFS_ENUMSTRUCT
*v
, prs_struct
*ps
, int depth
)
1510 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumStruct_d");
1513 if (!prs_align_custom(ps
, 4))
1516 if (!netdfs_io_dfs_EnumInfo_d("e", &v
->e
, ps
, depth
))
1522 /* netdfs functions */
1523 BOOL
init_netdfs_q_dfs_GetManagerVersion(NETDFS_Q_DFS_GETMANAGERVERSION
*v
)
1525 DEBUG(5,("init_netdfs_q_dfs_GetManagerVersion\n"));
1530 BOOL
netdfs_io_q_dfs_GetManagerVersion(const char *desc
, NETDFS_Q_DFS_GETMANAGERVERSION
*v
, prs_struct
*ps
, int depth
)
1535 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_GetManagerVersion");
1540 BOOL
init_netdfs_r_dfs_GetManagerVersion(NETDFS_R_DFS_GETMANAGERVERSION
*v
, uint32
*exist_flag
)
1542 DEBUG(5,("init_netdfs_r_dfs_GetManagerVersion\n"));
1547 v
->exist_flag
= *exist_flag
;
1552 BOOL
netdfs_io_r_dfs_GetManagerVersion(const char *desc
, NETDFS_R_DFS_GETMANAGERVERSION
*v
, prs_struct
*ps
, int depth
)
1557 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_GetManagerVersion");
1559 if (!prs_uint32("exist_flag", ps
, depth
, &v
->exist_flag
))
1565 BOOL
init_netdfs_q_dfs_Add(NETDFS_Q_DFS_ADD
*v
, const char *path
, const char *server
, const char *share
, const char *comment
, uint32 flags
)
1567 DEBUG(5,("init_netdfs_q_dfs_Add\n"));
1572 init_unistr2(&v
->path
, path
, UNI_FLAGS_NONE
);
1577 init_unistr2(&v
->server
, server
, UNI_FLAGS_NONE
);
1581 init_unistr2(&v
->share
, share
, UNI_FLAGS_NONE
);
1587 v
->ptr0_comment
= 1;
1588 init_unistr2(&v
->comment
, comment
, UNI_FLAGS_NONE
);
1590 v
->ptr0_comment
= 0;
1598 BOOL
netdfs_io_q_dfs_Add(const char *desc
, NETDFS_Q_DFS_ADD
*v
, prs_struct
*ps
, int depth
)
1603 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Add");
1605 if (!prs_align_custom(ps
, 4))
1608 if (!smb_io_unistr2("path", &v
->path
, 1, ps
, depth
))
1611 if (!prs_align_custom(ps
, 4))
1614 if (!smb_io_unistr2("server", &v
->server
, 1, ps
, depth
))
1617 if (!prs_align_custom(ps
, 4))
1620 if (!prs_uint32("ptr0_share", ps
, depth
, &v
->ptr0_share
))
1623 if (v
->ptr0_share
) {
1624 if (!prs_align_custom(ps
, 4))
1627 if (!smb_io_unistr2("share", &v
->share
, 1, ps
, depth
))
1631 if (!prs_align_custom(ps
, 4))
1634 if (!prs_uint32("ptr0_comment", ps
, depth
, &v
->ptr0_comment
))
1637 if (v
->ptr0_comment
) {
1638 if (!prs_align_custom(ps
, 4))
1641 if (!smb_io_unistr2("comment", &v
->comment
, 1, ps
, depth
))
1645 if (!prs_align_custom(ps
, 4))
1648 if (!prs_uint32("flags", ps
, depth
, &v
->flags
))
1654 BOOL
init_netdfs_r_dfs_Add(NETDFS_R_DFS_ADD
*v
, const char *path
, const char *server
, const char *share
, const char *comment
, uint32 flags
, WERROR status
)
1656 DEBUG(5,("init_netdfs_r_dfs_Add\n"));
1663 BOOL
netdfs_io_r_dfs_Add(const char *desc
, NETDFS_R_DFS_ADD
*v
, prs_struct
*ps
, int depth
)
1668 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Add");
1670 if (!prs_werror("status", ps
, depth
, &v
->status
))
1676 BOOL
init_netdfs_q_dfs_Remove(NETDFS_Q_DFS_REMOVE
*v
, const char *path
, const char *server
, const char *share
)
1678 DEBUG(5,("init_netdfs_q_dfs_Remove\n"));
1683 init_unistr2(&v
->path
, path
, UNI_FLAGS_NONE
);
1687 init_unistr2(&v
->server
, server
, UNI_FLAGS_NONE
);
1694 init_unistr2(&v
->share
, share
, UNI_FLAGS_NONE
);
1702 BOOL
netdfs_io_q_dfs_Remove(const char *desc
, NETDFS_Q_DFS_REMOVE
*v
, prs_struct
*ps
, int depth
)
1707 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Remove");
1709 if (!prs_align_custom(ps
, 4))
1712 if (!smb_io_unistr2("path", &v
->path
, 1, ps
, depth
))
1715 if (!prs_align_custom(ps
, 4))
1718 if (!prs_uint32("ptr0_server", ps
, depth
, &v
->ptr0_server
))
1721 if (v
->ptr0_server
) {
1722 if (!prs_align_custom(ps
, 4))
1725 if (!smb_io_unistr2("server", &v
->server
, 1, ps
, depth
))
1729 if (!prs_align_custom(ps
, 4))
1732 if (!prs_uint32("ptr0_share", ps
, depth
, &v
->ptr0_share
))
1735 if (v
->ptr0_share
) {
1736 if (!prs_align_custom(ps
, 4))
1739 if (!smb_io_unistr2("share", &v
->share
, 1, ps
, depth
))
1746 BOOL
init_netdfs_r_dfs_Remove(NETDFS_R_DFS_REMOVE
*v
, const char *path
, const char *server
, const char *share
, WERROR status
)
1748 DEBUG(5,("init_netdfs_r_dfs_Remove\n"));
1755 BOOL
netdfs_io_r_dfs_Remove(const char *desc
, NETDFS_R_DFS_REMOVE
*v
, prs_struct
*ps
, int depth
)
1760 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Remove");
1762 if (!prs_werror("status", ps
, depth
, &v
->status
))
1768 BOOL
init_netdfs_q_dfs_SetInfo(NETDFS_Q_DFS_SETINFO
*v
)
1770 DEBUG(5,("init_netdfs_q_dfs_SetInfo\n"));
1775 BOOL
netdfs_io_q_dfs_SetInfo(const char *desc
, NETDFS_Q_DFS_SETINFO
*v
, prs_struct
*ps
, int depth
)
1780 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_SetInfo");
1785 BOOL
init_netdfs_r_dfs_SetInfo(NETDFS_R_DFS_SETINFO
*v
, WERROR status
)
1787 DEBUG(5,("init_netdfs_r_dfs_SetInfo\n"));
1794 BOOL
netdfs_io_r_dfs_SetInfo(const char *desc
, NETDFS_R_DFS_SETINFO
*v
, prs_struct
*ps
, int depth
)
1799 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_SetInfo");
1801 if (!prs_werror("status", ps
, depth
, &v
->status
))
1807 BOOL
init_netdfs_q_dfs_GetInfo(NETDFS_Q_DFS_GETINFO
*v
, const char *path
, const char *server
, const char *share
, uint32 level
)
1809 DEBUG(5,("init_netdfs_q_dfs_GetInfo\n"));
1814 init_unistr2(&v
->path
, path
, UNI_FLAGS_NONE
);
1818 init_unistr2(&v
->server
, server
, UNI_FLAGS_NONE
);
1825 init_unistr2(&v
->share
, share
, UNI_FLAGS_NONE
);
1835 BOOL
netdfs_io_q_dfs_GetInfo(const char *desc
, NETDFS_Q_DFS_GETINFO
*v
, prs_struct
*ps
, int depth
)
1840 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_GetInfo");
1842 if (!prs_align_custom(ps
, 4))
1845 if (!smb_io_unistr2("path", &v
->path
, 1, ps
, depth
))
1848 if (!prs_align_custom(ps
, 4))
1851 if (!prs_uint32("ptr0_server", ps
, depth
, &v
->ptr0_server
))
1854 if (v
->ptr0_server
) {
1855 if (!prs_align_custom(ps
, 4))
1858 if (!smb_io_unistr2("server", &v
->server
, 1, ps
, depth
))
1862 if (!prs_align_custom(ps
, 4))
1865 if (!prs_uint32("ptr0_share", ps
, depth
, &v
->ptr0_share
))
1868 if (v
->ptr0_share
) {
1869 if (!prs_align_custom(ps
, 4))
1872 if (!smb_io_unistr2("share", &v
->share
, 1, ps
, depth
))
1876 if (!prs_align_custom(ps
, 4))
1879 if (!prs_uint32("level", ps
, depth
, &v
->level
))
1885 BOOL
init_netdfs_r_dfs_GetInfo(NETDFS_R_DFS_GETINFO
*v
, const char *path
, const char *server
, const char *share
, uint32 level
, NETDFS_DFS_INFO_CTR
*info
, WERROR status
)
1887 DEBUG(5,("init_netdfs_r_dfs_GetInfo\n"));
1893 v
->info
.switch_value
= level
;
1900 BOOL
netdfs_io_r_dfs_GetInfo(const char *desc
, NETDFS_R_DFS_GETINFO
*v
, prs_struct
*ps
, int depth
)
1905 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_GetInfo");
1907 if (!netdfs_io_dfs_Info_p("info", &v
->info
, ps
, depth
))
1909 if (!netdfs_io_dfs_Info_d("info", &v
->info
, ps
, depth
))
1912 if (!prs_align_custom(ps
, 4))
1915 if (!prs_werror("status", ps
, depth
, &v
->status
))
1921 BOOL
init_netdfs_q_dfs_Enum(NETDFS_Q_DFS_ENUM
*v
, uint32 level
, uint32 bufsize
, NETDFS_DFS_ENUMSTRUCT
*info
, uint32
*total
)
1923 DEBUG(5,("init_netdfs_q_dfs_Enum\n"));
1927 v
->bufsize
= bufsize
;
1946 BOOL
netdfs_io_q_dfs_Enum(const char *desc
, NETDFS_Q_DFS_ENUM
*v
, prs_struct
*ps
, int depth
)
1951 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Enum");
1953 if (!prs_uint32("level", ps
, depth
, &v
->level
))
1956 if (!prs_uint32("bufsize", ps
, depth
, &v
->bufsize
))
1959 if (!prs_uint32("ptr0_info", ps
, depth
, &v
->ptr0_info
))
1963 if (!netdfs_io_dfs_EnumStruct_p("info", &v
->info
, ps
, depth
))
1965 if (!netdfs_io_dfs_EnumStruct_d("info", &v
->info
, ps
, depth
))
1969 if (!prs_align_custom(ps
, 4))
1972 if (!prs_uint32("ptr0_total", ps
, depth
, &v
->ptr0_total
))
1975 if (v
->ptr0_total
) {
1976 if (!prs_uint32("total", ps
, depth
, &v
->total
))
1983 BOOL
init_netdfs_r_dfs_Enum(NETDFS_R_DFS_ENUM
*v
, uint32 level
, uint32 bufsize
, NETDFS_DFS_ENUMSTRUCT
*info
, uint32
*unknown
, uint32
*total
, WERROR status
)
1985 DEBUG(5,("init_netdfs_r_dfs_Enum\n"));
2006 BOOL
netdfs_io_r_dfs_Enum(const char *desc
, NETDFS_R_DFS_ENUM
*v
, prs_struct
*ps
, int depth
)
2011 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Enum");
2013 if (!prs_uint32("ptr0_info", ps
, depth
, &v
->ptr0_info
))
2017 if (!netdfs_io_dfs_EnumStruct_p("info", &v
->info
, ps
, depth
))
2019 if (!netdfs_io_dfs_EnumStruct_d("info", &v
->info
, ps
, depth
))
2023 if (!prs_align_custom(ps
, 4))
2026 if (!prs_uint32("ptr0_total", ps
, depth
, &v
->ptr0_total
))
2029 if (v
->ptr0_total
) {
2030 if (!prs_uint32("total", ps
, depth
, &v
->total
))
2034 if (!prs_align_custom(ps
, 4))
2037 if (!prs_werror("status", ps
, depth
, &v
->status
))
2043 BOOL
init_netdfs_q_dfs_Rename(NETDFS_Q_DFS_RENAME
*v
)
2045 DEBUG(5,("init_netdfs_q_dfs_Rename\n"));
2050 BOOL
netdfs_io_q_dfs_Rename(const char *desc
, NETDFS_Q_DFS_RENAME
*v
, prs_struct
*ps
, int depth
)
2055 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Rename");
2060 BOOL
init_netdfs_r_dfs_Rename(NETDFS_R_DFS_RENAME
*v
, WERROR status
)
2062 DEBUG(5,("init_netdfs_r_dfs_Rename\n"));
2069 BOOL
netdfs_io_r_dfs_Rename(const char *desc
, NETDFS_R_DFS_RENAME
*v
, prs_struct
*ps
, int depth
)
2074 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Rename");
2076 if (!prs_werror("status", ps
, depth
, &v
->status
))
2082 BOOL
init_netdfs_q_dfs_Move(NETDFS_Q_DFS_MOVE
*v
)
2084 DEBUG(5,("init_netdfs_q_dfs_Move\n"));
2089 BOOL
netdfs_io_q_dfs_Move(const char *desc
, NETDFS_Q_DFS_MOVE
*v
, prs_struct
*ps
, int depth
)
2094 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Move");
2099 BOOL
init_netdfs_r_dfs_Move(NETDFS_R_DFS_MOVE
*v
, WERROR status
)
2101 DEBUG(5,("init_netdfs_r_dfs_Move\n"));
2108 BOOL
netdfs_io_r_dfs_Move(const char *desc
, NETDFS_R_DFS_MOVE
*v
, prs_struct
*ps
, int depth
)
2113 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Move");
2115 if (!prs_werror("status", ps
, depth
, &v
->status
))
2121 BOOL
init_netdfs_q_dfs_ManagerGetConfigInfo(NETDFS_Q_DFS_MANAGERGETCONFIGINFO
*v
)
2123 DEBUG(5,("init_netdfs_q_dfs_ManagerGetConfigInfo\n"));
2128 BOOL
netdfs_io_q_dfs_ManagerGetConfigInfo(const char *desc
, NETDFS_Q_DFS_MANAGERGETCONFIGINFO
*v
, prs_struct
*ps
, int depth
)
2133 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_ManagerGetConfigInfo");
2138 BOOL
init_netdfs_r_dfs_ManagerGetConfigInfo(NETDFS_R_DFS_MANAGERGETCONFIGINFO
*v
, WERROR status
)
2140 DEBUG(5,("init_netdfs_r_dfs_ManagerGetConfigInfo\n"));
2147 BOOL
netdfs_io_r_dfs_ManagerGetConfigInfo(const char *desc
, NETDFS_R_DFS_MANAGERGETCONFIGINFO
*v
, prs_struct
*ps
, int depth
)
2152 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_ManagerGetConfigInfo");
2154 if (!prs_werror("status", ps
, depth
, &v
->status
))
2160 BOOL
init_netdfs_q_dfs_ManagerSendSiteInfo(NETDFS_Q_DFS_MANAGERSENDSITEINFO
*v
)
2162 DEBUG(5,("init_netdfs_q_dfs_ManagerSendSiteInfo\n"));
2167 BOOL
netdfs_io_q_dfs_ManagerSendSiteInfo(const char *desc
, NETDFS_Q_DFS_MANAGERSENDSITEINFO
*v
, prs_struct
*ps
, int depth
)
2172 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_ManagerSendSiteInfo");
2177 BOOL
init_netdfs_r_dfs_ManagerSendSiteInfo(NETDFS_R_DFS_MANAGERSENDSITEINFO
*v
, WERROR status
)
2179 DEBUG(5,("init_netdfs_r_dfs_ManagerSendSiteInfo\n"));
2186 BOOL
netdfs_io_r_dfs_ManagerSendSiteInfo(const char *desc
, NETDFS_R_DFS_MANAGERSENDSITEINFO
*v
, prs_struct
*ps
, int depth
)
2191 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_ManagerSendSiteInfo");
2193 if (!prs_werror("status", ps
, depth
, &v
->status
))
2199 BOOL
init_netdfs_q_dfs_AddFtRoot(NETDFS_Q_DFS_ADDFTROOT
*v
)
2201 DEBUG(5,("init_netdfs_q_dfs_AddFtRoot\n"));
2206 BOOL
netdfs_io_q_dfs_AddFtRoot(const char *desc
, NETDFS_Q_DFS_ADDFTROOT
*v
, prs_struct
*ps
, int depth
)
2211 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_AddFtRoot");
2216 BOOL
init_netdfs_r_dfs_AddFtRoot(NETDFS_R_DFS_ADDFTROOT
*v
, WERROR status
)
2218 DEBUG(5,("init_netdfs_r_dfs_AddFtRoot\n"));
2225 BOOL
netdfs_io_r_dfs_AddFtRoot(const char *desc
, NETDFS_R_DFS_ADDFTROOT
*v
, prs_struct
*ps
, int depth
)
2230 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_AddFtRoot");
2232 if (!prs_werror("status", ps
, depth
, &v
->status
))
2238 BOOL
init_netdfs_q_dfs_RemoveFtRoot(NETDFS_Q_DFS_REMOVEFTROOT
*v
)
2240 DEBUG(5,("init_netdfs_q_dfs_RemoveFtRoot\n"));
2245 BOOL
netdfs_io_q_dfs_RemoveFtRoot(const char *desc
, NETDFS_Q_DFS_REMOVEFTROOT
*v
, prs_struct
*ps
, int depth
)
2250 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_RemoveFtRoot");
2255 BOOL
init_netdfs_r_dfs_RemoveFtRoot(NETDFS_R_DFS_REMOVEFTROOT
*v
, WERROR status
)
2257 DEBUG(5,("init_netdfs_r_dfs_RemoveFtRoot\n"));
2264 BOOL
netdfs_io_r_dfs_RemoveFtRoot(const char *desc
, NETDFS_R_DFS_REMOVEFTROOT
*v
, prs_struct
*ps
, int depth
)
2269 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_RemoveFtRoot");
2271 if (!prs_werror("status", ps
, depth
, &v
->status
))
2277 BOOL
init_netdfs_q_dfs_AddStdRoot(NETDFS_Q_DFS_ADDSTDROOT
*v
)
2279 DEBUG(5,("init_netdfs_q_dfs_AddStdRoot\n"));
2284 BOOL
netdfs_io_q_dfs_AddStdRoot(const char *desc
, NETDFS_Q_DFS_ADDSTDROOT
*v
, prs_struct
*ps
, int depth
)
2289 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_AddStdRoot");
2294 BOOL
init_netdfs_r_dfs_AddStdRoot(NETDFS_R_DFS_ADDSTDROOT
*v
, WERROR status
)
2296 DEBUG(5,("init_netdfs_r_dfs_AddStdRoot\n"));
2303 BOOL
netdfs_io_r_dfs_AddStdRoot(const char *desc
, NETDFS_R_DFS_ADDSTDROOT
*v
, prs_struct
*ps
, int depth
)
2308 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_AddStdRoot");
2310 if (!prs_werror("status", ps
, depth
, &v
->status
))
2316 BOOL
init_netdfs_q_dfs_RemoveStdRoot(NETDFS_Q_DFS_REMOVESTDROOT
*v
)
2318 DEBUG(5,("init_netdfs_q_dfs_RemoveStdRoot\n"));
2323 BOOL
netdfs_io_q_dfs_RemoveStdRoot(const char *desc
, NETDFS_Q_DFS_REMOVESTDROOT
*v
, prs_struct
*ps
, int depth
)
2328 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_RemoveStdRoot");
2333 BOOL
init_netdfs_r_dfs_RemoveStdRoot(NETDFS_R_DFS_REMOVESTDROOT
*v
, WERROR status
)
2335 DEBUG(5,("init_netdfs_r_dfs_RemoveStdRoot\n"));
2342 BOOL
netdfs_io_r_dfs_RemoveStdRoot(const char *desc
, NETDFS_R_DFS_REMOVESTDROOT
*v
, prs_struct
*ps
, int depth
)
2347 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_RemoveStdRoot");
2349 if (!prs_werror("status", ps
, depth
, &v
->status
))
2355 BOOL
init_netdfs_q_dfs_ManagerInitialize(NETDFS_Q_DFS_MANAGERINITIALIZE
*v
)
2357 DEBUG(5,("init_netdfs_q_dfs_ManagerInitialize\n"));
2362 BOOL
netdfs_io_q_dfs_ManagerInitialize(const char *desc
, NETDFS_Q_DFS_MANAGERINITIALIZE
*v
, prs_struct
*ps
, int depth
)
2367 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_ManagerInitialize");
2372 BOOL
init_netdfs_r_dfs_ManagerInitialize(NETDFS_R_DFS_MANAGERINITIALIZE
*v
, WERROR status
)
2374 DEBUG(5,("init_netdfs_r_dfs_ManagerInitialize\n"));
2381 BOOL
netdfs_io_r_dfs_ManagerInitialize(const char *desc
, NETDFS_R_DFS_MANAGERINITIALIZE
*v
, prs_struct
*ps
, int depth
)
2386 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_ManagerInitialize");
2388 if (!prs_werror("status", ps
, depth
, &v
->status
))
2394 BOOL
init_netdfs_q_dfs_AddStdRootForced(NETDFS_Q_DFS_ADDSTDROOTFORCED
*v
)
2396 DEBUG(5,("init_netdfs_q_dfs_AddStdRootForced\n"));
2401 BOOL
netdfs_io_q_dfs_AddStdRootForced(const char *desc
, NETDFS_Q_DFS_ADDSTDROOTFORCED
*v
, prs_struct
*ps
, int depth
)
2406 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_AddStdRootForced");
2411 BOOL
init_netdfs_r_dfs_AddStdRootForced(NETDFS_R_DFS_ADDSTDROOTFORCED
*v
, WERROR status
)
2413 DEBUG(5,("init_netdfs_r_dfs_AddStdRootForced\n"));
2420 BOOL
netdfs_io_r_dfs_AddStdRootForced(const char *desc
, NETDFS_R_DFS_ADDSTDROOTFORCED
*v
, prs_struct
*ps
, int depth
)
2425 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_AddStdRootForced");
2427 if (!prs_werror("status", ps
, depth
, &v
->status
))
2433 BOOL
init_netdfs_q_dfs_GetDcAddress(NETDFS_Q_DFS_GETDCADDRESS
*v
)
2435 DEBUG(5,("init_netdfs_q_dfs_GetDcAddress\n"));
2440 BOOL
netdfs_io_q_dfs_GetDcAddress(const char *desc
, NETDFS_Q_DFS_GETDCADDRESS
*v
, prs_struct
*ps
, int depth
)
2445 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_GetDcAddress");
2450 BOOL
init_netdfs_r_dfs_GetDcAddress(NETDFS_R_DFS_GETDCADDRESS
*v
, WERROR status
)
2452 DEBUG(5,("init_netdfs_r_dfs_GetDcAddress\n"));
2459 BOOL
netdfs_io_r_dfs_GetDcAddress(const char *desc
, NETDFS_R_DFS_GETDCADDRESS
*v
, prs_struct
*ps
, int depth
)
2464 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_GetDcAddress");
2466 if (!prs_werror("status", ps
, depth
, &v
->status
))
2472 BOOL
init_netdfs_q_dfs_SetDcAddress(NETDFS_Q_DFS_SETDCADDRESS
*v
)
2474 DEBUG(5,("init_netdfs_q_dfs_SetDcAddress\n"));
2479 BOOL
netdfs_io_q_dfs_SetDcAddress(const char *desc
, NETDFS_Q_DFS_SETDCADDRESS
*v
, prs_struct
*ps
, int depth
)
2484 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_SetDcAddress");
2489 BOOL
init_netdfs_r_dfs_SetDcAddress(NETDFS_R_DFS_SETDCADDRESS
*v
, WERROR status
)
2491 DEBUG(5,("init_netdfs_r_dfs_SetDcAddress\n"));
2498 BOOL
netdfs_io_r_dfs_SetDcAddress(const char *desc
, NETDFS_R_DFS_SETDCADDRESS
*v
, prs_struct
*ps
, int depth
)
2503 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_SetDcAddress");
2505 if (!prs_werror("status", ps
, depth
, &v
->status
))
2511 BOOL
init_netdfs_q_dfs_FlushFtTable(NETDFS_Q_DFS_FLUSHFTTABLE
*v
)
2513 DEBUG(5,("init_netdfs_q_dfs_FlushFtTable\n"));
2518 BOOL
netdfs_io_q_dfs_FlushFtTable(const char *desc
, NETDFS_Q_DFS_FLUSHFTTABLE
*v
, prs_struct
*ps
, int depth
)
2523 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_FlushFtTable");
2528 BOOL
init_netdfs_r_dfs_FlushFtTable(NETDFS_R_DFS_FLUSHFTTABLE
*v
, WERROR status
)
2530 DEBUG(5,("init_netdfs_r_dfs_FlushFtTable\n"));
2537 BOOL
netdfs_io_r_dfs_FlushFtTable(const char *desc
, NETDFS_R_DFS_FLUSHFTTABLE
*v
, prs_struct
*ps
, int depth
)
2542 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_FlushFtTable");
2544 if (!prs_werror("status", ps
, depth
, &v
->status
))
2550 BOOL
init_netdfs_q_dfs_Add2(NETDFS_Q_DFS_ADD2
*v
)
2552 DEBUG(5,("init_netdfs_q_dfs_Add2\n"));
2557 BOOL
netdfs_io_q_dfs_Add2(const char *desc
, NETDFS_Q_DFS_ADD2
*v
, prs_struct
*ps
, int depth
)
2562 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Add2");
2567 BOOL
init_netdfs_r_dfs_Add2(NETDFS_R_DFS_ADD2
*v
, WERROR status
)
2569 DEBUG(5,("init_netdfs_r_dfs_Add2\n"));
2576 BOOL
netdfs_io_r_dfs_Add2(const char *desc
, NETDFS_R_DFS_ADD2
*v
, prs_struct
*ps
, int depth
)
2581 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Add2");
2583 if (!prs_werror("status", ps
, depth
, &v
->status
))
2589 BOOL
init_netdfs_q_dfs_Remove2(NETDFS_Q_DFS_REMOVE2
*v
)
2591 DEBUG(5,("init_netdfs_q_dfs_Remove2\n"));
2596 BOOL
netdfs_io_q_dfs_Remove2(const char *desc
, NETDFS_Q_DFS_REMOVE2
*v
, prs_struct
*ps
, int depth
)
2601 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Remove2");
2606 BOOL
init_netdfs_r_dfs_Remove2(NETDFS_R_DFS_REMOVE2
*v
, WERROR status
)
2608 DEBUG(5,("init_netdfs_r_dfs_Remove2\n"));
2615 BOOL
netdfs_io_r_dfs_Remove2(const char *desc
, NETDFS_R_DFS_REMOVE2
*v
, prs_struct
*ps
, int depth
)
2620 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Remove2");
2622 if (!prs_werror("status", ps
, depth
, &v
->status
))
2628 BOOL
init_netdfs_q_dfs_EnumEx(NETDFS_Q_DFS_ENUMEX
*v
)
2630 DEBUG(5,("init_netdfs_q_dfs_EnumEx\n"));
2635 BOOL
netdfs_io_q_dfs_EnumEx(const char *desc
, NETDFS_Q_DFS_ENUMEX
*v
, prs_struct
*ps
, int depth
)
2640 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_EnumEx");
2645 BOOL
init_netdfs_r_dfs_EnumEx(NETDFS_R_DFS_ENUMEX
*v
, WERROR status
)
2647 DEBUG(5,("init_netdfs_r_dfs_EnumEx\n"));
2654 BOOL
netdfs_io_r_dfs_EnumEx(const char *desc
, NETDFS_R_DFS_ENUMEX
*v
, prs_struct
*ps
, int depth
)
2659 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_EnumEx");
2661 if (!prs_werror("status", ps
, depth
, &v
->status
))
2667 BOOL
init_netdfs_q_dfs_SetInfo2(NETDFS_Q_DFS_SETINFO2
*v
)
2669 DEBUG(5,("init_netdfs_q_dfs_SetInfo2\n"));
2674 BOOL
netdfs_io_q_dfs_SetInfo2(const char *desc
, NETDFS_Q_DFS_SETINFO2
*v
, prs_struct
*ps
, int depth
)
2679 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_SetInfo2");
2684 BOOL
init_netdfs_r_dfs_SetInfo2(NETDFS_R_DFS_SETINFO2
*v
, WERROR status
)
2686 DEBUG(5,("init_netdfs_r_dfs_SetInfo2\n"));
2693 BOOL
netdfs_io_r_dfs_SetInfo2(const char *desc
, NETDFS_R_DFS_SETINFO2
*v
, prs_struct
*ps
, int depth
)
2698 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_SetInfo2");
2700 if (!prs_werror("status", ps
, depth
, &v
->status
))