aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2001-11-13Hopefully the last time I have to change my e-mail address.Gilbert Ramirez4-8/+8
svn path=/trunk/; revision=4199
2001-11-04Include "conversation.h", as the plugin API now includes the routines toGuy Harris1-1/+2
create and find conversations. svn path=/trunk/; revision=4155
2001-11-04Additional routines made available to plugins, from Tomas Kukosa.Guy Harris4-13/+51
svn path=/trunk/; revision=4150
2001-11-04In "plugin_api_defs.h", just doGuy Harris2-161/+145
addr_XXX p_XXX; for all the declarations, to simplify things, as per Tomas Kukosa's suggestion. Fix a couple of comments. svn path=/trunk/; revision=4149
2001-11-01Fix some declarations to match the signatures of "tvb_find_guint8()" andGuy Harris2-6/+6
"tvb_pbrk_guint8()". svn path=/trunk/; revision=4121
2001-10-31Sigh. Well, if you make the function declarations external, that meansGuy Harris6-3/+205
that they're external when the plugin is compiled, and there's no definition to satisfy the extern, so plugins fail to compile. Add a "plugins/plugin_api_defs.h" header file that defines them, and include that in one (and only one) source file for a particular plugin. svn path=/trunk/; revision=4117
2001-10-29Stop using "tvb_get_ntohll()" and "%llX" in the BOOTP dissector, as theGuy Harris3-27/+3
former depends on having "guint64" and the latter depends on "%ll[douxX]" being what's used to print 64-bit integers, and there are platforms on which Etheeal runs that don't have "guint64" or that don't use "%ll[douxX]" to print 64-bit integers. Get rid of the routines to extract 64-bit integers into "gint64"s and "guint64"s, as per Ronnie Sahlberg's suggestion, to discourage people from writing code that won't work on all platforms; they should be using FT_UINT64, or the routines in "int-64bit.c", instead. svn path=/trunk/; revision=4102
2001-10-17Enable building of the coseventcomm plugin on Win32.Gilbert Ramirez4-18/+106
Some of these changs are from Frank Singleton, some are mine. svn path=/trunk/; revision=4035
2001-09-14Make the resolution for time values be nanoseconds rather thanGuy Harris1-4/+4
microseconds. Fix some "signed vs. unsigned" comparison warnings. svn path=/trunk/; revision=3935
2001-09-04From Thomas Wittwer: add "prefs_register_string_preference()" to theGuy Harris3-3/+8
list of functions available to plugins. svn path=/trunk/; revision=3906
2001-08-29Add a "proto_item_append_text()" routine, which is likeGuy Harris3-3/+7
"proto_item_set_text()" except that it appends the result of the formatting to the item's current text, rather than replacing the item's current text. Use it in the DNS dissector. svn path=/trunk/; revision=3880
2001-08-28Get rid of "proto_tree_add_notext()" - if you create a subtree using it,Guy Harris3-13/+3
but, before you set the text, you throw an exception while putting stuff under the subtree, you end up with an absolutely blank protocol tree item, which is really gross. Instead of calling "proto_tree_add_notext()", call "proto_tree_add_text()" with at least a minimal label - yes, it does mean you do some work that will probably be unnecessary, but, absent a scheme to arrange to do that work if it *is* necessary (e.g., catching exceptions), the alternative is an ugly protocol tree display. svn path=/trunk/; revision=3879
2001-07-22Add a bunch of routines used by GIOP plugins to the plugin addressGuy Harris3-6/+41
table. svn path=/trunk/; revision=3764
2001-07-21Update .cvsignore.Guy Harris1-0/+3
svn path=/trunk/; revision=3760
2001-07-20CosEventComm dissector, from Frank Singleton.Guy Harris4-4/+867
svn path=/trunk/; revision=3756
2001-07-20Get rid of zero-length arrays.Guy Harris1-0/+4
svn path=/trunk/; revision=3753
2001-07-20Added .cvsignoreEd Warnicke1-0/+19
svn path=/trunk/; revision=3742
2001-07-19GIOP CosNaming support, from Frank Singleton.Guy Harris12-4/+2359
svn path=/trunk/; revision=3740
2001-07-10Add some additional items to .cvsignore files, for new files built whenGuy Harris2-0/+2
compiling plugins for statically-linked binaries. svn path=/trunk/; revision=3678
2001-07-10Fixed the make dist problem.Ed Warnicke2-4/+4
svn path=/trunk/; revision=3676
2001-07-09C sources are in $(srcdir) and not the current directoryUwe Girlich2-4/+4
svn path=/trunk/; revision=3671
2001-07-08Fixed the {tethereal,ethereal}_static targets so that theEd Warnicke5-21/+53
static binaries have the dissectors provided in the plugins available. svn path=/trunk/; revision=3665
2001-07-08Some additional cleanup.Ed Warnicke2-2/+5
svn path=/trunk/; revision=3660
2001-07-05Fixed problem with handling empty parameters.Ed Warnicke2-5/+3
Problem was pointed out by Alejandro Vaquero who provided a fix. Implemented a slightly different fix. svn path=/trunk/; revision=3653
2001-07-04Some minor changes to allow the mgcp plugin to be compiledEd Warnicke1-8/+8
into a static binary if desired. svn path=/trunk/; revision=3651
2001-06-18From Joerg Mayer: explicitly fill in all members of aGuy Harris2-43/+43
"header_field_info" structure, including the ones that are later set by the routines to register fields. svn path=/trunk/; revision=3561
2001-04-25Get rid of support for non-tvbuffified plugin dissectors.Guy Harris3-12/+3
svn path=/trunk/; revision=3385
2001-04-25Make "col_set_str()" and "tvb_reported_length_remaining()" available inGuy Harris3-3/+11
plugins. svn path=/trunk/; revision=3384
2001-04-25Tvbuffify the Gryphon dissector.Guy Harris3-788/+892
Make all the routines for dissecting particular requests and responses static. svn path=/trunk/; revision=3380
2001-04-23Signed vs. unsigned fixes from Joerg Mayer.Guy Harris1-15/+19
svn path=/trunk/; revision=3372
2001-04-23Get rid of NullTVB references.Guy Harris1-3/+3
svn path=/trunk/; revision=3362
2001-04-02"tvb_get_ptr()" now returns a "const guint8 *", not a "guint8 *"; adjustGuy Harris1-2/+2
the plugin-API declarations appropriately. svn path=/trunk/; revision=3242
2001-03-23Update the version of the MGCP plugin.Guy Harris1-1/+1
svn path=/trunk/; revision=3164
2001-03-22Get rid of no-longer-used "tvb_section_length()" routine.Guy Harris1-14/+1
svn path=/trunk/; revision=3156
2001-03-15Patch from Ed Warnicke.Olivier Abad1-30/+14
svn path=/trunk/; revision=3135
2001-03-06Add some win32-specific targets in .cvsignore's.Gilbert Ramirez1-5/+5
Replace 'nmake' with $(MAKE) /$(MAKEFLAGS), from Mike Frisch. svn path=/trunk/; revision=3108
2001-03-04Updates from Ed Warnicke.Guy Harris2-14/+21
svn path=/trunk/; revision=3103
2001-03-04Update from Ed Warnicke.Guy Harris2-40/+208
svn path=/trunk/; revision=3102
2001-01-28Add "col_clear()" to the list of functions in the transfer vector forGuy Harris3-3/+7
plugins, as the MGCP dissector uses it. Don't set pointers to "dfilter_init()" and "dfilter_cleanup()" in that transfer vector, as there *aren't* any pointers to them in the transfer vector. svn path=/trunk/; revision=2949
2001-01-26Clean up the dissector registration up a bit - arrange that all pluginsGuy Harris4-21/+4
be loaded and their initialization routines called in right after we call the initialization routines for built-in dissectors, but don't call their handoff registration routines yet, and then call the handoff registration routines right after calling the handoff registration routines for built-in dissectors. Do all that in "proto_init()", rather than "epan_init()". That way, we call all dissector registration routines together, and then call all dissector handoff registration routines together; all the registration routines are called before any handoff registration routines, as is required, and, as "proto_init()" is called by "epan_init()" before "dfilter_init()" is called, all filterable fields have been registered before "dfilter_init()" is called, and no plugins have to call "dfilter_init()" themselves to get their fields registered. Remove pointers to "dfilter_init()" and "dfilter_cleanup()" from the plugin address table, as plugins shouldn't be calling them any more, and remove calls to them from plugins. svn path=/trunk/; revision=2940
2001-01-22Remove more "CHECK_DISPLAY_AS_DATA()" calls and "pinfo->current_proto ="Guy Harris1-5/+10
statements. Move the setting of the Protocol column in various dissectors before anything is fetched from the packet, and also clear the Info column at that point in those and some other dissectors, so that if an exception is thrown, the columns don't reflect the previous protocol. svn path=/trunk/; revision=2932
2001-01-13Tvbuffify the PIM dissector.Guy Harris3-8/+3
It was the last dissector that used "old_call_dissector()", and tvbuffifying it got rid of that, so get rid of "old_call_dissector()". svn path=/trunk/; revision=2892
2001-01-12Increment module version.Gilbert Ramirez2-2/+2
svn path=/trunk/; revision=2884
2001-01-09Add an additional "protocol index" argument to "{old_}dissector_add()",Guy Harris3-12/+17
"{old_}heur_dissector_add()", "{old_}conv_dissector_add()", and "register_dissector()", so that an entry in those tables has associated with it the protocol index of the protocol the dissector handles (or -1, if there is no protocol index for it). This is for future use in a number of places. (Arguably, "proto_register_protocol()" should take a dissector pointer as an argument, but 1) it'd have to handle both regular and heuristic dissectors; 2) making it take either a "dissector_t" or a union of that and a "heur_dissector_t" introduces some painful header-file interdependencies so I'm punting on that for now. As with other Ethereal internal APIs, these APIs are subject to change in the future, at least until Ethereal 1.0 comes out....) svn path=/trunk/; revision=2849
2001-01-04Doesn't need #include "dfilter.h"Gilbert Ramirez1-2/+1
svn path=/trunk/; revision=2824
2001-01-03Add a new "prefs_register_protocol()" routine, which is likeGuy Harris4-16/+16
"prefs_register_module()" except that it takes a protocol index as returned by "proto_register_protocol()" as its first argument, rather than taking two character strings as arguments as its first two arguments, and uses the protocol's abbreviation as the name to use for preferences in the preferences file and the "-o" flag and uses the protocol's short name as the name to use in the tabs in the "Edit->Preferences" window. svn path=/trunk/; revision=2812
2001-01-03Have "proto_register_protocol()" build a list of data structures forGuy Harris1-2/+2
protocols, in addition to adding structures to the list of filterable fields. Give it an extra argument that specifies a "short name" for the protocol, for use in such places as pinfo->current_proto; the dialog box for constructing filters; the preferences tab for the protocol; and so on (although we're not yet using it in all those places). Make the preference name that appears in the preferences file and the command line for the DIAMETER protocol "diameter", not "Diameter"; the convention is that the name in question be all-lower-case. Make some routines and variables that aren't exported static. Update a comment in the ICP dissector to make it clear that the dissector won't see fragments other than the first fragment of a fragmented datagram. svn path=/trunk/; revision=2811
2001-01-03Have "proto_register_protocol()" build a list of data structures forGuy Harris2-6/+7
protocols, in addition to adding structures to the list of filterable fields. Give it an extra argument that specifies a "short name" for the protocol, for use in such places as pinfo->current_proto; the dialog box for constructing filters; the preferences tab for the protocol; and so on (although we're not yet using it in all those places). Make the preference name that appears in the preferences file and the command line for the DIAMETER protocol "diameter", not "Diameter"; the convention is that the name in question be all-lower-case. Make some routines and variables that aren't exported static. Update a comment in the ICP dissector to make it clear that the dissector won't see fragments other than the first fragment of a fragmented datagram. svn path=/trunk/; revision=2810
2000-12-28Updates from Ed Warnicke.Guy Harris3-30/+49
svn path=/trunk/; revision=2793
2000-12-25Preferences shouldn't supposed to have blanks in their names - it canGuy Harris1-15/+15
make it a bit of a pain to set their values on the command line (you have to quote the name). Use underscores instead. Give the gateway and callagent port preferences different names. Fix up the text descriptions and labels for those preferences. svn path=/trunk/; revision=2782