diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-12-02 08:30:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-12-02 08:30:29 +0000 |
commit | 0cc1545d05be6f655c950904b1da776190f3af16 (patch) | |
tree | b82725615b527304bfb2e9e7d9f3b6dfc50ce7fd /epan/epan.h | |
parent | baf569188ac49ad38912b82d23ff241321cd654f (diff) |
Move most of the plugin code from epan to wsutil and remove all
knowledge of particular types of plugins. Instead, let particular types
of plugins register with the common plugin code, giving a name and a
routine to recognize that type of plugin.
In particular applications, only process the relevant plugin types.
Add a Makefile.common to the codecs directory.
svn path=/trunk/; revision=53710
Diffstat (limited to 'epan/epan.h')
-rw-r--r-- | epan/epan.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/epan.h b/epan/epan.h index 44f2d4c51b..9347fb69f7 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -81,6 +81,16 @@ Ref2 for further edits - delete when done - \ref airpcapdefs - \ref radiotap */ +/* + * Register all the plugin types that are part of libwireshark. + * + * Must be called before init_plugins(), which must be called before + * any registration routines are called, i.e. before epan_init(). + * + * Must be called only once in a program. + */ +WS_DLL_PUBLIC void epan_register_plugin_types(void); + /** init the whole epan module, this is used to be called only once in a program */ WS_DLL_PUBLIC void epan_init(void (*register_all_protocols_func)(register_cb cb, gpointer client_data), |