forked from osmocom/wireshark
cfcbb28671
Have dfilter_compile() take an additional gchar ** argument, pointing to a gchar * item that, on error, gets set to point to a g_malloc()ed error string. That removes one bit of global state from the display filter parser, and doesn't impose a fixed limit on the error message strings. Have fvalue_from_string() and fvalue_from_unparsed() take a gchar ** argument, pointer to a gchar * item, rather than an error-reporting function, and set the gchar * item to point to a g_malloc()ed error string on an error. Allow either gchar ** argument to be null; if the argument is null, no error message is allocated or provided. Change-Id: Ibd36b8aaa9bf4234aa6efa1e7fb95f7037493b4c Reviewed-on: https://code.wireshark.org/review/6608 Reviewed-by: Guy Harris <guy@alum.mit.edu> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
console.lua | ||
dtd_gen.lua | ||
init_wslua.c | ||
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 | ||
make-reg.pl | ||
make-taps.pl | ||
Makefile.am | ||
Makefile.nmake | ||
taps | ||
template-init.lua | ||
wslua.h | ||
wslua_dir.c | ||
wslua_dumper.c | ||
wslua_field.c | ||
wslua_file.c | ||
wslua_gui.c | ||
wslua_int64.c | ||
wslua_internals.c | ||
wslua_listener.c | ||
wslua_pinfo.c | ||
wslua_proto.c | ||
wslua_struct.c | ||
wslua_tree.c | ||
wslua_tvb.c | ||
wslua_util.c |