diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-01-28 20:26:20 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-01-28 20:26:20 +0000 |
commit | 7eaadf404879210df9e33309e3f3db2c72e56fc6 (patch) | |
tree | 6d50b7f7d6e75fcc60f8781eb77c78cd8a5ef591 /plugins | |
parent | ceef26d2c17d4ea94e1d323d2538f5488e734a92 (diff) | |
download | wireshark-7eaadf404879210df9e33309e3f3db2c72e56fc6.tar.gz wireshark-7eaadf404879210df9e33309e3f3db2c72e56fc6.tar.bz2 wireshark-7eaadf404879210df9e33309e3f3db2c72e56fc6.zip |
Add "col_clear()" to the list of functions in the transfer vector for
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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/plugin_api.c | 3 | ||||
-rw-r--r-- | plugins/plugin_api.h | 3 | ||||
-rw-r--r-- | plugins/plugin_table.h | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/plugins/plugin_api.c b/plugins/plugin_api.c index a076792863..6ec40b615a 100644 --- a/plugins/plugin_api.c +++ b/plugins/plugin_api.c @@ -1,7 +1,7 @@ /* plugin_api.c * Routines for Ethereal plugins. * - * $Id: plugin_api.c,v 1.16 2001/01/26 06:14:51 guy Exp $ + * $Id: plugin_api.c,v 1.17 2001/01/28 20:26:20 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez <gram@xiexie.org> @@ -40,6 +40,7 @@ plugin_address_table_init(plugin_address_table_t *pat) { p_pi = pat->p_pi; p_check_col = pat->p_check_col; + p_col_clear = pat->p_col_clear; p_col_add_fstr = pat->p_col_add_fstr; p_col_append_fstr = pat->p_col_append_fstr; p_col_add_str = pat->p_col_add_str; diff --git a/plugins/plugin_api.h b/plugins/plugin_api.h index f6e01cf7a0..dfc59fcf9e 100644 --- a/plugins/plugin_api.h +++ b/plugins/plugin_api.h @@ -1,7 +1,7 @@ /* plugin_api.h * Routines for Ethereal plugins. * - * $Id: plugin_api.h,v 1.16 2001/01/26 06:14:51 guy Exp $ + * $Id: plugin_api.h,v 1.17 2001/01/28 20:26:20 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez <gram@xiexie.org> @@ -35,6 +35,7 @@ to functions, and the calls to it in plugins, in the plugins, turn into calls through the pointers. */ #define check_col (*p_check_col) +#define col_clear (*p_col_clear) #define col_add_fstr (*p_col_add_fstr) #define col_append_fstr (*p_col_append_fstr) #define col_add_str (*p_col_add_str) diff --git a/plugins/plugin_table.h b/plugins/plugin_table.h index 175b6a3b56..e017d9748c 100644 --- a/plugins/plugin_table.h +++ b/plugins/plugin_table.h @@ -1,7 +1,7 @@ /* plugin_table.h * Table of exported addresses for Ethereal plugins. * - * $Id: plugin_table.h,v 1.16 2001/01/26 06:14:52 guy Exp $ + * $Id: plugin_table.h,v 1.17 2001/01/28 20:26:20 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez <gram@xiexie.org> @@ -31,6 +31,7 @@ /* Typedefs to make our plugin_address_table_t struct look prettier */ typedef gint (*addr_check_col)(frame_data*, gint); +typedef void (*addr_col_clear)(frame_data*, gint); typedef void (*addr_col_add_fstr)(frame_data*, gint, gchar*, ...); typedef void (*addr_col_append_fstr)(frame_data*, gint, gchar*, ...); typedef void (*addr_col_add_str)(frame_data*, gint, const gchar*); @@ -171,6 +172,7 @@ typedef void (*addr_prefs_register_enum_preference)(struct pref_module *, typedef struct { addr_check_col p_check_col; + addr_col_clear p_col_clear; addr_col_add_fstr p_col_add_fstr; addr_col_append_fstr p_col_append_fstr; addr_col_add_str p_col_add_str; |