aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.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/proto.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/proto.h')
-rw-r--r--epan/proto.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 1f5b8a1c1b..56628c511c 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -50,6 +50,7 @@
#include "nstime.h"
#include "tvbuff.h"
#include "ftypes/ftypes.h"
+#include "register.h"
#ifdef __cplusplus
extern "C" {
@@ -327,8 +328,10 @@ extern void proto_tree_children_foreach(proto_tree *tree,
#define PTREE_DATA(proto_tree) ((proto_tree)->tree_data)
/** Sets up memory used by proto routines. Called at program startup */
-extern void proto_init(void (register_all_protocols)(void),
- void (register_all_handoffs)(void));
+extern void proto_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);
+
/** Frees memory used by proto routines. Called at program shutdown */
extern void proto_cleanup(void);