summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-26 00:59:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:17 -0500
commit42da534d66c14c60844568246a2862da7b49f1d5 (patch)
tree4c8156ae3cb44be0483bce10b5f60bad1bd286c7 /source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
parent7780e2bfa1e446d02a0168e85bf7713fd4ce475b (diff)
downloadsamba-42da534d66c14c60844568246a2862da7b49f1d5.tar.gz
samba-42da534d66c14c60844568246a2862da7b49f1d5.tar.bz2
samba-42da534d66c14c60844568246a2862da7b49f1d5.zip
r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere
(This used to be commit a316b33057f3ec8532677980e093cd327d33f257)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index f29518d21f..07128568bd 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -2200,8 +2200,10 @@ sub FunctionTable($)
pidl "\nconst struct dcerpc_interface_table dcerpc_table_$interface->{NAME} = {";
pidl "\t.name\t\t= \"$interface->{NAME}\",";
- pidl "\t.uuid\t\t= ". print_uuid($interface->{UUID}) .",";
- pidl "\t.if_version\t= DCERPC_$uname\_VERSION,";
+ pidl "\t.syntax_id\t= {";
+ pidl "\t\t" . print_uuid($interface->{UUID}) .",";
+ pidl "\t\tDCERPC_$uname\_VERSION";
+ pidl "\t},";
pidl "\t.helpstring\t= DCERPC_$uname\_HELPSTRING,";
pidl "\t.num_calls\t= $count,";
pidl "\t.calls\t\t= $interface->{NAME}\_calls,";