wireshark/plugins
Guy Harris d209115ba3 Add a "report_failure()" routine to allow dissectors to report arbitrary
errors to the user.  Use that, rather than "g_warning()", in the
Diameter dissector to report errors reading the dictionary.

Make the format argument to "simple_dialog()" a "const" pointer.

Fix up the read-error message in Tethereal to end with a newline.

If a simple dialog is requested before the main window or the
capture-control window is popped up, queue it up and pop the queued
messages up once the main or capture-control window is displayed.

svn path=/trunk/; revision=10616
2004-04-16 23:17:13 +00:00
..
acn Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
artnet Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
asn1 Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
ciscosm Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
docsis Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
enttec Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
giop Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
gryphon Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
irda Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
lwres Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
megaco Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
mgcp Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
pcli Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
rdm Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
rlm Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
rtnet Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
rudp Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
v5ua Add support for plugin dissectors on cygwin builds, by adding the following 2004-04-14 22:13:28 +00:00
.cvsignore xyzzy 2003-09-29 19:32:14 +00:00
Makefile.am From Duncan Sargeant: Cisco SS7 RUDP, RLM, and Session Management 2004-03-25 11:21:07 +00:00
Makefile.nmake From Lars Roland: have "make clean" and "make distclean" clean up the 2004-03-30 18:45:04 +00:00
README.interface From Matthijs Melchior: generate all declarations and definitions for 2003-07-18 03:02:12 +00:00
Xass-list Add a "report_failure()" routine to allow dissectors to report arbitrary 2004-04-16 23:17:13 +00:00
Xplugin_api.c Add a "report_failure()" routine to allow dissectors to report arbitrary 2004-04-16 23:17:13 +00:00
Xplugin_api.h Add a "report_failure()" routine to allow dissectors to report arbitrary 2004-04-16 23:17:13 +00:00
Xplugin_api_decls.h Add a "report_failure()" routine to allow dissectors to report arbitrary 2004-04-16 23:17:13 +00:00
Xplugin_table.h Add a "report_failure()" routine to allow dissectors to report arbitrary 2004-04-16 23:17:13 +00:00
plugin_api.c From Matthijs Melchior: generate all declarations and definitions for 2003-07-18 03:02:12 +00:00
plugin_api.h Make "epan_init()" take, as additional arguments, pointers to routines 2004-03-23 21:19:58 +00:00
plugin_api_decls.h From Matthijs Melchior: generate all declarations and definitions for 2003-07-18 03:02:12 +00:00
plugin_api_defs.h Removed trailing whitespaces from .h and .c files using the 2002-08-28 20:41:00 +00:00
plugin_api_list.c Add a "report_failure()" routine to allow dissectors to report arbitrary 2004-04-16 23:17:13 +00:00
plugin_gen.py The Python 1.5.2 I have installed didn't seem to like "+=", so use "x = 2003-08-23 07:34:31 +00:00
plugin_table.h From Matthijs Melchior: generate all declarations and definitions for 2003-07-18 03:02:12 +00:00

README.interface

README.interface

When developing a plugin in the Win32 world, it is nessecary
to explicitly export addresses from the main process to the
plugin.  ethereal does have a mechanism for this, and it uses
the file 'plugin_api_list.c' to list declarations for everything
that needs to be exported.

The build process of ethereal needs this list in 5 different forms.

These are generated by a Python script and saved in the X* files
in this directory.

I do not have a real C parser in Python to read the input file...,
so I have used 'gcc -aux-info xyzzy ...' to clean up any formatting
preferences in the input file and create the file named 'xyzzy'
that contains a neatly formatted list of declarations.  This list
can be parsed with a regular expression to extract the required
info.

Use the following procedure when updateing the plugin_api_list.c file:

nmake -f Makefile.nmake xyzzy
nmake -f Makefile.nmake

The 'xyzzy' makefile target is the only target that depends on gcc.
This can be done on a Unix machine or you can use cygwin gcc.