_PUBLIC_ void ndr_print_xattr_NTACL_Info(struct ndr_print *ndr, const char *name, const union xattr_NTACL_Info *r) { int level; level = ndr_print_get_switch_value(ndr, r); ndr_print_union(ndr, name, level, "xattr_NTACL_Info"); switch (level) { case 1: ndr_print_ptr(ndr, "sd", r->sd); ndr->depth++; if (r->sd) { ndr_print_security_descriptor(ndr, "sd", r->sd); } ndr->depth--; break; case 2: ndr_print_ptr(ndr, "sd_hs", r->sd_hs); ndr->depth++; if (r->sd_hs) { ndr_print_security_descriptor_hash(ndr, "sd_hs", r->sd_hs); } ndr->depth--; break; default: ndr_print_bad_level(ndr, name, level); } }
_PUBLIC_ void ndr_print_echo_Enum3(struct ndr_print *ndr, const char *name, const union echo_Enum3 *r) { int level; level = ndr_print_get_switch_value(ndr, r); ndr_print_union(ndr, name, level, "echo_Enum3"); switch (level) { case ECHO_ENUM1: ndr_print_echo_Enum1(ndr, "e1", r->e1); break; case ECHO_ENUM2: ndr_print_echo_Enum2(ndr, "e2", &r->e2); break; default: ndr_print_bad_level(ndr, name, level); } }
_PUBLIC_ void ndr_print_xattr_DosInfo(struct ndr_print *ndr, const char *name, const union xattr_DosInfo *r) { int level; level = ndr_print_get_switch_value(ndr, r); ndr_print_union(ndr, name, level, "xattr_DosInfo"); switch (level) { case 1: ndr_print_xattr_DosInfo1(ndr, "info1", &r->info1); break; case 2: ndr_print_xattr_DosInfo2Old(ndr, "oldinfo2", &r->oldinfo2); break; default: ndr_print_bad_level(ndr, name, level); } }
_PUBLIC_ void ndr_print_dssetup_DsRoleInfo(struct ndr_print *ndr, const char *name, const union dssetup_DsRoleInfo *r) { uint32_t level; level = ndr_print_get_switch_value(ndr, r); ndr_print_union(ndr, name, level, "dssetup_DsRoleInfo"); switch (level) { case DS_ROLE_BASIC_INFORMATION: ndr_print_dssetup_DsRolePrimaryDomInfoBasic(ndr, "basic", &r->basic); break; case DS_ROLE_UPGRADE_STATUS: ndr_print_dssetup_DsRoleUpgradeStatus(ndr, "upgrade", &r->upgrade); break; case DS_ROLE_OP_STATUS: ndr_print_dssetup_DsRoleOpStatus(ndr, "opstatus", &r->opstatus); break; default: ndr_print_bad_level(ndr, name, level); } }
_PUBLIC_ void ndr_print_echo_Info(struct ndr_print *ndr, const char *name, const union echo_Info *r) { int level; level = ndr_print_get_switch_value(ndr, r); ndr_print_union(ndr, name, level, "echo_Info"); switch (level) { case 1: ndr_print_echo_info1(ndr, "info1", &r->info1); break; case 2: ndr_print_echo_info2(ndr, "info2", &r->info2); break; case 3: ndr_print_echo_info3(ndr, "info3", &r->info3); break; case 4: ndr_print_STRUCT_echo_info4(ndr, "info4", &r->info4); break; case 5: ndr_print_echo_info5(ndr, "info5", &r->info5); break; case 6: ndr_print_echo_info6(ndr, "info6", &r->info6); break; case 7: ndr_print_echo_info7(ndr, "info7", &r->info7); break; default: ndr_print_bad_level(ndr, name, level); } }