Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk decode_as_dlg.c follow_dlg.c main.c main

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez Jr. <gram@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Nov 2001 17:16:28 -0600 (CST)
gram        2001/11/21 17:16:27 CST

  Modified files:
    gtk                  decode_as_dlg.c follow_dlg.c main.c 
                         main.h menu.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.13      +16 -16    ethereal/gtk/decode_as_dlg.c
  1.14      +3 -3      ethereal/gtk/follow_dlg.c
  1.212     +1 -4      ethereal/gtk/main.c
  1.24      +1 -2      ethereal/gtk/main.h
  1.56      +2 -2      ethereal/gtk/menu.c