aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.h
diff options
context:
space:
mode:
authorGraeme Lunt <graeme.lunt@smhs.co.uk>2007-05-07 17:55:42 +0000
committerGraeme Lunt <graeme.lunt@smhs.co.uk>2007-05-07 17:55:42 +0000
commitcf56e76be90d3541155b4d5fea4c335701f1de3a (patch)
treea9108ed6903c08b1d6d62590849e9b8d2196324e /epan/epan.h
parenta38b44a6470d1e92b1bd0cb396d096675e5d2392 (diff)
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
Diffstat (limited to 'epan/epan.h')
-rw-r--r--epan/epan.h7
1 files changed, 5 insertions, 2 deletions
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 <glib.h>
#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));