wireshark/epan/wslua
Stig Bjørlykke 82e0b65038 Added a private hash table to transport string values between dissectors.
This works between C and Lua.

In C the pinfo.private_table pointer must be initialized using
g_hash_table_new (g_str_hash, g_str_equal);

In Lua the values are available using pinfo.private.<key>, and the
table is created automatically on first usage.  It's possible to use
this datatypes: nil, boolean, number and string, but every value
is converted to string so numbers must be converted using tonumber()
on usage.  Boolean is either nil or an empty string.

svn path=/trunk/; revision=39461
2011-10-18 17:46:00 +00:00
..
CMakeLists.txt Remaining fixes for 2010-05-28 11:48:29 +00:00
Makefile.am Drop init_wslua.h from EXTRA_DIST 2010-12-09 15:47:23 +00:00
Makefile.nmake A bit of Windows makefiles rework and cleanup: 2011-02-02 01:19:53 +00:00
console.lua Add a Manual entry to the Lua menu. 2011-01-31 21:13:20 +00:00
dtd_gen.lua Update Lua menu defines and put Lua functions in Tools. 2009-06-11 13:08:06 +00:00
init_wslua.c Added a private hash table to transport string values between dissectors. 2011-10-18 17:46:00 +00:00
lua_bitop.c Added Lua BitOp, made by Mike Pall. 2009-06-16 05:26:46 +00:00
make-init-lua.pl Remaining fixes for 2010-05-28 11:48:29 +00:00
make-reg.pl Include config.h only from .c files. 2011-04-21 13:13:39 +00:00
make-taps.pl Include config.h only from .c files. 2011-04-21 13:13:39 +00:00
taps From Felix Kraemer: fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5694 : 2011-04-05 02:18:28 +00:00
template-init.lua Load console.lua and dtd-gen.lua from an explicit path. 2011-08-08 19:10:19 +00:00
wslua.h Added a private hash table to transport string values between dissectors. 2011-10-18 17:46:00 +00:00
wslua_dumper.c Include config.h only from .c files. 2011-04-21 13:13:39 +00:00
wslua_field.c Introduce NSTime Lua object to handle nstime_t. 2011-08-19 08:36:02 +00:00
wslua_gui.c From bug 6057: 2011-06-28 09:11:18 +00:00
wslua_listener.c Include config.h only from .c files. 2011-04-21 13:13:39 +00:00
wslua_pinfo.c Added a private hash table to transport string values between dissectors. 2011-10-18 17:46:00 +00:00
wslua_proto.c Add a method to fetch protocol description. 2011-08-25 18:52:54 +00:00
wslua_tree.c Introduce NSTime Lua object to handle nstime_t. 2011-08-19 08:36:02 +00:00
wslua_tvb.c From Alex Vallee via bug 6346: 2011-10-02 17:02:10 +00:00
wslua_util.c Include config.h only from .c files. 2011-04-21 13:13:39 +00:00