summaryrefslogtreecommitdiff
path: root/source4/pidl/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-09-29 14:00:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:12 -0500
commit08f16292a0cfab57c484661c1f05e1a49ec06942 (patch)
treee018b47bf00b965bd6222893256d853707b6f572 /source4/pidl/lib
parent9cbafc42ee5cbaae9dfb9d147eefd0e59ff953d0 (diff)
downloadsamba-08f16292a0cfab57c484661c1f05e1a49ec06942.tar.gz
samba-08f16292a0cfab57c484661c1f05e1a49ec06942.tar.bz2
samba-08f16292a0cfab57c484661c1f05e1a49ec06942.zip
r10608: - fix hierachical memory handling in ndr_pull_nbt_name
- add wrepl_nbt_name scalar type and do the pull/push in the ndr layer instead of the caller - give the flags and group_flag in the wrepl_name a meaning metze (This used to be commit b98efc2905e1147eb97111b46a877bdb9d8dd154)
Diffstat (limited to 'source4/pidl/lib')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Typelist.pm11
1 files changed, 8 insertions, 3 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Typelist.pm b/source4/pidl/lib/Parse/Pidl/Typelist.pm
index 7dfbe761de..d81fedf71e 100644
--- a/source4/pidl/lib/Parse/Pidl/Typelist.pm
+++ b/source4/pidl/lib/Parse/Pidl/Typelist.pm
@@ -140,9 +140,9 @@ my $scalars = {
NDR_ALIGN => 4
},
"COMRESULT" => {
- "C_TYPE" => "COMRESULT",
- IS_REFERENCE => 0,
- NDR_ALIGN => 4
+ C_TYPE => "COMRESULT",
+ IS_REFERENCE => 0,
+ NDR_ALIGN => 4
},
# special types
@@ -151,6 +151,11 @@ my $scalars = {
IS_REFERENCE => 1,
NDR_ALIGN => 4 #???
},
+ "wrepl_nbt_name"=> {
+ C_TYPE => "struct nbt_name",
+ IS_REFERENCE => 0,
+ NDR_ALIGN => 4
+ },
"ipv4address" => {
C_TYPE => "const char *",
IS_REFERENCE => 1,