summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/NDR.pm
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-03-12 11:36:38 +0100
committerGünther Deschner <gd@samba.org>2013-03-15 12:11:02 +0100
commita42527e51b97737fd7c56872bb80a7a782cdf11e (patch)
treec430558d15356c61d6b6e39df49f60b782b41a66 /pidl/lib/Parse/Pidl/NDR.pm
parentc044e930d34cd8539ced485f1ed8ead91279c3be (diff)
downloadsamba-a42527e51b97737fd7c56872bb80a7a782cdf11e.tar.gz
samba-a42527e51b97737fd7c56872bb80a7a782cdf11e.tar.bz2
samba-a42527e51b97737fd7c56872bb80a7a782cdf11e.zip
pidl: Add skip option to elements.
This option allows to skip struct elements in pull and push function. This can be used to pass flags to the structure e.g. for string values. Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'pidl/lib/Parse/Pidl/NDR.pm')
-rw-r--r--pidl/lib/Parse/Pidl/NDR.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/NDR.pm b/pidl/lib/Parse/Pidl/NDR.pm
index ed7fdab94c..682715227f 100644
--- a/pidl/lib/Parse/Pidl/NDR.pm
+++ b/pidl/lib/Parse/Pidl/NDR.pm
@@ -1073,6 +1073,7 @@ my %property_list = (
"noprint" => ["FUNCTION", "TYPEDEF", "STRUCT", "UNION", "ENUM", "BITMAP", "ELEMENT", "PIPE"],
"nopython" => ["FUNCTION", "TYPEDEF", "STRUCT", "UNION", "ENUM", "BITMAP"],
"todo" => ["FUNCTION"],
+ "skip" => ["ELEMENT"],
# union
"switch_is" => ["ELEMENT"],