diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-05-12 16:00:36 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-05-12 23:01:14 +0000 |
commit | fb877ef5dac9ad3116021eaa2605ef29ba2d1a7c (patch) | |
tree | 3e4fdf47b403719907d89e1557c217e072692b1d /epan/rtd_table.h | |
parent | 4e0de38081fdf8cad84b90eaa842a08c2ddbdb87 (diff) |
Get rid of some GTK+-only stuff.
Change-Id: I6c14429d4d473464ad7bea18dee07c3adf34664d
Reviewed-on: https://code.wireshark.org/review/27479
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/rtd_table.h')
-rw-r--r-- | epan/rtd_table.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/epan/rtd_table.h b/epan/rtd_table.h index 94ab9111d5..fcd308705d 100644 --- a/epan/rtd_table.h +++ b/epan/rtd_table.h @@ -49,9 +49,6 @@ struct register_rtd; typedef struct register_rtd register_rtd_t; typedef void (*rtd_gui_init_cb)(rtd_stat_table* rtd, void* gui_data); -typedef void (*rtd_gui_reset_cb)(rtd_stat_table* rtd, void* gui_data); /* GTK+ only. */ -typedef void (*rtd_gui_free_cb)(rtd_stat_table* rtd, void* gui_data); /* GTK+ only. */ -typedef void (*rtd_init_cb)(struct register_rtd* rtd, rtd_gui_init_cb gui_callback, void* gui_data); /* GTK+ only. */ typedef void (*rtd_filter_check_cb)(const char *opt_arg, const char **filter, char** err); /** Register the response time delay table. @@ -112,18 +109,14 @@ WS_DLL_PUBLIC register_rtd_t* get_rtd_table_by_name(const char* name); /** Free the RTD table data. * * @param table RTD stat table array - * @param gui_callback optional callback from GUI - * @param callback_data callback data needed for GUI */ -WS_DLL_PUBLIC void free_rtd_table(rtd_stat_table* table, rtd_gui_free_cb gui_callback, void *callback_data); +WS_DLL_PUBLIC void free_rtd_table(rtd_stat_table* table); /** Reset table data in the RTD. * * @param table RTD table - * @param gui_callback optional callback from GUI - * @param callback_data callback data needed for GUI */ -WS_DLL_PUBLIC void reset_rtd_table(rtd_stat_table* table, rtd_gui_reset_cb gui_callback, void *callback_data); +WS_DLL_PUBLIC void reset_rtd_table(rtd_stat_table* table); /** Interator to walk RTD tables and execute func * Used for initialization |