Wireshark-commits: [Wireshark-commits] rev 32771: /trunk/epan/wslua/ /trunk/epan/wslua/: wslua.h ws

Date: Wed, 12 May 2010 10:31:47 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=32771

User: etxrab
Date: 2010/05/12 03:31 AM

Log:
 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

Directory: /trunk/epan/wslua/
  Changes    Path             Action
  +3 -3      wslua.h          Modified
  +122 -14   wslua_proto.c    Modified
  +1 -1      wslua_tree.c     Modified