summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 03:20:29 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 04:07:40 +0100
commit98e4ef09f4ee9ecbf4e7d6411cfc658f908eda2e (patch)
treeca0441daf2e9309e2117324168d71385c2a37afe
parentdf0b7f1c341904451c37bca41b02e1b6a791da5a (diff)
downloadsamba-98e4ef09f4ee9ecbf4e7d6411cfc658f908eda2e.tar.gz
samba-98e4ef09f4ee9ecbf4e7d6411cfc658f908eda2e.tar.bz2
samba-98e4ef09f4ee9ecbf4e7d6411cfc658f908eda2e.zip
pidl: Fix prototype for server init functions.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 19 04:07:40 CET 2011 on sn-devel-104
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
index 20c94c89e0..30ad7a4e42 100644
--- a/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
@@ -251,9 +251,9 @@ static bool $name\__op_interface_by_name(struct dcesrv_interface *iface, const c
return true;
}
- return false;
+ return false;
}
-
+
NTSTATUS dcerpc_server_$name\_init(void)
{
NTSTATUS ret;
@@ -289,6 +289,9 @@ sub ParseInterface($)
my($interface) = shift;
my $count = 0;
+ $res .= "NTSTATUS dcerpc_server_$interface->{NAME}\_init(void);\n";
+ $res .= "\n";
+
if (!defined $interface->{PROPERTIES}->{uuid}) {
return $res;
}