diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-07-19 09:33:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-07-19 09:33:17 +0000 |
commit | 2b39f15499ac6580ef12ec15cee192b56a88fbc0 (patch) | |
tree | 47417339a0fc8420b4d49d45793598de41adddd6 /doc/README.plugins | |
parent | 91ab6eb809d139ae563a905677824e1c7a2b3622 (diff) |
From Richard Urwin: fixes for README.plugins.
Combine the two entries for Anand Narwani in the AUTHORS file and the
Ethereal man page list of contributors.
svn path=/trunk/; revision=5893
Diffstat (limited to 'doc/README.plugins')
-rw-r--r-- | doc/README.plugins | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/README.plugins b/doc/README.plugins index c8341cffb0..b7adaaa732 100644 --- a/doc/README.plugins +++ b/doc/README.plugins @@ -1,4 +1,4 @@ -$Id: README.plugins,v 1.6 2002/07/06 20:40:43 guy Exp $ +$Id: README.plugins,v 1.7 2002/07/19 09:33:16 guy Exp $ Plugins @@ -23,6 +23,7 @@ definitions on OSes which don't need this). This header is optional and is described in greater detail further on. +#include <gmodule.h> This header is required to define G_MODULE_EXPORT, which must be used when defining constants and functions exported by the plugin. @@ -31,6 +32,11 @@ you include "gmodule.h"; however, "glib.h" is protected from multiple inclusion by #ifdefs, so it's safe to include it after including "gmodule.h". +#include "plugins/plugin_api_defs.h" +Only include this in one source file if you have more than one. It defines, +(as opposed to declares,) the function pointer variables that the plugin uses +to reference the address table. + 2 New exported constants in packet-xxx.c Plugins need to provide the following exported constants: @@ -148,7 +154,7 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap \ OBJECTS=packet-xxx.obj xxx.dll xxx.exp xxx.lib : packet-xxx.obj ..\plugin_api.obj - link -dll /out:xxx.dll packet-mgcp.obj ..\plugin_api.obj \ + link -dll /out:xxx.dll packet-xxx.obj ..\plugin_api.obj \ $(GLIB_DIR)\glib-$(GLIB_VERSION).lib clean: |