path: root/register.h
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-12-29Add 'extern "C"' wrappers and #include guards to various header files.Gerald Combs1-0/+9
svn path=/trunk/; revision=40321
2011-10-02Removed the protocol registration updates in the splash screen for PythonStig Bjørlykke1-0/+2
dissectors, because it does not work as expected and causes an assert. Added generic splash updates for python register and handoff instead. This should fix bug 5431. svn path=/trunk/; revision=39221
2011-10-02Added register action for loading Lua plugins.Stig Bjørlykke1-0/+1
Removed an unused argument to wslua_init(). svn path=/trunk/; revision=39214
2007-05-25Squelch some qualifier (const vs. non-const) warnings.Guy Harris1-1/+1
svn path=/trunk/; revision=21938
2007-05-07Updated splash screen for Wireshark that shows the initialisation progress. Graeme Lunt1-2/+19
The splash screen shows a progress bar and a percentage complete - like the progress dialog. As dissectors are initialised and handed off the name is shown. However, the names of plugin dissectors are not shown. The update to the make-dissector-reg shell script has been tested, though I think generally the python version is used. svn path=/trunk/; revision=21716
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-04-01Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" asGuy Harris1-1/+0
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
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-05-03"register_all_tap_menus()" no longer exists.Guy Harris1-2/+1
svn path=/trunk/; revision=10775
2003-04-23Allow taps to have menu item registration routines; the menu itemGuy Harris1-4/+4
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-10-31From Ronnie Sahlberg: have a registration interface for tap listeners,Guy Harris1-2/+3
and generate the table of stuff to register from tap source files, so Tethereal doesn't need to know what tap listeners exist. Get rid of "tap-xxx.h" files, as they're now empty. Add "tethereal-tap-register.c" to the .cvsignore file, as it's a new generated file. Update "Makefile.nmake" to generate "tethereal-tap-register.c". Clean up "Makefile.am" and "Makefile.nmake" a bit. svn path=/trunk/; revision=6525
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2000-04-04Make "make-reg-dotc" generate a "register_all_protocol_handoffs()"Guy Harris1-1/+2
routine, which calls all routines found in the dissector source files with names that match " proto_reg_handoff_[a-z_0-9A-Z]*". Call "register_all_protocol_handoffs()" after calling "register_all_protocols()" - "register_all_protocols()" needs to be called first, so that all protocols can register their fields, because registering a dissector as being called if field "proto.port" is equal to N requires that "proto.port" be a registered field. Give DNS a handoff registration routine, and register its dissector to be called if "udp.port" is UDP_PORT_DNS; remove the registration of DNS from "packet-udp.c", and make "dissect_dns()" static (as nobody else need know that it exists). svn path=/trunk/; revision=1788
1999-10-20Automatically generate a function to call the register routines for allGuy Harris1-0/+31
protocols (idea shamelessly stolen from GDB). We require that the register routines 1) be located in "packet.c" or in one of the "packet-XXX.c" files; 2) have a name of the form "proto_register_XXX"; 3) take no argument, and return no value; 4) have their names appear in the source file either at the beginning of the line, or preceded only by "void " at the beginning of the line; and we require that "packet-XXX.c" files be added to "DISSECTOR_SOURCES" in "Makefile.am". svn path=/trunk/; revision=891