From 485df40bf96abbd80d69ff2a9fdca86516a4eae7 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 7 Nov 2004 16:47:46 +0000 Subject: r3601: Lots of smaller DCOM updates and fixes. Adds oxid tables, proper use of contexts. (This used to be commit 93eb3cd99c4fb065a69eabcead0c33804259c976) --- source4/build/pidl/header.pm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'source4/build/pidl/header.pm') diff --git a/source4/build/pidl/header.pm b/source4/build/pidl/header.pm index d1eb1d1630..0c4c5df425 100644 --- a/source4/build/pidl/header.pm +++ b/source4/build/pidl/header.pm @@ -303,16 +303,14 @@ sub HeaderFnProto($) my $fn = shift; my $name = $fn->{NAME}; - return if (util::has_property($fn, "call_as") ); - - my $objarg = ""; + my $firstarg = "dcerpc_pipe"; if (util::has_property($fn, "object")) { - $objarg = ", struct GUID *"; + $firstarg = "dcom_interface"; } $res .= "void ndr_print_$name(struct ndr_print *, const char *, int, struct $name *);\n"; - $res .= "struct rpc_request *dcerpc_$name\_send(struct dcerpc_pipe *$objarg, TALLOC_CTX *, struct $name *);\n"; - $res .= "NTSTATUS dcerpc_$name(struct dcerpc_pipe *$objarg, TALLOC_CTX *, struct $name *);\n"; + $res .= "struct rpc_request *dcerpc_$name\_send(struct $firstarg *, TALLOC_CTX *, struct $name *);\n"; + $res .= "NTSTATUS dcerpc_$name(struct $firstarg *, TALLOC_CTX *, struct $name *);\n"; $res .= "\n"; } -- cgit