Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk colors.c colors.h decode_as_dlg.c follow
gram 2001/12/18 13:09:09 CST
Modified files:
gtk colors.c colors.h decode_as_dlg.c
follow_dlg.c main.c menu.c packet_win.c
print_dlg.c proto_draw.c
Log:
Provide for per-protocol-tree data in the proto_tree code.
Put a hash-table of "interesting" fields in the per-proto-tree data.
The dfilter code records which fields/protocols are "interesting" (by which
I mean, their value or existence is checked). Thus, the proto_tree routines
can create special arrays of field_info*'s that are ready for the dfilter
engine to use during a filter operation.
Also store the "proto_tree_is_visible" boolean, renamed "visible", in
the per-proto-tree data.
Move epan_dissect_t to its own header file to make #include dependencies
easier to handle.
Provide epan_dissect_fill_in_columns(), which accepts just the epan_dissect_t*
as an argument.
epan_dissect_new() needs to be followed by epan_dissect_run() for the
dissection to actually take place. Between those two calls,
epan_dissect_prime_dfilter() can be run 0, 1, or multiple times in order to
prime the empty proto_tree with the "intersesting" fields from the dfilter_t.
Revision Changes Path
1.17 +20 -1 ethereal/gtk/colors.c
1.5 +5 -1 ethereal/gtk/colors.h
1.21 +2 -1 ethereal/gtk/decode_as_dlg.c
1.16 +2 -1 ethereal/gtk/follow_dlg.c
1.219 +2 -1 ethereal/gtk/main.c
1.58 +2 -1 ethereal/gtk/menu.c
1.30 +5 -3 ethereal/gtk/packet_win.c
1.27 +2 -1 ethereal/gtk/print_dlg.c
1.42 +2 -2 ethereal/gtk/proto_draw.c