summaryrefslogtreecommitdiff
path: root/source4/librpc/tables.pl
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/tables.pl
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/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;