aboutsummaryrefslogtreecommitdiffstats
path: root/epan/decode_as.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/decode_as.h')
-rw-r--r--epan/decode_as.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/decode_as.h b/epan/decode_as.h
index c6d89cb96a..69648fd90d 100644
--- a/epan/decode_as.h
+++ b/epan/decode_as.h
@@ -56,9 +56,9 @@ typedef void (*decode_as_populate_list_func)(const gchar *table_name, decode_as_
typedef void (*decode_as_free_func)(gpointer value);
/** callback function definition: Clear value from dissector table */
-typedef gboolean (*decode_as_reset_func)(const char *name, const gpointer pattern);
+typedef gboolean (*decode_as_reset_func)(const gchar *name, gconstpointer pattern);
/** callback function definition: Apply value to dissector table */
-typedef gboolean (*decode_as_change_func)(const char *name, const gpointer pattern, gpointer handle, gchar* list_name);
+typedef gboolean (*decode_as_change_func)(const gchar *name, gconstpointer pattern, gpointer handle, gchar *list_name);
typedef struct decode_as_value_s {
build_label_func label_func;
@@ -88,9 +88,9 @@ WS_DLL_PUBLIC void register_decode_as(decode_as_t* reg);
/* Walk though the dissector table and provide dissector_handle_t for each item in the table */
WS_DLL_PUBLIC void decode_as_default_populate_list(const gchar *table_name, decode_as_add_to_list_func add_to_list, gpointer ui_element);
/* Clear a FT_UINT32 value from dissector table list */
-WS_DLL_PUBLIC gboolean decode_as_default_reset(const char *name, const gpointer pattern);
+WS_DLL_PUBLIC gboolean decode_as_default_reset(const gchar *name, gconstpointer pattern);
/* Add a FT_UINT32 value to dissector table list */
-WS_DLL_PUBLIC gboolean decode_as_default_change(const char *name, const gpointer pattern, gpointer handle, gchar* list_name);
+WS_DLL_PUBLIC gboolean decode_as_default_change(const gchar *name, gconstpointer pattern, gpointer handle, gchar *list_name);
/** List of registered decode_as_t structs.
* For UI code only. Should not be directly accessed by dissectors.