Wireshark-commits: [Wireshark-commits] rev 42621: /trunk/epan/ /trunk/epan/: libwireshark.def proto
Date: Mon, 14 May 2012 00:49:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42621

User: guy
Date: 2012/05/13 05:49 PM

Log:
 Get rid of remaining Booleans-as-encoding-arguments in
 proto_tree_add_item() calls.
 
 Add new "add_packet_field" method to the TreeItem class, taking a
 protocol field (*not* a protocol), TvbRange, and encoding value as
 arguments.
 
 Add the ENC_ values to init.lua.  Make them all hex #defines so
 make-init-lua.pl can easily extract them.
 
 Export tvb_unicode_strsize() for use by Lua (and elsewhere as desired). 
 Note that it handles UTF-16 and UTF-8, and fix the comment to note that
 its count of hexadectets *does* include the null terminator (that's what
 the code does).

Directory: /trunk/epan/
  Changes    Path                Action
  +1 -0      libwireshark.def    Modified
  +10 -8     proto.h             Modified
  +3 -3      tvbuff.c            Modified
  +8 -0      tvbuff.h            Modified

Directory: /trunk/epan/wslua/
  Changes    Path                 Action
  +24 -7     make-init-lua.pl     Modified
  +2 -0      template-init.lua    Modified
  +87 -10    wslua_tree.c         Modified