From Tamas Regos:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 12 May 2010 10:31:41 +0000 (10:31 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 12 May 2010 10:31:41 +0000 (10:31 +0000)
commit5731b9a54d247e1541036af74f588735fb4808e0
tree6a61a2a7121e9c465dadf79afd0385a335f9b1c1
parent88c3d8afc08ca47da96c488968f480feb3a34f06
From Tamas Regos:
WSLUA improvement.

The existing ProtoField.bool looks like the following:
ProtoField.bool(abbr, [name], [desc])

But checking any protocol dissector with bool protofield, it can be seen that
in C code we have more options than thru the WSLUA interface.

E.g.: {&hf_gtp_qos_sig_ind,{"Signalling Indication", "gtp.sig_ind", FT_BOOLEAN,
8, TFS(&gtp_sig_ind), GTP_EXT_QOS_SIG_IND_MASK, NULL, HFILL}},

So I've extended ProtoField.bool to have more options like this:
ProtoField.bool(abbr, [name], [bitfield], [true_false_string], [mask], [desc])

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4700

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32771 f5534014-38df-0310-8fa8-9805f1628bb7
epan/wslua/wslua.h
epan/wslua/wslua_proto.c
epan/wslua/wslua_tree.c