Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan Makefile.am Makefile.nmake column-utils
gram 2001/11/21 17:16:25 CST
Modified files:
epan Makefile.am Makefile.nmake column-utils.c
column-utils.h epan.c epan.h packet.c
packet.h packet_info.h
Removed files:
epan packet_info.c
Log:
Remove the global packet_info called "pi". Dissectors now only
access their own "pinfo". A packet_info is stored in epan_dissect_t,
which is created for the dissection of a single packet.
GUI functions which need to access the packet_info of the currently
selected packet used to use "pi"; now they use cfile.edt->pi. cfile's
"edt" member is the epan_dissect_t of the currently-selected packet.
The functionality of blank_packetinfo() was moved into
dissect_packet(), as that's the only place that called blank_packetinfo(),
after a spurious call to blank_packetinfo() was removed from
packet_list_select_cb().
Revision Changes Path
1.28 +1 -2 ethereal/epan/Makefile.am
1.19 +0 -1 ethereal/epan/Makefile.nmake
1.7 +18 -18 ethereal/epan/column-utils.c
1.4 +3 -2 ethereal/epan/column-utils.h
1.11 +2 -2 ethereal/epan/epan.c
1.8 +6 -2 ethereal/epan/epan.h
1.41 +25 -10 ethereal/epan/packet.c
1.40 +4 -3 ethereal/epan/packet.h
1.11 +1 -5 ethereal/epan/packet_info.h