Lines Matching refs:r_n
1091 BOOL srv_io_r_net_share_enum(const char *desc, SRV_R_NET_SHARE_ENUM *r_n, prs_struct *ps, int depth)
1093 if (r_n == NULL)
1099 if(!srv_io_srv_share_ctr("share_ctr", &r_n->ctr, ps, depth))
1105 if(!prs_uint32("total_entries", ps, depth, &r_n->total_entries))
1108 if(!smb_io_enum_hnd("enum_hnd", &r_n->enum_hnd, ps, depth))
1111 if(!prs_werror("status", ps, depth, &r_n->status))
1172 static BOOL srv_io_srv_share_info(const char *desc, prs_struct *ps, int depth, SRV_SHARE_INFO *r_n)
1174 if (r_n == NULL)
1183 if(!prs_uint32("switch_value ", ps, depth, &r_n->switch_value ))
1186 if(!prs_uint32("ptr_share_ctr", ps, depth, &r_n->ptr_share_ctr))
1189 if (r_n->ptr_share_ctr != 0) {
1190 switch (r_n->switch_value) {
1192 if(!srv_io_share_info0("", &r_n->share.info0.info_0, ps, depth))
1196 r_n->share.info0.info_0_str.ptrs = &r_n->share.info0.info_0;
1198 if(!srv_io_share_info0_str("", &r_n->share.info0.info_0_str, ps, depth))
1203 if(!srv_io_share_info1("", &r_n->share.info1.info_1, ps, depth))
1207 r_n->share.info1.info_1_str.ptrs = &r_n->share.info1.info_1;
1209 if(!srv_io_share_info1_str("", &r_n->share.info1.info_1_str, ps, depth))
1214 if(!srv_io_share_info2("", &r_n->share.info2.info_2, ps, depth))
1217 if(!srv_io_share_info2_str("", &r_n->share.info2.info_2, &r_n->share.info2.info_2_str, ps, depth))
1222 if (!srv_io_share_info501("", &r_n->share.info501.info_501, ps, depth))
1224 if (!srv_io_share_info501_str("", &r_n->share.info501.info_501_str, ps, depth))
1229 if(!srv_io_share_info502("", &r_n->share.info502.info_502, ps, depth))
1233 r_n->share.info502.info_502_str.ptrs = &r_n->share.info502.info_502;
1235 if(!srv_io_share_info502_str("", &r_n->share.info502.info_502_str, ps, depth))
1239 if(!srv_io_share_info1004("", &r_n->share.info1004.info_1004, ps, depth))
1243 r_n->share.info1004.info_1004_str.ptrs = &r_n->share.info1004.info_1004;
1245 if(!srv_io_share_info1004_str("", &r_n->share.info1004.info_1004_str, ps, depth))
1249 if(!srv_io_share_info1005("", &r_n->share.info1005, ps, depth))
1253 if(!srv_io_share_info1006("", &r_n->share.info1006, ps, depth))
1257 if(!srv_io_share_info1007("", &r_n->share.info1007.info_1007, ps, depth))
1261 r_n->share.info1007.info_1007_str.ptrs = &r_n->share.info1007.info_1007;
1263 if(!srv_io_share_info1007_str("", &r_n->share.info1007.info_1007_str, ps, depth))
1267 if (!srv_io_share_info1501("", &r_n->share.info1501, ps, depth))
1271 tab_depth(depth), r_n->switch_value));
1283 BOOL srv_io_r_net_share_get_info(const char *desc, SRV_R_NET_SHARE_GET_INFO *r_n, prs_struct *ps, int depth)
1285 if (r_n == NULL)
1294 if(!srv_io_srv_share_info("info ", ps, depth, &r_n->info))
1300 if(!prs_werror("status", ps, depth, &r_n->status))
1385 BOOL srv_io_r_net_share_set_info(const char *desc, SRV_R_NET_SHARE_SET_INFO *r_n, prs_struct *ps, int depth)
1387 if (r_n == NULL)
1396 if(!prs_uint32("ptr_parm_error ", ps, depth, &r_n->ptr_parm_error))
1399 if(r_n->ptr_parm_error) {
1401 if(!prs_uint32("parm_error ", ps, depth, &r_n->parm_error))
1405 if(!prs_werror("status", ps, depth, &r_n->status))
1498 BOOL srv_io_r_net_share_add(const char *desc, SRV_R_NET_SHARE_ADD *r_n, prs_struct *ps, int depth)
1500 if (r_n == NULL)
1509 if(!prs_uint32("ptr_parm_error", ps, depth, &r_n->ptr_parm_error))
1512 if(r_n->ptr_parm_error) {
1514 if(!prs_uint32("parm_error", ps, depth, &r_n->parm_error))
1518 if(!prs_werror("status", ps, depth, &r_n->status))
1862 BOOL srv_io_r_net_sess_enum(const char *desc, SRV_R_NET_SESS_ENUM *r_n, prs_struct *ps, int depth)
1864 if (r_n == NULL)
1873 if(!prs_uint32("sess_level", ps, depth, &r_n->sess_level))
1876 if (r_n->sess_level != (uint32)-1) {
1877 if(!srv_io_srv_sess_ctr("sess_ctr", &r_n->ctr, ps, depth))
1881 if(!prs_uint32("total_entries", ps, depth, &r_n->total_entries))
1883 if(!smb_io_enum_hnd("enum_hnd", &r_n->enum_hnd, ps, depth))
1885 if(!prs_werror("status", ps, depth, &r_n->status))
1947 BOOL srv_io_r_net_sess_del(const char *desc, SRV_R_NET_SESS_DEL *r_n, prs_struct *ps, int depth)
1949 if (r_n == NULL)
1958 if(!prs_werror("status", ps, depth, &r_n->status))
2300 BOOL srv_io_r_net_conn_enum(const char *desc, SRV_R_NET_CONN_ENUM *r_n, prs_struct *ps, int depth)
2302 if (r_n == NULL)
2311 if(!prs_uint32("conn_level", ps, depth, &r_n->conn_level))
2314 if (r_n->conn_level != (uint32)-1) {
2315 if(!srv_io_srv_conn_ctr("conn_ctr", &r_n->ctr, ps, depth))
2319 if(!prs_uint32("total_entries", ps, depth, &r_n->total_entries))
2321 if(!smb_io_enum_hnd("enum_hnd", &r_n->enum_hnd, ps, depth))
2323 if(!prs_werror("status", ps, depth, &r_n->status))
2586 BOOL srv_io_r_net_file_enum(const char *desc, SRV_R_NET_FILE_ENUM *r_n, prs_struct *ps, int depth)
2588 if (r_n == NULL)
2597 if(!prs_uint32("level", ps, depth, &r_n->level))
2600 if (r_n->level != 0) {
2601 if(!srv_io_srv_file_ctr("file_ctr", &r_n->ctr, ps, depth))
2605 if(!prs_uint32("total_entries", ps, depth, &r_n->total_entries))
2607 if(!smb_io_enum_hnd("enum_hnd", &r_n->enum_hnd, ps, depth))
2609 if(!prs_werror("status", ps, depth, &r_n->status))
2982 BOOL srv_io_r_net_srv_get_info(const char *desc, SRV_R_NET_SRV_GET_INFO *r_n, prs_struct *ps, int depth)
2984 if (r_n == NULL)
2993 if(!srv_io_info_ctr("ctr", r_n->ctr, ps, depth))
2996 if(!prs_werror("status", ps, depth, &r_n->status))
3006 BOOL srv_io_r_net_srv_set_info(const char *desc, SRV_R_NET_SRV_SET_INFO *r_n,
3015 if(!prs_uint32("switch value ", ps, depth, &r_n->switch_value))
3018 if(!prs_werror("status", ps, depth, &r_n->status))
3120 BOOL srv_io_r_net_remote_tod(const char *desc, SRV_R_NET_REMOTE_TOD *r_n, prs_struct *ps, int depth)
3122 if (r_n == NULL)
3131 if(!prs_uint32("ptr_srv_tod ", ps, depth, &r_n->ptr_srv_tod))
3134 if(!srv_io_time_of_day_info("tod", r_n->tod, ps, depth))
3137 if(!prs_werror("status", ps, depth, &r_n->status))
3216 BOOL srv_io_r_net_disk_enum(const char *desc, SRV_R_NET_DISK_ENUM *r_n, prs_struct *ps, int depth)
3222 if (r_n == NULL)
3228 entries_read = entries_read2 = entries_read3 = r_n->disk_enum_ctr.entries_read;
3235 if(!prs_uint32("ptr_disk_info", ps, depth, &r_n->disk_enum_ctr.disk_info_ptr))
3242 if(!prs_uint32("unknown", ps, depth, &r_n->disk_enum_ctr.unknown))
3247 r_n->disk_enum_ctr.entries_read = entries_read3;
3255 r_n->disk_enum_ctr.disk_info = dinfo;
3260 if(!prs_uint32("unknown", ps, depth, &r_n->disk_enum_ctr.disk_info[i].unknown))
3263 if(!smb_io_unistr3("disk_name", &r_n->disk_enum_ctr.disk_info[i].disk_name, ps, depth))
3270 if(!prs_uint32("total_entries", ps, depth, &r_n->total_entries))
3273 if(!smb_io_enum_hnd("enum_hnd", &r_n->enum_hnd, ps, depth))
3276 if(!prs_werror("status", ps, depth, &r_n->status))
3322 BOOL srv_io_r_net_name_validate(const char *desc, SRV_R_NET_NAME_VALIDATE *r_n, prs_struct *ps, int depth)
3324 if (r_n == NULL)
3333 if(!prs_werror("status", ps, depth, &r_n->status))
3391 BOOL srv_io_r_net_file_query_secdesc(const char *desc, SRV_R_NET_FILE_QUERY_SECDESC *r_n, prs_struct *ps, int depth)
3393 if (r_n == NULL)
3402 if(!prs_uint32("ptr_response", ps, depth, &r_n->ptr_response))
3405 if(!prs_uint32("size_response", ps, depth, &r_n->size_response))
3408 if(!prs_uint32("ptr_secdesc", ps, depth, &r_n->ptr_secdesc))
3411 if(!prs_uint32("size_secdesc", ps, depth, &r_n->size_secdesc))
3414 if(!sec_io_desc("sec_desc", &r_n->sec_desc, ps, depth))
3420 if(!prs_werror("status", ps, depth, &r_n->status))
3487 BOOL srv_io_r_net_file_set_secdesc(const char *desc, SRV_R_NET_FILE_SET_SECDESC *r_n, prs_struct *ps, int depth)
3489 if (r_n == NULL)
3498 if(!prs_werror("status", ps, depth, &r_n->status))
3544 BOOL srv_io_r_net_file_close(const char *desc, SRV_R_NET_FILE_CLOSE *r_n,
3553 if(!prs_werror("status", ps, depth, &r_n->status))