aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/plugin_table.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-11-18 21:41:40 +0000
committerGuy Harris <guy@alum.mit.edu>2000-11-18 21:41:40 +0000
commit74777083d35400bb6ca9fff58ea3e0d53f24671d (patch)
tree32ae2267a8133abe304049709bfea28f95b428e1 /plugins/plugin_table.h
parent567ee3e08380fca08b272aae2932062148de7804 (diff)
Fix a number of problems that caused compiles to fail if
PLUGINS_NEED_ADDRESS_TABLE was defined. svn path=/trunk/; revision=2662
Diffstat (limited to 'plugins/plugin_table.h')
-rw-r--r--plugins/plugin_table.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/plugins/plugin_table.h b/plugins/plugin_table.h
index 126e205955..2476290348 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.10 2000/11/16 07:35:43 guy Exp $
+ * $Id: plugin_table.h,v 1.11 2000/11/18 21:41:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@xiexie.org>
@@ -163,14 +163,15 @@ typedef gint (*addr_tvb_strncaseeql)(tvbuff_t*, gint, const guint8 *, gint);
typedef gchar *(*addr_tvb_bytes_to_str)(tvbuff_t*, gint, gint len);
-typedef module_t *(*addr_prefs_register_module)(const char *, const char *,
- void (*)(void));
-typedef void (*addr_prefs_register_uint_preference)(module_t *, const char *,
- const char *, const char *, guint, guint *);
-typedef void (*addr_prefs_register_bool_preference)(module_t *, const char *,
- const char *, const char *, gboolean *);
-typedef void (*addr_prefs_register_enum_preference)(module_t *, const char *,
- const char *, const char *, gint *, const enum_val *, gboolean);
+typedef struct pref_module *(*addr_prefs_register_module)(const char *,
+ const char *, void (*)(void));
+typedef void (*addr_prefs_register_uint_preference)(struct pref_module *,
+ const char *, const char *, const char *, guint, guint *);
+typedef void (*addr_prefs_register_bool_preference)(struct pref_module *,
+ const char *, const char *, const char *, gboolean *);
+typedef void (*addr_prefs_register_enum_preference)(struct pref_module *,
+ const char *, const char *, const char *, gint *, const enum_val_t *,
+ gboolean);
typedef struct {
addr_check_col p_check_col;