summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/Compat.pm
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2009-12-10 10:04:48 +0300
committerStefan Metzmacher <metze@samba.org>2009-12-12 10:26:05 +0100
commit678f2ca14b97c2bf0d5ef8fd0f0313425803c9ea (patch)
tree4ecbbb5cc8268f8dd7abbadc9e47f1c1387c810f /pidl/lib/Parse/Pidl/Compat.pm
parentf0054da041b961bde25f63791d3b33cc834bd365 (diff)
downloadsamba-678f2ca14b97c2bf0d5ef8fd0f0313425803c9ea.tar.gz
samba-678f2ca14b97c2bf0d5ef8fd0f0313425803c9ea.tar.bz2
samba-678f2ca14b97c2bf0d5ef8fd0f0313425803c9ea.zip
pidl: Introduce new dirrective: relative_short
relative_short is like relative but instead of having the offset coded on 4 bytes it's coded on 2 bytes. Such things happen in GET_DFS_REFERAL messages. Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'pidl/lib/Parse/Pidl/Compat.pm')
-rw-r--r--pidl/lib/Parse/Pidl/Compat.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/Compat.pm b/pidl/lib/Parse/Pidl/Compat.pm
index 1b49c439c4..c248677747 100644
--- a/pidl/lib/Parse/Pidl/Compat.pm
+++ b/pidl/lib/Parse/Pidl/Compat.pm
@@ -125,6 +125,10 @@ sub CheckElement($)
warning($e, "relative() pointer property not supported");
}
+ if (has_property($e, "relative_short")) {
+ warning($e, "relative_short() pointer property not supported");
+ }
+
if (has_property($e, "flag")) {
warning($e, "ignoring flag() property");
}