aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.h
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2018-08-28 21:39:55 +0100
committerJoão Valverde <j@v6e.pt>2018-08-29 23:22:44 +0000
commit8eddb1650d482f5eecc712967d10bba7450a2f5c (patch)
treefd1cf5b9582e6245ef84db16f9f9cf7081b1b8e6 /epan/epan.h
parentb6ba314466aa33d97f4da32bb095fc0a566ed2cb (diff)
epan: Remove unnecessary all protocols registration callback
We are exporting a registration function from libwireshark just to have it passed back as a callback. Seems unnecessary. Change-Id: I7621005c9be11691d319102326824c5e3520a6f3 Reviewed-on: https://code.wireshark.org/review/29328 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan/epan.h')
-rw-r--r--epan/epan.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/epan.h b/epan/epan.h
index e2cd26a3da..e29fb83903 100644
--- a/epan/epan.h
+++ b/epan/epan.h
@@ -19,7 +19,7 @@ extern "C" {
#include <epan/prefs.h>
#include <epan/frame_data.h>
#include <wsutil/plugins.h>
-#include "register.h"
+#include <epan/register.h>
#include "ws_symbol_export.h"
typedef struct epan_dissect epan_dissect_t;
@@ -100,9 +100,7 @@ Ref2 for further edits - delete when done
* Returns TRUE on success, FALSE on failure.
*/
WS_DLL_PUBLIC
-gboolean 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);
+gboolean epan_init(register_cb cb, void *client_data);
/**
* Load all settings, from the current profile, that affect epan.