wireshark/epan/wslua
Guy Harris 7cd6906056 Rename tvb_new_subset() to tvb_new_subset_length_caplen().
This emphasizes that there is no such thing as *the* routine to
construct a subset tvbuff; you need to choose one of
tvb_new_subset_remaining() (if you want a new tvbuff that contains
everything past a certain point in an existing tvbuff),
tvb_new_subset_length() (if you want a subset that contains everything
past a certain point, for some number of bytes, in an existing tvbuff),
and tvb_new_subset_length_caplen() (for all other cases).

Many of the calls to tvb_new_subset_length_caplen() should really be
calling one of the other routines; that's the next step.  (This also
makes it easier to find the calls that need fixing.)

Change-Id: Ieb3d676d8cda535451c119487d7cd3b559221f2b
Reviewed-on: https://code.wireshark.org/review/19597
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-01-10 06:19:37 +00:00
..
.editorconfig Add EditorConfig settings for most C files 2016-03-08 10:46:35 +00:00
CMakeLists.txt cmake: make WERROR_COMMON_FLAGS a normal string 2016-09-30 20:08:02 +00:00
Makefile.am Remove Nmake build system 2016-06-15 19:21:57 +00:00
console.lua Lua: Switch URL to documentation to HTTPS 2015-11-26 15:45:07 +00:00
dtd_gen.lua
init_wslua.c cmake,wslua,wsutil: load files from run/ instead of source tree 2016-12-20 13:16:57 +00:00
init_wslua.h
lrexlib.c
lrexlib.h
lrexlib_algo.h
lrexlib_glib.c
lrexlib_glib_f.c
lua_bitop.c
lua_bitop.h
make-init-lua.pl Lua: Add string types and byte seperators support. 2016-12-20 13:32:15 +00:00
make-reg.pl
make-taps.pl make-taps.pl: Remove perl >= 5.14 requirement 2016-04-17 01:34:56 +00:00
taps Create a way to register "capture" dissectors. 2015-12-13 14:34:13 +00:00
template-init.lua Lua: Add string types and byte seperators support. 2016-12-20 13:32:15 +00:00
wslua.h wslua: prepare for split class/instance (meta)methods 2016-10-18 20:41:34 +00:00
wslua_address.c lua: Added support for FT_IPv6 fields 2016-10-25 19:18:35 +00:00
wslua_byte_array.c wslua: fix errors in documentation, add notational conventions 2016-10-18 04:09:14 +00:00
wslua_capture_info.c Redo the block options APIs. 2016-07-14 23:02:39 +00:00
wslua_column.c wslua: Drop unused "push_code" macro parameter 2016-06-14 18:32:51 +00:00
wslua_dir.c cmake,wslua,wsutil: load files from run/ instead of source tree 2016-12-20 13:16:57 +00:00
wslua_dissector.c Convert range API to always use wmem memory. 2017-01-07 00:44:10 +00:00
wslua_dumper.c wslua: Drop unused "push_code" macro parameter 2016-06-14 18:32:51 +00:00
wslua_field.c wslua: fix errors in documentation, add notational conventions 2016-10-18 04:09:14 +00:00
wslua_file.c wslua: fix wslua file test failure 2016-10-02 16:47:54 +00:00
wslua_file_common.c
wslua_file_common.h
wslua_file_handler.c Lua: Fix some typos. 2016-12-21 13:31:51 +00:00
wslua_frame_info.c Use ws_g_warning in wslua. 2016-07-26 17:15:26 +00:00
wslua_gui.c Use ws_g_warning in wslua. 2016-07-26 17:15:26 +00:00
wslua_int64.c wslua: Drop unused "push_code" macro parameter 2016-06-14 18:32:51 +00:00
wslua_internals.c wslua: prepare for split class/instance (meta)methods 2016-10-18 20:41:34 +00:00
wslua_listener.c Use ws_g_warning in wslua. 2016-07-26 17:15:26 +00:00
wslua_nstime.c wslua: Drop unused "push_code" macro parameter 2016-06-14 18:32:51 +00:00
wslua_pinfo.c wslua: prepare for split class/instance (meta)methods 2016-10-18 20:41:34 +00:00
wslua_pinfo_common.h
wslua_pref.c Convert range API to always use wmem memory. 2017-01-07 00:44:10 +00:00
wslua_proto.c lua: Allow proto:register_heuristic to be used on multiple list names 2016-11-13 17:48:30 +00:00
wslua_proto_expert.c Add PI_DEPRECATED expert info group 2016-08-05 13:59:25 +00:00
wslua_proto_field.c Lua: Add string types and byte seperators support. 2016-12-20 13:32:15 +00:00
wslua_struct.c Include config.h first, for large-file-related #defines. 2016-12-02 21:06:24 +00:00
wslua_tree.c lua: Allow FT_ETHER protofields to be inserted in TreeItems. 2016-11-22 13:26:19 +00:00
wslua_tvb.c Rename tvb_new_subset() to tvb_new_subset_length_caplen(). 2017-01-10 06:19:37 +00:00
wslua_util.c cmake,wslua,wsutil: load files from run/ instead of source tree 2016-12-20 13:16:57 +00:00