From cf56e76be90d3541155b4d5fea4c335701f1de3a Mon Sep 17 00:00:00 2001 From: Graeme Lunt Date: Mon, 7 May 2007 17:55:42 +0000 Subject: Updated splash screen for Wireshark that shows the initialisation progress. The splash screen shows a progress bar and a percentage complete - like the progress dialog. As dissectors are initialised and handed off the name is shown. However, the names of plugin dissectors are not shown. The update to the make-dissector-reg shell script has been tested, though I think generally the python version is used. svn path=/trunk/; revision=21716 --- epan/epan.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'epan/epan.h') diff --git a/epan/epan.h b/epan/epan.h index e78815da2a..708510d82d 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -27,14 +27,17 @@ #include #include "frame_data.h" #include "column_info.h" +#include "register.h" typedef struct _epan_dissect_t epan_dissect_t; #include "dfilter/dfilter.h" /* init the whole epan module, this is used to be called only once in a program */ -void epan_init(void (*register_all_protocols)(void), - void (*register_all_handoffs)(void), +void epan_init(void (*register_all_protocols)(register_cb cb, gpointer client_data), + void (*register_all_handoffs)(register_cb cb, gpointer client_data), + register_cb cb, + void *client_data, void (*report_failure)(const char *, va_list), void (*report_open_failure)(const char *, int, gboolean), void (*report_read_failure)(const char *, int)); -- cgit v1.2.3