wireshark/plugins
Olivier Biot 4459d9f0a9 Add support for plugin dissectors on cygwin builds, by adding the following
line to every Makefile.am file for a given plugin XXX:

	XXX_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

This way symbols defined in libethereal and GLib are resolved when linking
the plugin dissector modules.

svn path=/trunk/; revision=10601
2004-04-14 22:13:28 +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 Update for Tomas Kukosa's new APIs to get the parent and the 2004-03-26 00:01:32 +00:00
Xplugin_api.c Update for Tomas Kukosa's new APIs to get the parent and the 2004-03-26 00:01:32 +00:00
Xplugin_api.h Update for Tomas Kukosa's new APIs to get the parent and the 2004-03-26 00:01:32 +00:00
Xplugin_api_decls.h Update for Tomas Kukosa's new APIs to get the parent and the 2004-03-26 00:01:32 +00:00
Xplugin_table.h Update for Tomas Kukosa's new APIs to get the parent and the 2004-03-26 00:01:32 +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 From Tomas Kukosa: add APIs to get the parent of a protocol tree item 2004-03-25 23:55:21 +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.