aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/rpc_stat.c
AgeCommit message (Collapse)AuthorFilesLines
2003-06-22From Lars Roland: Fix the service response time functions to work with GTK2.Gerald Combs1-3/+5
svn path=/trunk/; revision=7911
2003-06-21"gtk_window_set_default_size()" takes a GtkWindow *, not a GtkWidget *,Guy Harris1-2/+2
as its first argument. svn path=/trunk/; revision=7909
2003-06-21Update ONC-RPC response time tap to use the new helper functionRonnie Sahlberg1-183/+21
that displays the data using a CList. Renamed RTT to SRT (Service Response Time) svn path=/trunk/; revision=7904
2003-04-23Make "register_tap_listener()" return NULL on success and a "GString *"Guy Harris1-6/+6
referring to a GString containing an error message on failure, and don't have it print anything on failure. If it fails, have its Tethereal-tap callers print an error message before exiting, and have its Ethereal callers pop up a dialog box with the error (except in cases where the failure is guaranteed not to be the user's fault, and where we exit, in which case we just print an error message before we exit). In all cases, the error message includes the text of the GString. Fix a scanf format string in the DCE RPC statistics Ethereal tap, so that it properly skips the comma before the filter string. Fix some Ethereal error messages not to say "tethereal". svn path=/trunk/; revision=7542
2003-04-23Have "register_tap_menu_item()" create submenus as necessary for a menuGuy Harris1-3/+9
item. Convert all Ethereal (GUI) taps to use "register_tap_menu_item()" rather than having hardcoded menu items in "gtk/menu.c". svn path=/trunk/; revision=7541
2003-04-23Allow taps to have menu item registration routines; the menu itemGuy Harris1-2/+2
registration routines, for taps with menu items (taps that can be run from the "Tools->Statistics" menu), create the menu item for the tap. "make-tapreg-dotc" constructs a "register_all_tap_menus()" function that calls all the tap menu item registration routines it finds, and Ethereal calls that routine after the main window has been constructed (so that the main menu exists, as the menu items are added to it). (Tethereal doesn't call it.) Get rid of the "menu" and "menu_init" arguments to "register_ethereal_tap"; the menu item is registered in the tap's menu item registration routine, not in its main registration routine. Have the RTP GUI tap register its menu item that way, rather than by having it compiled into "gtk/menu.c". (We're not ready yet to have taps whose menu items are under a submenu register themselves in that fashion, as "register_tap_menu_item()" can't yet create submenus.) svn path=/trunk/; revision=7540
2002-11-11Use gtk1/gtk2 compatibility macros to reduce #ifdefs.Olivier Abad1-12/+11
svn path=/trunk/; revision=6610
2002-11-06First step in creating an API to register TAPs for use with ethereal instead ↵Ronnie Sahlberg1-5/+29
of hardcoding them in main.c/menu.c This adds functions to register the command line arguments to use the API in the same way as is done for tethereal. Later it may be extended to also register the GUI/Menu entry point to ethereal using this api but that iwll be later since the changes required to menu.c are not as intrusive as the main.c command line parsing ones were. Some of the latest changes (before this checkin) has made ethereal to produce lots of GTK errors when starting up the extension windows. They were there before this checking but will be investigated. svn path=/trunk/; revision=6566
2002-10-23From Ronnie Sahlberg: make the tap listeners for gtk and gtk2 redissectGuy Harris1-2/+3
the packet list immediately when the tap is started. svn path=/trunk/; revision=6488
2002-10-23From Ronnie Sahlberg: pass a pointer to the epan_dissect_t for a packetGuy Harris1-2/+2
to taps. svn path=/trunk/; revision=6487
2002-09-27Update tethereal to put the filter string in the statistics table for RPC_STAT.Ronnie Sahlberg1-11/+46
Update gtk and gtk2 versions of RPC_STAT to allow a filter string to be specified on both the command line as well as the GUI. Update the documentation for ethereal to reflect this. svn path=/trunk/; revision=6343
2002-09-07Tap system supprot for Gtk1 and both rpc_stat and rpc_progsRonnie Sahlberg1-0/+549
Gtk1 is still single threaded so if the tap extensions need to do something time consuming or cpu intensive, then the main application will suffer. It is better than nothing. svn path=/trunk/; revision=6215