static bool remote_op_interface_by_name(struct dcesrv_interface *iface, const char *name) { const struct ndr_interface_table *tbl = ndr_table_by_name(name); if (tbl) return remote_fill_interface(iface, tbl); return false; }
bool torture_rpc_autoidl(struct torture_context *torture) { const struct ndr_interface_table *iface; iface = ndr_table_by_name("drsuapi"); if (!iface) { printf("Unknown interface!\n"); return false; } printf("\nProbing pipe '%s'\n", iface->name); test_auto_scan(torture, iface); return true; }