diff options
author | Graeme Lunt <graeme.lunt@smhs.co.uk> | 2007-05-07 17:55:42 +0000 |
---|---|---|
committer | Graeme Lunt <graeme.lunt@smhs.co.uk> | 2007-05-07 17:55:42 +0000 |
commit | cf56e76be90d3541155b4d5fea4c335701f1de3a (patch) | |
tree | a9108ed6903c08b1d6d62590849e9b8d2196324e /epan/epan.c | |
parent | a38b44a6470d1e92b1bd0cb396d096675e5d2392 (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.c')
-rw-r--r-- | epan/epan.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/epan/epan.c b/epan/epan.c index f532b6fc7c..765859036b 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -68,8 +68,10 @@ epan_get_version(void) { } void -epan_init(void (*register_all_protocols)(void), - void (*register_all_handoffs)(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, + gpointer client_data, void (*report_failure)(const char *, va_list), void (*report_open_failure)(const char *, int, gboolean), void (*report_read_failure)(const char *, int)) @@ -94,7 +96,7 @@ epan_init(void (*register_all_protocols)(void), tvbuff_init(); oid_resolv_init(); tap_init(); - proto_init(register_all_protocols, register_all_handoffs); + proto_init(register_all_protocols, register_all_handoffs, cb, client_data); packet_init(); dfilter_init(); final_registration_all_protocols(); |