summaryrefslogtreecommitdiff
path: root/source4/librpc/tools
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/librpc/tools
parentedb4fefeb74cd7a2390cbf962048c320d21b7d8c (diff)
downloadsamba-bd93ed4680b3a86348b0d84a93d20f3daafbe8ad.tar.gz
samba-bd93ed4680b3a86348b0d84a93d20f3daafbe8ad.tar.bz2
samba-bd93ed4680b3a86348b0d84a93d20f3daafbe8ad.zip
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/librpc/tools')
-rw-r--r--source4/librpc/tools/ndrdump.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/librpc/tools/ndrdump.c b/source4/librpc/tools/ndrdump.c
index 2e57e882d6..4b840fed5a 100644
--- a/source4/librpc/tools/ndrdump.c
+++ b/source4/librpc/tools/ndrdump.c
@@ -23,8 +23,8 @@
#include "lib/cmdline/popt_common.h"
#include "system/filesys.h"
#include "system/locale.h"
-#include "librpc/rpc/dcerpc.h"
-#include "librpc/rpc/dcerpc_table.h"
+#include "librpc/ndr/libndr.h"
+#include "librpc/ndr/ndr_table.h"
#endif
static const struct ndr_interface_call *find_function(
@@ -55,7 +55,7 @@ static void show_pipes(void)
const struct ndr_interface_list *l;
printf("\nYou must specify a pipe\n");
printf("known pipes are:\n");
- for (l=librpc_dcerpc_pipes();l;l=l->next) {
+ for (l=ndr_table_list();l;l=l->next) {
if(l->table->helpstring) {
printf("\t%s - %s\n", l->table->name, l->table->helpstring);
} else {
@@ -218,7 +218,7 @@ const struct ndr_interface_table *load_iface_from_plugin(const char *plugin, con
}
#else
if (!p) {
- p = idl_iface_by_name(pipe_name);
+ p = ndr_table_by_name(pipe_name);
}
if (!p) {
@@ -227,7 +227,7 @@ const struct ndr_interface_table *load_iface_from_plugin(const char *plugin, con
status = GUID_from_string(pipe_name, &uuid);
if (NT_STATUS_IS_OK(status)) {
- p = idl_iface_by_uuid(&uuid);
+ p = ndr_table_by_uuid(&uuid);
}
}
#endif