diff options
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm | 7 |
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 20c94c89e05..30ad7a4e42f 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; } |