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/librpc/tools/ndrdump.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/librpc/tools') 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 -- cgit