summaryrefslogtreecommitdiff
path: root/source4/librpc/tables.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/tables.pl')
-rw-r--r--source4/librpc/tables.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/librpc/tables.pl b/source4/librpc/tables.pl
index 946159c6f0..04764f5fa0 100644
--- a/source4/librpc/tables.pl
+++ b/source4/librpc/tables.pl
@@ -20,7 +20,7 @@ my $opt_help = 0;
sub ShowHelp()
{
print "
- perl DCE/RPC interface table generator
+ perl NDR interface table generator
Copyright (C) tridge\@samba.org
Usage: tables.pl [options] <idlfile>
@@ -53,7 +53,7 @@ sub process_file($)
while (my $line = <FILE>) {
if ($line =~ /extern const struct ndr_interface_table (\w+);/) {
$found = 1;
- $init_fns.="\tstatus = librpc_register_interface(&$1);\n";
+ $init_fns.="\tstatus = ndr_table_register(&$1);\n";
$init_fns.="\tif (NT_STATUS_IS_ERR(status)) return status;\n\n";
}
}
@@ -70,15 +70,15 @@ print <<EOF;
/* Automatically generated by tables.pl. DO NOT EDIT */
#include "includes.h"
-#include "librpc/rpc/dcerpc.h"
-#include "librpc/rpc/dcerpc_table.h"
+#include "librpc/ndr/libndr.h"
+#include "librpc/ndr/ndr_table.h"
EOF
process_file($_) foreach (@ARGV);
print <<EOF;
-NTSTATUS dcerpc_register_builtin_interfaces(void)
+NTSTATUS ndr_table_register_builtin_tables(void)
{
NTSTATUS status;