summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/countcalls.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-21 19:35:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:23 -0500
commitbd93ed4680b3a86348b0d84a93d20f3daafbe8ad (patch)
tree1413cd4ef1f8080710c21bfbc6a79a9f2a0b6ebb /source4/torture/rpc/countcalls.c
parentedb4fefeb74cd7a2390cbf962048c320d21b7d8c (diff)
downloadsamba-bd93ed4680b3a86348b0d84a93d20f3daafbe8ad.tar.gz
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)
Diffstat (limited to 'source4/torture/rpc/countcalls.c')
-rw-r--r--source4/torture/rpc/countcalls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/countcalls.c b/source4/torture/rpc/countcalls.c
index e400fcdbe36..e2e222d2ecb 100644
--- a/source4/torture/rpc/countcalls.c
+++ b/source4/torture/rpc/countcalls.c
@@ -22,8 +22,8 @@
#include "includes.h"
#include "torture/torture.h"
-#include "librpc/rpc/dcerpc.h"
-#include "librpc/rpc/dcerpc_table.h"
+#include "librpc/ndr/libndr.h"
+#include "librpc/ndr/ndr_table.h"
#include "torture/rpc/rpc.h"
@@ -112,7 +112,7 @@ BOOL torture_rpc_countcalls(struct torture_context *torture)
}
iface_name = lp_parm_string(-1, "countcalls", "interface");
if (iface_name != NULL) {
- iface = idl_iface_by_name(iface_name);
+ iface = ndr_table_by_name(iface_name);
if (!iface) {
printf("Unknown interface '%s'\n", iface_name);
return False;
@@ -120,7 +120,7 @@ BOOL torture_rpc_countcalls(struct torture_context *torture)
return count_calls(mem_ctx, iface, False);
}
- for (l=librpc_dcerpc_pipes();l;l=l->next) {
+ for (l=ndr_table_list();l;l=l->next) {
TALLOC_CTX *loop_ctx;
loop_ctx = talloc_named(mem_ctx, 0, "torture_rpc_councalls loop context");
ret &= count_calls(loop_ctx, l->table, True);