26typedef void (*text_win_close_cb_t)(
void*);
28typedef void (*funnel_dlg_cb_t)(
char** user_input,
void* data);
29typedef void (*funnel_dlg_cb_data_free_t)(
void* data);
33typedef void (* funnel_menu_callback)(
void *);
34typedef void (* funnel_menu_callback_data_free)(
void *);
40 void (*free_fcn)(
void*);
41 void (*free_data_fcn)(
void*);
61 const char** field_names,
62 const char** field_values,
63 funnel_dlg_cb_t dlg_cb,
65 funnel_dlg_cb_data_free_t dlg_cb_data_free);
67 void (*close_dialogs)(void);
70 void (*copy_to_clipboard)(GString *str);
74 char * (*get_color_filter_slot)(uint8_t filt_nr);
75 void (*set_color_filter_slot)(uint8_t filt_nr,
const char* filter);
76 bool (*open_file)(
funnel_ops_id_t *ops_id,
const char* fname,
const char* filter,
char** error);
82 bool (*browser_open_url)(
const char *url);
83 void (*browser_open_data_file)(
const char *filename);
85 struct progdlg* (*new_progress_window)(
funnel_ops_id_t *ops_id,
const char* label,
const char* task,
bool terminate_is_stop,
bool *stop_flag);
86 void (*update_progress)(
struct progdlg*,
float pr,
const char* task);
87 void (*destroy_progress_window)(
struct progdlg*);
90WS_DLL_PUBLIC
const funnel_ops_t* funnel_get_funnel_ops(
void);
91WS_DLL_PUBLIC
void funnel_set_funnel_ops(
const funnel_ops_t*);
93WS_DLL_PUBLIC
void funnel_register_menu(
const char *name,
95 funnel_menu_callback callback,
97 funnel_menu_callback_data_free callback_data_free,
99void funnel_deregister_menus(
void (*callback)(
void *));
101typedef void (*funnel_registration_cb_t)(
const char *name,
103 funnel_menu_callback callback,
106typedef void (*funnel_deregistration_cb_t)(funnel_menu_callback callback);
108WS_DLL_PUBLIC
void funnel_register_all_menus(funnel_registration_cb_t r_cb);
109WS_DLL_PUBLIC
void funnel_reload_menus(funnel_deregistration_cb_t d_cb,
110 funnel_registration_cb_t r_cb);
111WS_DLL_PUBLIC
void funnel_cleanup(
void);
122 const char *required_fields,
144 const char *required_fields,
172 void *callback_data);
206 void *callback_data);
215extern void initialize_funnel_ops(
void);
217extern void funnel_dump_all_text_windows(
void);
void(* funnel_packet_menu_callback)(void *, GPtrArray *)
Definition funnel.h:116
WS_DLL_PUBLIC void funnel_register_console_menu(const char *name, funnel_console_eval_cb_t eval_cb, funnel_console_open_cb_t open_cb, funnel_console_close_cb_t close_cb, void *callback_data, funnel_console_data_free_cb_t free_data)
Definition funnel.c:300
void(* funnel_registration_console_cb_t)(const char *name, funnel_console_eval_cb_t eval_cb, funnel_console_open_cb_t open_cb, funnel_console_close_cb_t close_cb, void *callback_data)
Definition funnel.h:202
WS_DLL_PUBLIC bool funnel_packet_menus_modified(void)
Definition funnel.c:285
void(* funnel_console_open_cb_t)(void(*print_func)(const char *, void *), void *print_data, void *callback_data)
Definition funnel.h:177
WS_DLL_PUBLIC void funnel_register_packet_menu(const char *name, const char *required_fields, funnel_packet_menu_callback callback, void *callback_data, bool retap)
Definition funnel.c:223
void(* funnel_console_data_free_cb_t)(void *callback_data)
Definition funnel.h:187
WS_DLL_PUBLIC void funnel_register_all_console_menus(funnel_registration_console_cb_t r_cb)
Definition funnel.c:318
WS_DLL_PUBLIC void funnel_register_all_packet_menus(funnel_registration_packet_cb_t r_cb)
Definition funnel.c:271
int(* funnel_console_eval_cb_t)(const char *console_input, char **error_ptr, char **error_hint, void *callback_data)
Definition funnel.h:169
void(* funnel_console_close_cb_t)(void *callback_data)
Definition funnel.h:182
void(* funnel_registration_packet_cb_t)(const char *name, const char *required_fields, funnel_packet_menu_callback callback, void *callback_data, bool retap)
Definition funnel.h:121
enum register_stat_group_e register_stat_group_t
Definition funnel_statistics.cpp:249
Definition tap-funnel.c:27
Definition progress_frame.h:31