summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/NDR.pm
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-05-11 07:09:05 +0200
committerAndrew Tridgell <tridge@samba.org>2010-08-05 17:31:29 +1000
commita41dffcb6a0a2dcb6bbcf3ecbb4a7a1df47d85df (patch)
treea0fda72beeaa17798f06e51468ea1d930c2129f2 /pidl/lib/Parse/Pidl/NDR.pm
parent1a701914fd226f7d3844bd6feadcd58cb7144246 (diff)
downloadsamba-a41dffcb6a0a2dcb6bbcf3ecbb4a7a1df47d85df.tar.gz
samba-a41dffcb6a0a2dcb6bbcf3ecbb4a7a1df47d85df.tar.bz2
samba-a41dffcb6a0a2dcb6bbcf3ecbb4a7a1df47d85df.zip
pidl: added a new type dnsp_name
This is a name type used in DNS where each DNS component maps to a length byte followed by the string We want these to map to a char *, which is why we need to do this in PIDL
Diffstat (limited to 'pidl/lib/Parse/Pidl/NDR.pm')
-rw-r--r--pidl/lib/Parse/Pidl/NDR.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/NDR.pm b/pidl/lib/Parse/Pidl/NDR.pm
index a875ec8756..c1ac6001da 100644
--- a/pidl/lib/Parse/Pidl/NDR.pm
+++ b/pidl/lib/Parse/Pidl/NDR.pm
@@ -74,7 +74,8 @@ my $scalar_alignment = {
'COMRESULT' => 4,
'nbt_string' => 4,
'wrepl_nbt_name' => 4,
- 'ipv4address' => 4
+ 'ipv4address' => 4,
+ 'dnsp_name' => 1
};
sub GetElementLevelTable($$)