aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-12-05 09:30:22 +0000
committerGuy Harris <guy@alum.mit.edu>2013-12-05 09:30:22 +0000
commit125a17f8e511efe36d14644715e37b438a87c6e0 (patch)
treeb4b4e8c36ecdb6867d3e4bb10c38b560970d50c4 /epan/epan.h
parent78c11720bbba1c682355482edfee99080c2cf54a (diff)
Initialize the error-reporting routines before scanning for plugins, as
the code to scan for them uses those routines. This means epan_init() no longer takes those routines as arguments - which is just as well, given that the mechanism in question is no longer part of libwireshark, but is part of libwsutil. This should fix bug 9508. svn path=/trunk/; revision=53796
Diffstat (limited to 'epan/epan.h')
-rw-r--r--epan/epan.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/epan/epan.h b/epan/epan.h
index 57f871a22d..ca3432b550 100644
--- a/epan/epan.h
+++ b/epan/epan.h
@@ -95,12 +95,7 @@ WS_DLL_PUBLIC void epan_register_plugin_types(void);
WS_DLL_PUBLIC
void epan_init(void (*register_all_protocols_func)(register_cb cb, gpointer client_data),
void (*register_all_handoffs_func)(register_cb cb, gpointer client_data),
- register_cb cb,
- void *client_data,
- void (*report_failure_fcn_p)(const char *, va_list),
- void (*report_open_failure_fcn_p)(const char *, int, gboolean),
- void (*report_read_failure_fcn_p)(const char *, int),
- void (*report_write_failure_fcn_p)(const char *, int));
+ register_cb cb, void *client_data);
/** cleanup the whole epan module, this is used to be called only once in a program */
WS_DLL_PUBLIC