From bd93ed4680b3a86348b0d84a93d20f3daafbe8ad Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 21 Aug 2007 19:35:43 +0000 Subject: r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.c and rename the containing functions to have a ndr_ prefix metze (This used to be commit cb234d43ae693af5d8a921a15c9bcac3c6f0359a) --- source4/torture/rpc/scanner.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/torture/rpc/scanner.c') diff --git a/source4/torture/rpc/scanner.c b/source4/torture/rpc/scanner.c index b60d325c7c..1f74b8b1cf 100644 --- a/source4/torture/rpc/scanner.c +++ b/source4/torture/rpc/scanner.c @@ -22,7 +22,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_mgmt_c.h" -#include "librpc/rpc/dcerpc_table.h" +#include "librpc/ndr/ndr_table.h" #include "torture/rpc/rpc.h" /* @@ -76,7 +76,7 @@ static BOOL test_num_calls(const struct ndr_interface_table *iface, } printf("\t%d calls available\n", i); - idl_calls = idl_num_calls(&id->uuid, id->if_version); + idl_calls = ndr_interface_num_calls(&id->uuid, id->if_version); if (idl_calls == -1) { printf("\tinterface not known in local IDL\n"); } else if (i != idl_calls) { @@ -117,7 +117,7 @@ BOOL torture_rpc_scanner(struct torture_context *torture) return False; } - for (l=librpc_dcerpc_pipes();l;l=l->next) { + for (l=ndr_table_list();l;l=l->next) { loop_ctx = talloc_named(mem_ctx, 0, "torture_rpc_scanner loop context"); /* some interfaces are not mappable */ if (l->table->num_calls == 0 || -- cgit