wireshark/epan/wslua
Guy Harris 6db77b000f Allow wtap_read() and wtap_seek_read() to return records other than packets.
Add a "record type" field to "struct wtap_pkthdr"; currently, it can be
REC_TYPE_PACKET, for a record containing a packet, or
REC_TYPE_FILE_TYPE_SPECIFIC, for records containing file-type-specific
data.

Modify code that reads packets to be able to handle non-packet records,
even if that just means ignoring them.

Rename some routines to indicate that they handle more than just
packets.

We don't yet have any libwiretap code that supplies records other than
REC_TYPE_PACKET or that supporting writing records other than
REC_TYPE_PACKET, or any code to support plugins for handling
REC_TYPE_FILE_TYPE_SPECIFIC records; this is just the first step for bug
8590.

Change-Id: Idb40b78f17c2c3aea72031bcd252abf9bc11c813
Reviewed-on: https://code.wireshark.org/review/1773
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-05-24 18:31:25 +00:00
..
CMakeLists.txt Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.am Support out-of-source checkapi 2014-04-25 04:23:46 +00:00
Makefile.nmake Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
console.lua Update Free Software Foundation address. 2012-06-28 22:56:06 +00:00
dtd_gen.lua Update Free Software Foundation address. 2012-06-28 22:56:06 +00:00
init_wslua.c Add paths to Lua package.path so require works for user scripts 2014-03-27 05:03:39 +00:00
init_wslua.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
lrexlib.c Fix some compiler issues on windows with Lua 5.2 2014-03-29 12:36:48 +00:00
lrexlib.h Fix some compiler issues on windows with Lua 5.2 2014-03-29 12:36:48 +00:00
lrexlib_algo.h Fix some compiler issues on windows with Lua 5.2 2014-03-29 12:36:48 +00:00
lrexlib_glib.c Fix some compiler issues on windows with Lua 5.2 2014-03-29 12:36:48 +00:00
lrexlib_glib_f.c Replace "see copyright notice in" message with full license 2014-03-10 16:42:20 +00:00
lua_bitop.c Fix bug 9720 'Lua: bitop library is missing in Lua 5.2' 2014-02-04 22:01:01 +00:00
lua_bitop.h In a source file that defines external functions, the header file that 2014-01-13 22:06:12 +00:00
make-init-lua.pl Allow wtap_read() and wtap_seek_read() to return records other than packets. 2014-05-24 18:31:25 +00:00
make-reg.pl Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
make-taps.pl Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
taps Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
template-init.lua Allow wtap_read() and wtap_seek_read() to return records other than packets. 2014-05-24 18:31:25 +00:00
wslua.h Revert "Refactor Wiretap" 2014-05-09 05:21:01 +00:00
wslua_dir.c Add various functions for Lua directory handling and path info 2014-03-26 07:37:34 +00:00
wslua_dumper.c Allow wtap_read() and wtap_seek_read() to return records other than packets. 2014-05-24 18:31:25 +00:00
wslua_field.c Replace linked list of proto fields with array 2014-04-21 15:37:06 +00:00
wslua_file.c Allow wtap_read() and wtap_seek_read() to return records other than packets. 2014-05-24 18:31:25 +00:00
wslua_gui.c Enhance Lua API doc generator and add more API info 2014-03-25 05:30:11 +00:00
wslua_int64.c Remove $Id$ in wslua 2014-04-04 07:25:27 +00:00
wslua_internals.c Remove $Id$ in wslua 2014-04-04 07:25:27 +00:00
wslua_listener.c Enhance Lua API doc generator and add more API info 2014-03-25 05:30:11 +00:00
wslua_pinfo.c Some routine name changes. 2014-04-19 19:07:06 +00:00
wslua_proto.c Allow chained calls with Lua TreeItem functions, and fix a couple of minor errors. 2014-03-28 04:27:43 +00:00
wslua_struct.c Allow chained calls with Lua TreeItem functions, and fix a couple of minor errors. 2014-03-28 04:27:43 +00:00
wslua_tree.c Add tvb_get and proto_tree_add for string-encoded byte arrays 2014-04-17 14:04:19 +00:00
wslua_tvb.c Add tvb_get and proto_tree_add for string-encoded byte arrays 2014-04-17 14:04:19 +00:00
wslua_util.c Add various functions for Lua directory handling and path info 2014-03-26 07:37:34 +00:00