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
)) {
328 v
->stores
= (void *)PRS_ALLOC_MEM_VOID(ps
,sizeof(*v
->stores
)*v
->num_stores
);
330 for (i_stores_1
=0; i_stores_1
<v
->num_stores
;i_stores_1
++) {
331 if (!netdfs_io_dfs_StorageInfo_p("stores", &v
->stores
[i_stores_1
], ps
, depth
))
334 for (i_stores_1
=0; i_stores_1
<v
->num_stores
;i_stores_1
++) {
335 if (!netdfs_io_dfs_StorageInfo_d("stores", &v
->stores
[i_stores_1
], ps
, depth
))
343 BOOL
init_netdfs_dfs_Info4(NETDFS_DFS_INFO4
*v
, const char *path
, const char *comment
, uint32 state
, uint32 timeout
, struct uuid guid
, uint32 num_stores
, NETDFS_DFS_STORAGEINFO
**stores
)
345 DEBUG(5,("init_netdfs_dfs_Info4\n"));
349 init_unistr2(&v
->path
, path
, UNI_FLAGS_NONE
);
356 init_unistr2(&v
->comment
, comment
, UNI_FLAGS_NONE
);
363 v
->timeout
= timeout
;
367 v
->num_stores
= num_stores
;
379 BOOL
netdfs_io_dfs_Info4_p(const char *desc
, NETDFS_DFS_INFO4
*v
, prs_struct
*ps
, int depth
)
384 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info4_p");
386 if (!prs_uint32("ptr0_path", ps
, depth
, &v
->ptr0_path
))
390 if (!prs_uint32("ptr0_comment", ps
, depth
, &v
->ptr0_comment
))
394 if (!prs_uint32("state", ps
, depth
, &v
->state
))
397 if (!prs_uint32("timeout", ps
, depth
, &v
->timeout
))
400 if (!smb_io_uuid("guid", &v
->guid
, ps
, depth
))
403 if (!prs_uint32("num_stores", ps
, depth
, &v
->num_stores
))
406 if (!prs_uint32("ptr0_stores", ps
, depth
, &v
->ptr0_stores
))
413 BOOL
netdfs_io_dfs_Info4_d(const char *desc
, NETDFS_DFS_INFO4
*v
, prs_struct
*ps
, int depth
)
420 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info4_d");
423 if (!prs_align_custom(ps
, 4))
426 if (!smb_io_unistr2("path", &v
->path
, 1, ps
, depth
))
430 if (v
->ptr0_comment
) {
431 if (!prs_align_custom(ps
, 4))
434 if (!smb_io_unistr2("comment", &v
->comment
, 1, ps
, depth
))
442 if (v
->ptr0_stores
) {
443 if (!prs_align_custom(ps
, 4))
446 if (!prs_uint32("size_stores", ps
, depth
, &v
->size_stores
))
449 if (UNMARSHALLING(ps
)) {
450 v
->stores
= (void *)PRS_ALLOC_MEM_VOID(ps
,sizeof(*v
->stores
)*v
->num_stores
);
452 for (i_stores_1
=0; i_stores_1
<v
->num_stores
;i_stores_1
++) {
453 if (!netdfs_io_dfs_StorageInfo_p("stores", &v
->stores
[i_stores_1
], ps
, depth
))
456 for (i_stores_1
=0; i_stores_1
<v
->num_stores
;i_stores_1
++) {
457 if (!netdfs_io_dfs_StorageInfo_d("stores", &v
->stores
[i_stores_1
], ps
, depth
))
465 BOOL
init_netdfs_dfs_Info100(NETDFS_DFS_INFO100
*v
, const char *comment
)
467 DEBUG(5,("init_netdfs_dfs_Info100\n"));
471 init_unistr2(&v
->comment
, comment
, UNI_FLAGS_NONE
);
479 BOOL
netdfs_io_dfs_Info100_p(const char *desc
, NETDFS_DFS_INFO100
*v
, prs_struct
*ps
, int depth
)
484 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info100_p");
486 if (!prs_uint32("ptr0_comment", ps
, depth
, &v
->ptr0_comment
))
493 BOOL
netdfs_io_dfs_Info100_d(const char *desc
, NETDFS_DFS_INFO100
*v
, prs_struct
*ps
, int depth
)
498 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info100_d");
500 if (v
->ptr0_comment
) {
501 if (!prs_align_custom(ps
, 4))
504 if (!smb_io_unistr2("comment", &v
->comment
, 1, ps
, depth
))
511 BOOL
init_netdfs_dfs_Info101(NETDFS_DFS_INFO101
*v
, uint32 state
)
513 DEBUG(5,("init_netdfs_dfs_Info101\n"));
520 BOOL
netdfs_io_dfs_Info101_p(const char *desc
, NETDFS_DFS_INFO101
*v
, prs_struct
*ps
, int depth
)
525 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info101_p");
527 if (!prs_uint32("state", ps
, depth
, &v
->state
))
533 BOOL
netdfs_io_dfs_Info101_d(const char *desc
, NETDFS_DFS_INFO101
*v
, prs_struct
*ps
, int depth
)
538 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info101_d");
544 BOOL
init_netdfs_dfs_Info102(NETDFS_DFS_INFO102
*v
, uint32 timeout
)
546 DEBUG(5,("init_netdfs_dfs_Info102\n"));
548 v
->timeout
= timeout
;
553 BOOL
netdfs_io_dfs_Info102_p(const char *desc
, NETDFS_DFS_INFO102
*v
, prs_struct
*ps
, int depth
)
558 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info102_p");
560 if (!prs_uint32("timeout", ps
, depth
, &v
->timeout
))
566 BOOL
netdfs_io_dfs_Info102_d(const char *desc
, NETDFS_DFS_INFO102
*v
, prs_struct
*ps
, int depth
)
571 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info102_d");
577 BOOL
init_netdfs_dfs_Info200(NETDFS_DFS_INFO200
*v
, const char *dom_root
)
579 DEBUG(5,("init_netdfs_dfs_Info200\n"));
582 v
->ptr0_dom_root
= 1;
583 init_unistr2(&v
->dom_root
, dom_root
, UNI_FLAGS_NONE
);
585 v
->ptr0_dom_root
= 0;
591 BOOL
netdfs_io_dfs_Info200_p(const char *desc
, NETDFS_DFS_INFO200
*v
, prs_struct
*ps
, int depth
)
596 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info200_p");
598 if (!prs_uint32("ptr0_dom_root", ps
, depth
, &v
->ptr0_dom_root
))
605 BOOL
netdfs_io_dfs_Info200_d(const char *desc
, NETDFS_DFS_INFO200
*v
, prs_struct
*ps
, int depth
)
610 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info200_d");
612 if (v
->ptr0_dom_root
) {
613 if (!prs_align_custom(ps
, 4))
616 if (!smb_io_unistr2("dom_root", &v
->dom_root
, 1, ps
, depth
))
623 BOOL
init_netdfs_dfs_Info300(NETDFS_DFS_INFO300
*v
, uint32 flags
, const char *dom_root
)
625 DEBUG(5,("init_netdfs_dfs_Info300\n"));
630 v
->ptr0_dom_root
= 1;
631 init_unistr2(&v
->dom_root
, dom_root
, UNI_FLAGS_NONE
);
633 v
->ptr0_dom_root
= 0;
639 BOOL
netdfs_io_dfs_Info300_p(const char *desc
, NETDFS_DFS_INFO300
*v
, prs_struct
*ps
, int depth
)
644 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info300_p");
646 if (!prs_uint32("flags", ps
, depth
, &v
->flags
))
649 if (!prs_uint32("ptr0_dom_root", ps
, depth
, &v
->ptr0_dom_root
))
656 BOOL
netdfs_io_dfs_Info300_d(const char *desc
, NETDFS_DFS_INFO300
*v
, prs_struct
*ps
, int depth
)
661 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_Info300_d");
664 if (v
->ptr0_dom_root
) {
665 if (!prs_align_custom(ps
, 4))
668 if (!smb_io_unistr2("dom_root", &v
->dom_root
, 1, ps
, depth
))
675 BOOL
netdfs_io_dfs_Info_p(const char *desc
, NETDFS_DFS_INFO_CTR
* v
, prs_struct
*ps
, int depth
)
677 if (!prs_uint32("switch_value", ps
, depth
, &v
->switch_value
))
680 switch (v
->switch_value
) {
683 if (!prs_uint32("ptr0_info0", ps
, depth
, &v
->ptr0
))
691 if (!prs_uint32("ptr0_info1", ps
, depth
, &v
->ptr0
))
699 if (!prs_uint32("ptr0_info2", ps
, depth
, &v
->ptr0
))
707 if (!prs_uint32("ptr0_info3", ps
, depth
, &v
->ptr0
))
715 if (!prs_uint32("ptr0_info4", ps
, depth
, &v
->ptr0
))
723 if (!prs_uint32("ptr0_info100", ps
, depth
, &v
->ptr0
))
731 if (!prs_uint32("ptr0_info101", ps
, depth
, &v
->ptr0
))
739 if (!prs_uint32("ptr0_info102", ps
, depth
, &v
->ptr0
))
753 BOOL
netdfs_io_dfs_Info_d(const char *desc
, NETDFS_DFS_INFO_CTR
* v
, prs_struct
*ps
, int depth
)
755 switch (v
->switch_value
) {
759 if (!prs_align_custom(ps
, 1))
762 if (!netdfs_io_dfs_Info0_p("info0", &v
->u
.info0
, ps
, depth
))
764 if (!netdfs_io_dfs_Info0_d("info0", &v
->u
.info0
, ps
, depth
))
773 if (!prs_align_custom(ps
, 4))
776 if (!netdfs_io_dfs_Info1_p("info1", &v
->u
.info1
, ps
, depth
))
778 if (!netdfs_io_dfs_Info1_d("info1", &v
->u
.info1
, ps
, depth
))
787 if (!prs_align_custom(ps
, 4))
790 if (!netdfs_io_dfs_Info2_p("info2", &v
->u
.info2
, ps
, depth
))
792 if (!netdfs_io_dfs_Info2_d("info2", &v
->u
.info2
, ps
, depth
))
801 if (!prs_align_custom(ps
, 4))
804 if (!netdfs_io_dfs_Info3_p("info3", &v
->u
.info3
, ps
, depth
))
806 if (!netdfs_io_dfs_Info3_d("info3", &v
->u
.info3
, ps
, depth
))
815 if (!prs_align_custom(ps
, 4))
818 if (!netdfs_io_dfs_Info4_p("info4", &v
->u
.info4
, ps
, depth
))
820 if (!netdfs_io_dfs_Info4_d("info4", &v
->u
.info4
, ps
, depth
))
829 if (!prs_align_custom(ps
, 4))
832 if (!netdfs_io_dfs_Info100_p("info100", &v
->u
.info100
, ps
, depth
))
834 if (!netdfs_io_dfs_Info100_d("info100", &v
->u
.info100
, ps
, depth
))
843 if (!prs_align_custom(ps
, 4))
846 if (!netdfs_io_dfs_Info101_p("info101", &v
->u
.info101
, ps
, depth
))
848 if (!netdfs_io_dfs_Info101_d("info101", &v
->u
.info101
, ps
, depth
))
857 if (!prs_align_custom(ps
, 4))
860 if (!netdfs_io_dfs_Info102_p("info102", &v
->u
.info102
, ps
, depth
))
862 if (!netdfs_io_dfs_Info102_d("info102", &v
->u
.info102
, ps
, depth
))
872 BOOL
init_netdfs_dfs_EnumArray1(NETDFS_DFS_ENUMARRAY1
*v
, uint32 count
, NETDFS_DFS_INFO1
**s
)
874 DEBUG(5,("init_netdfs_dfs_EnumArray1\n"));
888 BOOL
netdfs_io_dfs_EnumArray1_p(const char *desc
, NETDFS_DFS_ENUMARRAY1
*v
, prs_struct
*ps
, int depth
)
893 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray1_p");
895 if (!prs_uint32("count", ps
, depth
, &v
->count
))
898 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
905 BOOL
netdfs_io_dfs_EnumArray1_d(const char *desc
, NETDFS_DFS_ENUMARRAY1
*v
, prs_struct
*ps
, int depth
)
912 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray1_d");
916 if (!prs_align_custom(ps
, 4))
919 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
922 if (UNMARSHALLING(ps
)) {
923 v
->s
= (void *)PRS_ALLOC_MEM_VOID(ps
,sizeof(*v
->s
)*v
->count
);
925 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
926 if (!netdfs_io_dfs_Info1_p("s", &v
->s
[i_s_1
], ps
, depth
))
929 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
930 if (!netdfs_io_dfs_Info1_d("s", &v
->s
[i_s_1
], ps
, depth
))
938 BOOL
init_netdfs_dfs_EnumArray2(NETDFS_DFS_ENUMARRAY2
*v
, uint32 count
, NETDFS_DFS_INFO2
**s
)
940 DEBUG(5,("init_netdfs_dfs_EnumArray2\n"));
954 BOOL
netdfs_io_dfs_EnumArray2_p(const char *desc
, NETDFS_DFS_ENUMARRAY2
*v
, prs_struct
*ps
, int depth
)
959 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray2_p");
961 if (!prs_uint32("count", ps
, depth
, &v
->count
))
964 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
971 BOOL
netdfs_io_dfs_EnumArray2_d(const char *desc
, NETDFS_DFS_ENUMARRAY2
*v
, prs_struct
*ps
, int depth
)
978 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray2_d");
982 if (!prs_align_custom(ps
, 4))
985 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
988 if (UNMARSHALLING(ps
)) {
989 v
->s
= (void *)PRS_ALLOC_MEM_VOID(ps
,sizeof(*v
->s
)*v
->count
);
991 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
992 if (!netdfs_io_dfs_Info2_p("s", &v
->s
[i_s_1
], ps
, depth
))
995 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
996 if (!netdfs_io_dfs_Info2_d("s", &v
->s
[i_s_1
], ps
, depth
))
1004 BOOL
init_netdfs_dfs_EnumArray3(NETDFS_DFS_ENUMARRAY3
*v
, uint32 count
, NETDFS_DFS_INFO3
**s
)
1006 DEBUG(5,("init_netdfs_dfs_EnumArray3\n"));
1020 BOOL
netdfs_io_dfs_EnumArray3_p(const char *desc
, NETDFS_DFS_ENUMARRAY3
*v
, prs_struct
*ps
, int depth
)
1025 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray3_p");
1027 if (!prs_uint32("count", ps
, depth
, &v
->count
))
1030 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
1037 BOOL
netdfs_io_dfs_EnumArray3_d(const char *desc
, NETDFS_DFS_ENUMARRAY3
*v
, prs_struct
*ps
, int depth
)
1044 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray3_d");
1048 if (!prs_align_custom(ps
, 4))
1051 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
1054 if (UNMARSHALLING(ps
)) {
1055 v
->s
= (void *)PRS_ALLOC_MEM_VOID(ps
,sizeof(*v
->s
)*v
->count
);
1057 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1058 if (!netdfs_io_dfs_Info3_p("s", &v
->s
[i_s_1
], ps
, depth
))
1061 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1062 if (!netdfs_io_dfs_Info3_d("s", &v
->s
[i_s_1
], ps
, depth
))
1070 BOOL
init_netdfs_dfs_EnumArray4(NETDFS_DFS_ENUMARRAY4
*v
, uint32 count
, NETDFS_DFS_INFO4
**s
)
1072 DEBUG(5,("init_netdfs_dfs_EnumArray4\n"));
1086 BOOL
netdfs_io_dfs_EnumArray4_p(const char *desc
, NETDFS_DFS_ENUMARRAY4
*v
, prs_struct
*ps
, int depth
)
1091 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray4_p");
1093 if (!prs_uint32("count", ps
, depth
, &v
->count
))
1096 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
1103 BOOL
netdfs_io_dfs_EnumArray4_d(const char *desc
, NETDFS_DFS_ENUMARRAY4
*v
, prs_struct
*ps
, int depth
)
1110 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray4_d");
1114 if (!prs_align_custom(ps
, 4))
1117 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
1120 if (UNMARSHALLING(ps
)) {
1121 v
->s
= (void *)PRS_ALLOC_MEM_VOID(ps
,sizeof(*v
->s
)*v
->count
);
1123 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1124 if (!netdfs_io_dfs_Info4_p("s", &v
->s
[i_s_1
], ps
, depth
))
1127 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1128 if (!netdfs_io_dfs_Info4_d("s", &v
->s
[i_s_1
], ps
, depth
))
1136 BOOL
init_netdfs_dfs_EnumArray200(NETDFS_DFS_ENUMARRAY200
*v
, uint32 count
, NETDFS_DFS_INFO200
**s
)
1138 DEBUG(5,("init_netdfs_dfs_EnumArray200\n"));
1152 BOOL
netdfs_io_dfs_EnumArray200_p(const char *desc
, NETDFS_DFS_ENUMARRAY200
*v
, prs_struct
*ps
, int depth
)
1157 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray200_p");
1159 if (!prs_uint32("count", ps
, depth
, &v
->count
))
1162 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
1169 BOOL
netdfs_io_dfs_EnumArray200_d(const char *desc
, NETDFS_DFS_ENUMARRAY200
*v
, prs_struct
*ps
, int depth
)
1176 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray200_d");
1180 if (!prs_align_custom(ps
, 4))
1183 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
1186 if (UNMARSHALLING(ps
)) {
1187 v
->s
= (void *)PRS_ALLOC_MEM_VOID(ps
,sizeof(*v
->s
)*v
->count
);
1189 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1190 if (!netdfs_io_dfs_Info200_p("s", &v
->s
[i_s_1
], ps
, depth
))
1193 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1194 if (!netdfs_io_dfs_Info200_d("s", &v
->s
[i_s_1
], ps
, depth
))
1202 BOOL
init_netdfs_dfs_EnumArray300(NETDFS_DFS_ENUMARRAY300
*v
, uint32 count
, NETDFS_DFS_INFO300
**s
)
1204 DEBUG(5,("init_netdfs_dfs_EnumArray300\n"));
1218 BOOL
netdfs_io_dfs_EnumArray300_p(const char *desc
, NETDFS_DFS_ENUMARRAY300
*v
, prs_struct
*ps
, int depth
)
1223 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray300_p");
1225 if (!prs_uint32("count", ps
, depth
, &v
->count
))
1228 if (!prs_uint32("ptr0_s", ps
, depth
, &v
->ptr0_s
))
1235 BOOL
netdfs_io_dfs_EnumArray300_d(const char *desc
, NETDFS_DFS_ENUMARRAY300
*v
, prs_struct
*ps
, int depth
)
1242 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumArray300_d");
1246 if (!prs_align_custom(ps
, 4))
1249 if (!prs_uint32("size_s", ps
, depth
, &v
->size_s
))
1252 if (UNMARSHALLING(ps
)) {
1253 v
->s
= (void *)PRS_ALLOC_MEM_VOID(ps
,sizeof(*v
->s
)*v
->count
);
1255 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1256 if (!netdfs_io_dfs_Info300_p("s", &v
->s
[i_s_1
], ps
, depth
))
1259 for (i_s_1
=0; i_s_1
<v
->count
;i_s_1
++) {
1260 if (!netdfs_io_dfs_Info300_d("s", &v
->s
[i_s_1
], ps
, depth
))
1268 BOOL
netdfs_io_dfs_EnumInfo_p(const char *desc
, NETDFS_DFS_ENUMINFO_CTR
* v
, prs_struct
*ps
, int depth
)
1270 if (!prs_uint32("switch_value", ps
, depth
, &v
->switch_value
))
1273 switch (v
->switch_value
) {
1276 if (!prs_uint32("ptr0_info1", ps
, depth
, &v
->ptr0
))
1284 if (!prs_uint32("ptr0_info2", ps
, depth
, &v
->ptr0
))
1292 if (!prs_uint32("ptr0_info3", ps
, depth
, &v
->ptr0
))
1300 if (!prs_uint32("ptr0_info4", ps
, depth
, &v
->ptr0
))
1308 if (!prs_uint32("ptr0_info200", ps
, depth
, &v
->ptr0
))
1316 if (!prs_uint32("ptr0_info300", ps
, depth
, &v
->ptr0
))
1330 BOOL
netdfs_io_dfs_EnumInfo_d(const char *desc
, NETDFS_DFS_ENUMINFO_CTR
* v
, prs_struct
*ps
, int depth
)
1332 switch (v
->switch_value
) {
1336 if (!prs_align_custom(ps
, 4))
1339 if (!netdfs_io_dfs_EnumArray1_p("info1", &v
->u
.info1
, ps
, depth
))
1341 if (!netdfs_io_dfs_EnumArray1_d("info1", &v
->u
.info1
, ps
, depth
))
1350 if (!prs_align_custom(ps
, 4))
1353 if (!netdfs_io_dfs_EnumArray2_p("info2", &v
->u
.info2
, ps
, depth
))
1355 if (!netdfs_io_dfs_EnumArray2_d("info2", &v
->u
.info2
, ps
, depth
))
1364 if (!prs_align_custom(ps
, 4))
1367 if (!netdfs_io_dfs_EnumArray3_p("info3", &v
->u
.info3
, ps
, depth
))
1369 if (!netdfs_io_dfs_EnumArray3_d("info3", &v
->u
.info3
, ps
, depth
))
1378 if (!prs_align_custom(ps
, 4))
1381 if (!netdfs_io_dfs_EnumArray4_p("info4", &v
->u
.info4
, ps
, depth
))
1383 if (!netdfs_io_dfs_EnumArray4_d("info4", &v
->u
.info4
, ps
, depth
))
1392 if (!prs_align_custom(ps
, 4))
1395 if (!netdfs_io_dfs_EnumArray200_p("info200", &v
->u
.info200
, ps
, depth
))
1397 if (!netdfs_io_dfs_EnumArray200_d("info200", &v
->u
.info200
, ps
, depth
))
1406 if (!prs_align_custom(ps
, 4))
1409 if (!netdfs_io_dfs_EnumArray300_p("info300", &v
->u
.info300
, ps
, depth
))
1411 if (!netdfs_io_dfs_EnumArray300_d("info300", &v
->u
.info300
, ps
, depth
))
1421 BOOL
init_netdfs_dfs_EnumStruct(NETDFS_DFS_ENUMSTRUCT
*v
, uint32 level
, NETDFS_DFS_ENUMINFO_CTR e
)
1423 DEBUG(5,("init_netdfs_dfs_EnumStruct\n"));
1428 v
->e
.switch_value
= v
->level
;
1433 BOOL
netdfs_io_dfs_EnumStruct_p(const char *desc
, NETDFS_DFS_ENUMSTRUCT
*v
, prs_struct
*ps
, int depth
)
1438 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumStruct_p");
1440 if (!prs_uint32("level", ps
, depth
, &v
->level
))
1443 if (!netdfs_io_dfs_EnumInfo_p("e", &v
->e
, ps
, depth
))
1449 BOOL
netdfs_io_dfs_EnumStruct_d(const char *desc
, NETDFS_DFS_ENUMSTRUCT
*v
, prs_struct
*ps
, int depth
)
1454 prs_debug(ps
, depth
, desc
, "netdfs_io_dfs_EnumStruct_d");
1457 if (!prs_align_custom(ps
, 4))
1460 if (!netdfs_io_dfs_EnumInfo_d("e", &v
->e
, ps
, depth
))
1466 /* netdfs functions */
1467 BOOL
init_netdfs_q_dfs_GetManagerVersion(NETDFS_Q_DFS_GETMANAGERVERSION
*v
)
1469 DEBUG(5,("init_netdfs_q_dfs_GetManagerVersion\n"));
1474 BOOL
netdfs_io_q_dfs_GetManagerVersion(const char *desc
, NETDFS_Q_DFS_GETMANAGERVERSION
*v
, prs_struct
*ps
, int depth
)
1479 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_GetManagerVersion");
1484 BOOL
init_netdfs_r_dfs_GetManagerVersion(NETDFS_R_DFS_GETMANAGERVERSION
*v
, uint32
*exist_flag
)
1486 DEBUG(5,("init_netdfs_r_dfs_GetManagerVersion\n"));
1491 v
->exist_flag
= *exist_flag
;
1496 BOOL
netdfs_io_r_dfs_GetManagerVersion(const char *desc
, NETDFS_R_DFS_GETMANAGERVERSION
*v
, prs_struct
*ps
, int depth
)
1501 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_GetManagerVersion");
1503 if (!prs_uint32("exist_flag", ps
, depth
, &v
->exist_flag
))
1509 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
)
1511 DEBUG(5,("init_netdfs_q_dfs_Add\n"));
1516 init_unistr2(&v
->path
, path
, UNI_FLAGS_NONE
);
1521 init_unistr2(&v
->server
, server
, UNI_FLAGS_NONE
);
1525 init_unistr2(&v
->share
, share
, UNI_FLAGS_NONE
);
1531 v
->ptr0_comment
= 1;
1532 init_unistr2(&v
->comment
, comment
, UNI_FLAGS_NONE
);
1534 v
->ptr0_comment
= 0;
1542 BOOL
netdfs_io_q_dfs_Add(const char *desc
, NETDFS_Q_DFS_ADD
*v
, prs_struct
*ps
, int depth
)
1547 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Add");
1549 if (!prs_align_custom(ps
, 4))
1552 if (!smb_io_unistr2("path", &v
->path
, 1, ps
, depth
))
1555 if (!prs_align_custom(ps
, 4))
1558 if (!smb_io_unistr2("server", &v
->server
, 1, ps
, depth
))
1561 if (!prs_align_custom(ps
, 4))
1564 if (!prs_uint32("ptr0_share", ps
, depth
, &v
->ptr0_share
))
1567 if (v
->ptr0_share
) {
1568 if (!prs_align_custom(ps
, 4))
1571 if (!smb_io_unistr2("share", &v
->share
, 1, ps
, depth
))
1575 if (!prs_align_custom(ps
, 4))
1578 if (!prs_uint32("ptr0_comment", ps
, depth
, &v
->ptr0_comment
))
1581 if (v
->ptr0_comment
) {
1582 if (!prs_align_custom(ps
, 4))
1585 if (!smb_io_unistr2("comment", &v
->comment
, 1, ps
, depth
))
1589 if (!prs_align_custom(ps
, 4))
1592 if (!prs_uint32("flags", ps
, depth
, &v
->flags
))
1598 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
)
1600 DEBUG(5,("init_netdfs_r_dfs_Add\n"));
1607 BOOL
netdfs_io_r_dfs_Add(const char *desc
, NETDFS_R_DFS_ADD
*v
, prs_struct
*ps
, int depth
)
1612 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Add");
1614 if (!prs_werror("status", ps
, depth
, &v
->status
))
1620 BOOL
init_netdfs_q_dfs_Remove(NETDFS_Q_DFS_REMOVE
*v
, const char *path
, const char *server
, const char *share
)
1622 DEBUG(5,("init_netdfs_q_dfs_Remove\n"));
1627 init_unistr2(&v
->path
, path
, UNI_FLAGS_NONE
);
1631 init_unistr2(&v
->server
, server
, UNI_FLAGS_NONE
);
1638 init_unistr2(&v
->share
, share
, UNI_FLAGS_NONE
);
1646 BOOL
netdfs_io_q_dfs_Remove(const char *desc
, NETDFS_Q_DFS_REMOVE
*v
, prs_struct
*ps
, int depth
)
1651 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Remove");
1653 if (!prs_align_custom(ps
, 4))
1656 if (!smb_io_unistr2("path", &v
->path
, 1, ps
, depth
))
1659 if (!prs_align_custom(ps
, 4))
1662 if (!prs_uint32("ptr0_server", ps
, depth
, &v
->ptr0_server
))
1665 if (v
->ptr0_server
) {
1666 if (!prs_align_custom(ps
, 4))
1669 if (!smb_io_unistr2("server", &v
->server
, 1, ps
, depth
))
1673 if (!prs_align_custom(ps
, 4))
1676 if (!prs_uint32("ptr0_share", ps
, depth
, &v
->ptr0_share
))
1679 if (v
->ptr0_share
) {
1680 if (!prs_align_custom(ps
, 4))
1683 if (!smb_io_unistr2("share", &v
->share
, 1, ps
, depth
))
1690 BOOL
init_netdfs_r_dfs_Remove(NETDFS_R_DFS_REMOVE
*v
, const char *path
, const char *server
, const char *share
, WERROR status
)
1692 DEBUG(5,("init_netdfs_r_dfs_Remove\n"));
1699 BOOL
netdfs_io_r_dfs_Remove(const char *desc
, NETDFS_R_DFS_REMOVE
*v
, prs_struct
*ps
, int depth
)
1704 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Remove");
1706 if (!prs_werror("status", ps
, depth
, &v
->status
))
1712 BOOL
init_netdfs_q_dfs_SetInfo(NETDFS_Q_DFS_SETINFO
*v
)
1714 DEBUG(5,("init_netdfs_q_dfs_SetInfo\n"));
1719 BOOL
netdfs_io_q_dfs_SetInfo(const char *desc
, NETDFS_Q_DFS_SETINFO
*v
, prs_struct
*ps
, int depth
)
1724 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_SetInfo");
1729 BOOL
init_netdfs_r_dfs_SetInfo(NETDFS_R_DFS_SETINFO
*v
, WERROR status
)
1731 DEBUG(5,("init_netdfs_r_dfs_SetInfo\n"));
1738 BOOL
netdfs_io_r_dfs_SetInfo(const char *desc
, NETDFS_R_DFS_SETINFO
*v
, prs_struct
*ps
, int depth
)
1743 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_SetInfo");
1745 if (!prs_werror("status", ps
, depth
, &v
->status
))
1751 BOOL
init_netdfs_q_dfs_GetInfo(NETDFS_Q_DFS_GETINFO
*v
, const char *path
, const char *server
, const char *share
, uint32 level
)
1753 DEBUG(5,("init_netdfs_q_dfs_GetInfo\n"));
1758 init_unistr2(&v
->path
, path
, UNI_FLAGS_NONE
);
1762 init_unistr2(&v
->server
, server
, UNI_FLAGS_NONE
);
1769 init_unistr2(&v
->share
, share
, UNI_FLAGS_NONE
);
1779 BOOL
netdfs_io_q_dfs_GetInfo(const char *desc
, NETDFS_Q_DFS_GETINFO
*v
, prs_struct
*ps
, int depth
)
1784 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_GetInfo");
1786 if (!prs_align_custom(ps
, 4))
1789 if (!smb_io_unistr2("path", &v
->path
, 1, ps
, depth
))
1792 if (!prs_align_custom(ps
, 4))
1795 if (!prs_uint32("ptr0_server", ps
, depth
, &v
->ptr0_server
))
1798 if (v
->ptr0_server
) {
1799 if (!prs_align_custom(ps
, 4))
1802 if (!smb_io_unistr2("server", &v
->server
, 1, ps
, depth
))
1806 if (!prs_align_custom(ps
, 4))
1809 if (!prs_uint32("ptr0_share", ps
, depth
, &v
->ptr0_share
))
1812 if (v
->ptr0_share
) {
1813 if (!prs_align_custom(ps
, 4))
1816 if (!smb_io_unistr2("share", &v
->share
, 1, ps
, depth
))
1820 if (!prs_align_custom(ps
, 4))
1823 if (!prs_uint32("level", ps
, depth
, &v
->level
))
1829 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
)
1831 DEBUG(5,("init_netdfs_r_dfs_GetInfo\n"));
1837 v
->info
.switch_value
= level
;
1844 BOOL
netdfs_io_r_dfs_GetInfo(const char *desc
, NETDFS_R_DFS_GETINFO
*v
, prs_struct
*ps
, int depth
)
1849 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_GetInfo");
1851 if (!netdfs_io_dfs_Info_p("info", &v
->info
, ps
, depth
))
1853 if (!netdfs_io_dfs_Info_d("info", &v
->info
, ps
, depth
))
1856 if (!prs_align_custom(ps
, 4))
1859 if (!prs_werror("status", ps
, depth
, &v
->status
))
1865 BOOL
init_netdfs_q_dfs_Enum(NETDFS_Q_DFS_ENUM
*v
, uint32 level
, uint32 bufsize
, NETDFS_DFS_ENUMSTRUCT
*info
, uint32
*total
)
1867 DEBUG(5,("init_netdfs_q_dfs_Enum\n"));
1871 v
->bufsize
= bufsize
;
1890 BOOL
netdfs_io_q_dfs_Enum(const char *desc
, NETDFS_Q_DFS_ENUM
*v
, prs_struct
*ps
, int depth
)
1895 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Enum");
1897 if (!prs_uint32("level", ps
, depth
, &v
->level
))
1900 if (!prs_uint32("bufsize", ps
, depth
, &v
->bufsize
))
1903 if (!prs_uint32("ptr0_info", ps
, depth
, &v
->ptr0_info
))
1907 if (!netdfs_io_dfs_EnumStruct_p("info", &v
->info
, ps
, depth
))
1909 if (!netdfs_io_dfs_EnumStruct_d("info", &v
->info
, ps
, depth
))
1913 if (!prs_align_custom(ps
, 4))
1916 if (!prs_uint32("ptr0_total", ps
, depth
, &v
->ptr0_total
))
1919 if (v
->ptr0_total
) {
1920 if (!prs_uint32("total", ps
, depth
, &v
->total
))
1927 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
)
1929 DEBUG(5,("init_netdfs_r_dfs_Enum\n"));
1950 BOOL
netdfs_io_r_dfs_Enum(const char *desc
, NETDFS_R_DFS_ENUM
*v
, prs_struct
*ps
, int depth
)
1955 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Enum");
1957 if (!prs_uint32("ptr0_info", ps
, depth
, &v
->ptr0_info
))
1961 if (!netdfs_io_dfs_EnumStruct_p("info", &v
->info
, ps
, depth
))
1963 if (!netdfs_io_dfs_EnumStruct_d("info", &v
->info
, ps
, depth
))
1967 if (!prs_align_custom(ps
, 4))
1970 if (!prs_uint32("ptr0_total", ps
, depth
, &v
->ptr0_total
))
1973 if (v
->ptr0_total
) {
1974 if (!prs_uint32("total", ps
, depth
, &v
->total
))
1978 if (!prs_align_custom(ps
, 4))
1981 if (!prs_werror("status", ps
, depth
, &v
->status
))
1987 BOOL
init_netdfs_q_dfs_Rename(NETDFS_Q_DFS_RENAME
*v
)
1989 DEBUG(5,("init_netdfs_q_dfs_Rename\n"));
1994 BOOL
netdfs_io_q_dfs_Rename(const char *desc
, NETDFS_Q_DFS_RENAME
*v
, prs_struct
*ps
, int depth
)
1999 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Rename");
2004 BOOL
init_netdfs_r_dfs_Rename(NETDFS_R_DFS_RENAME
*v
, WERROR status
)
2006 DEBUG(5,("init_netdfs_r_dfs_Rename\n"));
2013 BOOL
netdfs_io_r_dfs_Rename(const char *desc
, NETDFS_R_DFS_RENAME
*v
, prs_struct
*ps
, int depth
)
2018 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Rename");
2020 if (!prs_werror("status", ps
, depth
, &v
->status
))
2026 BOOL
init_netdfs_q_dfs_Move(NETDFS_Q_DFS_MOVE
*v
)
2028 DEBUG(5,("init_netdfs_q_dfs_Move\n"));
2033 BOOL
netdfs_io_q_dfs_Move(const char *desc
, NETDFS_Q_DFS_MOVE
*v
, prs_struct
*ps
, int depth
)
2038 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Move");
2043 BOOL
init_netdfs_r_dfs_Move(NETDFS_R_DFS_MOVE
*v
, WERROR status
)
2045 DEBUG(5,("init_netdfs_r_dfs_Move\n"));
2052 BOOL
netdfs_io_r_dfs_Move(const char *desc
, NETDFS_R_DFS_MOVE
*v
, prs_struct
*ps
, int depth
)
2057 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Move");
2059 if (!prs_werror("status", ps
, depth
, &v
->status
))
2065 BOOL
init_netdfs_q_dfs_ManagerGetConfigInfo(NETDFS_Q_DFS_MANAGERGETCONFIGINFO
*v
)
2067 DEBUG(5,("init_netdfs_q_dfs_ManagerGetConfigInfo\n"));
2072 BOOL
netdfs_io_q_dfs_ManagerGetConfigInfo(const char *desc
, NETDFS_Q_DFS_MANAGERGETCONFIGINFO
*v
, prs_struct
*ps
, int depth
)
2077 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_ManagerGetConfigInfo");
2082 BOOL
init_netdfs_r_dfs_ManagerGetConfigInfo(NETDFS_R_DFS_MANAGERGETCONFIGINFO
*v
, WERROR status
)
2084 DEBUG(5,("init_netdfs_r_dfs_ManagerGetConfigInfo\n"));
2091 BOOL
netdfs_io_r_dfs_ManagerGetConfigInfo(const char *desc
, NETDFS_R_DFS_MANAGERGETCONFIGINFO
*v
, prs_struct
*ps
, int depth
)
2096 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_ManagerGetConfigInfo");
2098 if (!prs_werror("status", ps
, depth
, &v
->status
))
2104 BOOL
init_netdfs_q_dfs_ManagerSendSiteInfo(NETDFS_Q_DFS_MANAGERSENDSITEINFO
*v
)
2106 DEBUG(5,("init_netdfs_q_dfs_ManagerSendSiteInfo\n"));
2111 BOOL
netdfs_io_q_dfs_ManagerSendSiteInfo(const char *desc
, NETDFS_Q_DFS_MANAGERSENDSITEINFO
*v
, prs_struct
*ps
, int depth
)
2116 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_ManagerSendSiteInfo");
2121 BOOL
init_netdfs_r_dfs_ManagerSendSiteInfo(NETDFS_R_DFS_MANAGERSENDSITEINFO
*v
, WERROR status
)
2123 DEBUG(5,("init_netdfs_r_dfs_ManagerSendSiteInfo\n"));
2130 BOOL
netdfs_io_r_dfs_ManagerSendSiteInfo(const char *desc
, NETDFS_R_DFS_MANAGERSENDSITEINFO
*v
, prs_struct
*ps
, int depth
)
2135 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_ManagerSendSiteInfo");
2137 if (!prs_werror("status", ps
, depth
, &v
->status
))
2143 BOOL
init_netdfs_q_dfs_AddFtRoot(NETDFS_Q_DFS_ADDFTROOT
*v
)
2145 DEBUG(5,("init_netdfs_q_dfs_AddFtRoot\n"));
2150 BOOL
netdfs_io_q_dfs_AddFtRoot(const char *desc
, NETDFS_Q_DFS_ADDFTROOT
*v
, prs_struct
*ps
, int depth
)
2155 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_AddFtRoot");
2160 BOOL
init_netdfs_r_dfs_AddFtRoot(NETDFS_R_DFS_ADDFTROOT
*v
, WERROR status
)
2162 DEBUG(5,("init_netdfs_r_dfs_AddFtRoot\n"));
2169 BOOL
netdfs_io_r_dfs_AddFtRoot(const char *desc
, NETDFS_R_DFS_ADDFTROOT
*v
, prs_struct
*ps
, int depth
)
2174 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_AddFtRoot");
2176 if (!prs_werror("status", ps
, depth
, &v
->status
))
2182 BOOL
init_netdfs_q_dfs_RemoveFtRoot(NETDFS_Q_DFS_REMOVEFTROOT
*v
)
2184 DEBUG(5,("init_netdfs_q_dfs_RemoveFtRoot\n"));
2189 BOOL
netdfs_io_q_dfs_RemoveFtRoot(const char *desc
, NETDFS_Q_DFS_REMOVEFTROOT
*v
, prs_struct
*ps
, int depth
)
2194 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_RemoveFtRoot");
2199 BOOL
init_netdfs_r_dfs_RemoveFtRoot(NETDFS_R_DFS_REMOVEFTROOT
*v
, WERROR status
)
2201 DEBUG(5,("init_netdfs_r_dfs_RemoveFtRoot\n"));
2208 BOOL
netdfs_io_r_dfs_RemoveFtRoot(const char *desc
, NETDFS_R_DFS_REMOVEFTROOT
*v
, prs_struct
*ps
, int depth
)
2213 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_RemoveFtRoot");
2215 if (!prs_werror("status", ps
, depth
, &v
->status
))
2221 BOOL
init_netdfs_q_dfs_AddStdRoot(NETDFS_Q_DFS_ADDSTDROOT
*v
)
2223 DEBUG(5,("init_netdfs_q_dfs_AddStdRoot\n"));
2228 BOOL
netdfs_io_q_dfs_AddStdRoot(const char *desc
, NETDFS_Q_DFS_ADDSTDROOT
*v
, prs_struct
*ps
, int depth
)
2233 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_AddStdRoot");
2238 BOOL
init_netdfs_r_dfs_AddStdRoot(NETDFS_R_DFS_ADDSTDROOT
*v
, WERROR status
)
2240 DEBUG(5,("init_netdfs_r_dfs_AddStdRoot\n"));
2247 BOOL
netdfs_io_r_dfs_AddStdRoot(const char *desc
, NETDFS_R_DFS_ADDSTDROOT
*v
, prs_struct
*ps
, int depth
)
2252 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_AddStdRoot");
2254 if (!prs_werror("status", ps
, depth
, &v
->status
))
2260 BOOL
init_netdfs_q_dfs_RemoveStdRoot(NETDFS_Q_DFS_REMOVESTDROOT
*v
)
2262 DEBUG(5,("init_netdfs_q_dfs_RemoveStdRoot\n"));
2267 BOOL
netdfs_io_q_dfs_RemoveStdRoot(const char *desc
, NETDFS_Q_DFS_REMOVESTDROOT
*v
, prs_struct
*ps
, int depth
)
2272 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_RemoveStdRoot");
2277 BOOL
init_netdfs_r_dfs_RemoveStdRoot(NETDFS_R_DFS_REMOVESTDROOT
*v
, WERROR status
)
2279 DEBUG(5,("init_netdfs_r_dfs_RemoveStdRoot\n"));
2286 BOOL
netdfs_io_r_dfs_RemoveStdRoot(const char *desc
, NETDFS_R_DFS_REMOVESTDROOT
*v
, prs_struct
*ps
, int depth
)
2291 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_RemoveStdRoot");
2293 if (!prs_werror("status", ps
, depth
, &v
->status
))
2299 BOOL
init_netdfs_q_dfs_ManagerInitialize(NETDFS_Q_DFS_MANAGERINITIALIZE
*v
)
2301 DEBUG(5,("init_netdfs_q_dfs_ManagerInitialize\n"));
2306 BOOL
netdfs_io_q_dfs_ManagerInitialize(const char *desc
, NETDFS_Q_DFS_MANAGERINITIALIZE
*v
, prs_struct
*ps
, int depth
)
2311 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_ManagerInitialize");
2316 BOOL
init_netdfs_r_dfs_ManagerInitialize(NETDFS_R_DFS_MANAGERINITIALIZE
*v
, WERROR status
)
2318 DEBUG(5,("init_netdfs_r_dfs_ManagerInitialize\n"));
2325 BOOL
netdfs_io_r_dfs_ManagerInitialize(const char *desc
, NETDFS_R_DFS_MANAGERINITIALIZE
*v
, prs_struct
*ps
, int depth
)
2330 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_ManagerInitialize");
2332 if (!prs_werror("status", ps
, depth
, &v
->status
))
2338 BOOL
init_netdfs_q_dfs_AddStdRootForced(NETDFS_Q_DFS_ADDSTDROOTFORCED
*v
)
2340 DEBUG(5,("init_netdfs_q_dfs_AddStdRootForced\n"));
2345 BOOL
netdfs_io_q_dfs_AddStdRootForced(const char *desc
, NETDFS_Q_DFS_ADDSTDROOTFORCED
*v
, prs_struct
*ps
, int depth
)
2350 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_AddStdRootForced");
2355 BOOL
init_netdfs_r_dfs_AddStdRootForced(NETDFS_R_DFS_ADDSTDROOTFORCED
*v
, WERROR status
)
2357 DEBUG(5,("init_netdfs_r_dfs_AddStdRootForced\n"));
2364 BOOL
netdfs_io_r_dfs_AddStdRootForced(const char *desc
, NETDFS_R_DFS_ADDSTDROOTFORCED
*v
, prs_struct
*ps
, int depth
)
2369 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_AddStdRootForced");
2371 if (!prs_werror("status", ps
, depth
, &v
->status
))
2377 BOOL
init_netdfs_q_dfs_GetDcAddress(NETDFS_Q_DFS_GETDCADDRESS
*v
)
2379 DEBUG(5,("init_netdfs_q_dfs_GetDcAddress\n"));
2384 BOOL
netdfs_io_q_dfs_GetDcAddress(const char *desc
, NETDFS_Q_DFS_GETDCADDRESS
*v
, prs_struct
*ps
, int depth
)
2389 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_GetDcAddress");
2394 BOOL
init_netdfs_r_dfs_GetDcAddress(NETDFS_R_DFS_GETDCADDRESS
*v
, WERROR status
)
2396 DEBUG(5,("init_netdfs_r_dfs_GetDcAddress\n"));
2403 BOOL
netdfs_io_r_dfs_GetDcAddress(const char *desc
, NETDFS_R_DFS_GETDCADDRESS
*v
, prs_struct
*ps
, int depth
)
2408 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_GetDcAddress");
2410 if (!prs_werror("status", ps
, depth
, &v
->status
))
2416 BOOL
init_netdfs_q_dfs_SetDcAddress(NETDFS_Q_DFS_SETDCADDRESS
*v
)
2418 DEBUG(5,("init_netdfs_q_dfs_SetDcAddress\n"));
2423 BOOL
netdfs_io_q_dfs_SetDcAddress(const char *desc
, NETDFS_Q_DFS_SETDCADDRESS
*v
, prs_struct
*ps
, int depth
)
2428 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_SetDcAddress");
2433 BOOL
init_netdfs_r_dfs_SetDcAddress(NETDFS_R_DFS_SETDCADDRESS
*v
, WERROR status
)
2435 DEBUG(5,("init_netdfs_r_dfs_SetDcAddress\n"));
2442 BOOL
netdfs_io_r_dfs_SetDcAddress(const char *desc
, NETDFS_R_DFS_SETDCADDRESS
*v
, prs_struct
*ps
, int depth
)
2447 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_SetDcAddress");
2449 if (!prs_werror("status", ps
, depth
, &v
->status
))
2455 BOOL
init_netdfs_q_dfs_FlushFtTable(NETDFS_Q_DFS_FLUSHFTTABLE
*v
)
2457 DEBUG(5,("init_netdfs_q_dfs_FlushFtTable\n"));
2462 BOOL
netdfs_io_q_dfs_FlushFtTable(const char *desc
, NETDFS_Q_DFS_FLUSHFTTABLE
*v
, prs_struct
*ps
, int depth
)
2467 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_FlushFtTable");
2472 BOOL
init_netdfs_r_dfs_FlushFtTable(NETDFS_R_DFS_FLUSHFTTABLE
*v
, WERROR status
)
2474 DEBUG(5,("init_netdfs_r_dfs_FlushFtTable\n"));
2481 BOOL
netdfs_io_r_dfs_FlushFtTable(const char *desc
, NETDFS_R_DFS_FLUSHFTTABLE
*v
, prs_struct
*ps
, int depth
)
2486 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_FlushFtTable");
2488 if (!prs_werror("status", ps
, depth
, &v
->status
))
2494 BOOL
init_netdfs_q_dfs_Add2(NETDFS_Q_DFS_ADD2
*v
)
2496 DEBUG(5,("init_netdfs_q_dfs_Add2\n"));
2501 BOOL
netdfs_io_q_dfs_Add2(const char *desc
, NETDFS_Q_DFS_ADD2
*v
, prs_struct
*ps
, int depth
)
2506 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Add2");
2511 BOOL
init_netdfs_r_dfs_Add2(NETDFS_R_DFS_ADD2
*v
, WERROR status
)
2513 DEBUG(5,("init_netdfs_r_dfs_Add2\n"));
2520 BOOL
netdfs_io_r_dfs_Add2(const char *desc
, NETDFS_R_DFS_ADD2
*v
, prs_struct
*ps
, int depth
)
2525 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Add2");
2527 if (!prs_werror("status", ps
, depth
, &v
->status
))
2533 BOOL
init_netdfs_q_dfs_Remove2(NETDFS_Q_DFS_REMOVE2
*v
)
2535 DEBUG(5,("init_netdfs_q_dfs_Remove2\n"));
2540 BOOL
netdfs_io_q_dfs_Remove2(const char *desc
, NETDFS_Q_DFS_REMOVE2
*v
, prs_struct
*ps
, int depth
)
2545 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_Remove2");
2550 BOOL
init_netdfs_r_dfs_Remove2(NETDFS_R_DFS_REMOVE2
*v
, WERROR status
)
2552 DEBUG(5,("init_netdfs_r_dfs_Remove2\n"));
2559 BOOL
netdfs_io_r_dfs_Remove2(const char *desc
, NETDFS_R_DFS_REMOVE2
*v
, prs_struct
*ps
, int depth
)
2564 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_Remove2");
2566 if (!prs_werror("status", ps
, depth
, &v
->status
))
2572 BOOL
init_netdfs_q_dfs_EnumEx(NETDFS_Q_DFS_ENUMEX
*v
)
2574 DEBUG(5,("init_netdfs_q_dfs_EnumEx\n"));
2579 BOOL
netdfs_io_q_dfs_EnumEx(const char *desc
, NETDFS_Q_DFS_ENUMEX
*v
, prs_struct
*ps
, int depth
)
2584 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_EnumEx");
2589 BOOL
init_netdfs_r_dfs_EnumEx(NETDFS_R_DFS_ENUMEX
*v
, WERROR status
)
2591 DEBUG(5,("init_netdfs_r_dfs_EnumEx\n"));
2598 BOOL
netdfs_io_r_dfs_EnumEx(const char *desc
, NETDFS_R_DFS_ENUMEX
*v
, prs_struct
*ps
, int depth
)
2603 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_EnumEx");
2605 if (!prs_werror("status", ps
, depth
, &v
->status
))
2611 BOOL
init_netdfs_q_dfs_SetInfo2(NETDFS_Q_DFS_SETINFO2
*v
)
2613 DEBUG(5,("init_netdfs_q_dfs_SetInfo2\n"));
2618 BOOL
netdfs_io_q_dfs_SetInfo2(const char *desc
, NETDFS_Q_DFS_SETINFO2
*v
, prs_struct
*ps
, int depth
)
2623 prs_debug(ps
, depth
, desc
, "netdfs_io_q_dfs_SetInfo2");
2628 BOOL
init_netdfs_r_dfs_SetInfo2(NETDFS_R_DFS_SETINFO2
*v
, WERROR status
)
2630 DEBUG(5,("init_netdfs_r_dfs_SetInfo2\n"));
2637 BOOL
netdfs_io_r_dfs_SetInfo2(const char *desc
, NETDFS_R_DFS_SETINFO2
*v
, prs_struct
*ps
, int depth
)
2642 prs_debug(ps
, depth
, desc
, "netdfs_io_r_dfs_SetInfo2");
2644 if (!prs_werror("status", ps
, depth
, &v
->status
))