aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/h225_counter.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-583/+0
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518
2011-09-25We now always build with MAIN_MENU_USE_UIMANAGER, so remove all code usingJörg Mayer1-2/+0
the old ways except the proto_help.c file, which is kept for now in case someone is willing to reimplement the help menus using non-deprecated methods. svn path=/trunk/; revision=39137
2011-08-21Add missing newline at the end of the file.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=38632
2011-08-20Make register_dfilter_stat work for MAIN_MENU_USE_UIMANAGERAnders Broman1-0/+7
and add a bunch of menus. svn path=/trunk/; revision=38626
2011-07-21Fix almost all accesses to ->windowJörg Mayer1-1/+2
svn path=/trunk/; revision=38151
2011-06-05Rename the tap_dfilter_dlg.[ch] files to reflect that they can do moreGuy Harris1-1/+1
than just filters. svn path=/trunk/; revision=37560
2011-06-05Some work on generalizing the "display filter" tap parameter dialog boxGuy Harris1-2/+8
to more generally support fetching parameters for taps. svn path=/trunk/; revision=37559
2010-08-30Remove some unnecessary includes: a lot of things don't need globals.h and ↵Jeff Morriss1-14/+12
register.h svn path=/trunk/; revision=34017
2009-10-07From : Didier GautheronAnders Broman1-83/+90
gtktreeview patch for stat(not well tested, no traces). svn path=/trunk/; revision=30389
2009-07-08From Kovarththanan Rajaratnam:Anders Broman1-1/+1
No letter-shortcuts in Telephony menu. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3678 svn path=/trunk/; revision=29028
2009-06-21Change window_new() to dlg_window_new() and destroy the window with the top ↵Anders Broman1-1/+3
level window. svn path=/trunk/; revision=28796
2009-06-05Have tap listeners specify whether the "packet" routine requiresGuy Harris1-9/+7
a protocol tree; the column values. This includes stats-tree listeners. Have the routines to build the packet list, and to retap packets, honor those requirements. This means that cf_retap_packets() no longer needs an argument to specify whether to construct the column values or not, so get rid of that argument. This also means that there's no need for a tap to have a fake filter to ensure that the protocol tree will be built, so don't set up a fake "frame" filter. While we're at it, clean up some cases where "no filter" was represented as a null string rather than a null pointer. Have a routine to return an indication of the number of tap listeners with filters; use that rather than the global num_tap_filters. Clean up some indentation and some gboolean vs. gint items. svn path=/trunk/; revision=28645
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26641
2008-10-16Removed some "statement not reached" warnings.Stig Bjørlykke1-1/+0
svn path=/trunk/; revision=26480
2008-10-13Bring the windows to front when rescanning of packets are done.Stig Bjørlykke1-0/+1
svn path=/trunk/; revision=26438
2008-08-05Don't put (non-extern'd) prototypes for protect_thread_critical_region() andJeff Morriss1-3/+2
unprotect_thread_critical_region() in every module in gtk/: instead have those modules include main.h (which has the properly extern'd prototype). This should fix the link error on HP-UX described in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2702 svn path=/trunk/; revision=25933
2008-04-13sort #includes by directoriesUlf Lamping1-6/+7
svn path=/trunk/; revision=24968
2008-04-12move tap_dfilter_dlg.h from / to /gtk (and use the callback mechanism in ↵Ulf Lamping1-1/+1
main.c instead) svn path=/trunk/; revision=24956
2008-04-12where it's not necessary, remove #include "compat_macros.h"Ulf Lamping1-1/+0
svn path=/trunk/; revision=24922
2008-04-11last round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-2/+2
svn path=/trunk/; revision=24918
2008-04-11third round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-2/+2
svn path=/trunk/; revision=24914
2008-04-11OBJECT_..._DATA --> g_object_..._dataBill Meier1-1/+1
svn path=/trunk/; revision=24898
2007-10-18H.460 new dissector implemented (H.460.2-H.460.22)Tomas Kukosa1-1/+1
H.225 - change RysMessage_vals to h225_Rasmessage_vals - use #.PDU directive for H323-UserInformation and RasMessage instead of implementing it by hands - register RasMessage_PDU as "h225.ras" dissector for calling it from H.460 asn2wrs make PDUs exportable svn path=/trunk/; revision=23226
2007-10-05export more types from H.225.0 and H.245 which will be necessary for ↵Tomas Kukosa1-1/+1
H.460.x, H.323 (Annex M,R), H.501 svn path=/trunk/; revision=23069
2007-05-14missing includesTomas Kukosa1-0/+1
svn path=/trunk/; revision=21765
2006-05-22Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUIGuy Harris1-2/+2
strings, and function names. svn path=/trunk/; revision=18205
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-02-12Add userdata arguments to a bunch of stat initialization routines toGuy Harris1-2/+2
squelch compiler warnings. Tag one existing such argument as unused to squelch another warning. Fix up some indentation. svn path=/trunk/; revision=17261
2005-09-14Have cf_retap_packets() take an argument that indicates whether toGuy Harris1-1/+1
generate columns; use cf_retap_packets instead of cf_redissect_packets() when running taps (the general flow graph stat uses the Info column). svn path=/trunk/; revision=15793
2005-08-21As per a suggestion by Ulf Lamping, rename gtk_*.[ch] to gui_*.[ch], soGuy Harris1-1/+1
that it doesn't appear to be part of GTK+. svn path=/trunk/; revision=15501
2005-08-21"gtk_tap_dfilter_dlg_cb()" is no longer used outsideGuy Harris1-1/+0
gtk/tap_dfilter_dlg.c; don't export it. That means that gtk/tap_dfilter_dlg.h is no longer useful; get rid of it. Rename "gtk_tap_dfilter_dlg_cb()" to "tap_dfilter_dlg_cb()", as it's inside GTK+-specific code, so there's no need to distinguish it from non-GTK+ callbacks. Update some comments to reflect the name change and the new API for registering tap_dfilter_dlg stats. Make the AFP and SMB stats use the gtk/tap_dfilter_dlg.c stuff. svn path=/trunk/; revision=15496
2005-08-21Have "register_dfilter_stat()" add "..." to the menu item, as all menuGuy Harris1-1/+1
items registered with it pop up a dialog box before displaying the stat. Don't pass a name with "..." to it. Put "..." into other menu items that pop up a dialog box before displaying the stat; remove "..." from other menu items that don't. svn path=/trunk/; revision=15495
2005-08-21Add a "register_dfilter_stat()", to register stats that take a displayGuy Harris1-6/+3
filter as an argument on the command line and have a dialog box to enter the display filter through the GUI. Use it for all stats using "gtk_tap_dfilter_dlg_cb()". Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E" for the benefit of the declaration of "register_dfilter_stat()" in the top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk directory to "gtk_stat_menu.h", so as not to have two headers with the same name. Get rid of headers not declaring any functions not being used in the module. svn path=/trunk/; revision=15493
2005-08-20Rename epan/stat.[ch] to epan/stat_cmd_args.[ch] - it only deals withGuy Harris1-1/+1
implementing the "-z" command-line arguments, it doesn't deal with *all* issues for stats. svn path=/trunk/; revision=15483
2005-08-20renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical ↵Ulf Lamping1-1/+1
named ui_util.h in / dir svn path=/trunk/; revision=15465
2005-08-19Move the stats.[ch] stuff into epan, so plugins can use it.Guy Harris1-1/+1
svn path=/trunk/; revision=15429
2005-08-19Move the APIs for registering and processing "-z" command-line argumentsGuy Harris1-3/+4
and "Statistics" menu items into "stat.h" and "stat.c", to separate them from the core tapping APIs. A tap could conceivably not register as a "-z" command-line argument or "Statistics" menu item, and a stat could conceivably not be implemented as a tap, and dissectors that implement tapping points don't need the UI-related stuff from "stat.h", they just want the tap-related stuff in <epan/tap.h>. svn path=/trunk/; revision=15427
2005-08-06Squelch more const warnings (and fix some memory leaks that found).Guy Harris1-12/+12
_U_-ify some unused arguments, rather than assigning them to themselves. Un-constify one variable that gets assigned a mallocated pointer. Clean up indentation. svn path=/trunk/; revision=15236
2005-08-05More char -> const char warning fixes.Jörg Mayer1-1/+1
Removed (very few) casts that only change the warning message but don't remove it (with gcc-4). svn path=/trunk/; revision=15227
2005-04-16add 12 new toolbar/menu iconsUlf Lamping1-1/+1
add two toolbar toggle buttons add icons to various menu items create new Statistics telephony group and put telephony and alike protocols in it svn path=/trunk/; revision=14098
2005-04-01Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" asGuy Harris1-1/+1
it's used to register a callback for a tap listener invoked if the specified command line argument is specified to the "-z" flag. Move it, along with routines to: look up a "-z" argument in the table constructed by "register_tap_listener_cmd_arg()" and either save the full argument to "-z" and the corresponding listener if it's found or return a failure indication if it isn't; list the available tap listeners; call the "init" routines for the tap listeners saved in the table above; and have Ethereal and Tethereal use those routines. svn path=/trunk/; revision=13993
2005-02-04huge cleanup of capture file API (functions in file.c/file.h).Ulf Lamping1-1/+1
This includes: all functions in file.h now have a cf_ prefix, will have doxygen tags, will have the capture_file *cf as the first parameter and I tried to generalize the return values for non trivial functions. Hopefully, I didn't introduced any new bugs, as I had to change a lot of files... svn path=/trunk/; revision=13289
2005-01-01As we've made the tap_specific_data field of a tap_packet_t structure aGuy Harris1-2/+2
const pointer (so that we don't get complaints when we make the tap-specific data argument to "tap_queue_packet()" a const pointer, allowing dissectors to hand const data to a tap without a complaint), we should make the tap per-packet function take a const pointer as an argument as well. Do so. In some taps, use _U_, or actually use the argument, rather than sticking in dummy "X = X" assignments to fake use of parameters. (This means that the tap functions in question no longer have the notion that they act on a particular static structure wired in.) svn path=/trunk/; revision=12910
2004-12-30Change a function name in preparation for genereating H.245 and H.225 ↵Anders Broman1-1/+1
dissectors with asn2etrh svn path=/trunk/; revision=12871
2004-10-02removed ITU-T prefix from H225, so H.225 and H.323 are closer together.Ulf Lamping1-2/+2
If someone insists in using the ITU-T prefix, it should be applied to both protocols. svn path=/trunk/; revision=12183
2004-09-29Move the tap infrastructure to the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12128
2004-07-28From Lars Roland: yes, it probably *should* be "retap_packets()", so useGuy Harris1-2/+1
that instead of "redissect_packets()". svn path=/trunk/; revision=11548
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-1/+1
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-06-02move "extern GtkWidget *main_display_filter_widget" fromUlf Lamping1-3/+1
various stats files to gtkglobals.h svn path=/trunk/; revision=11073