11 #ifndef __EXPORT_OBJECT_H__ 12 #define __EXPORT_OBJECT_H__ 15 #include "wmem/wmem.h" 38 #define EXPORT_OBJECT_MAXFILELEN 255 40 typedef void (*export_object_object_list_add_entry_cb)(
void* gui_data,
struct _export_object_entry_t *entry);
44 export_object_object_list_add_entry_cb add_entry;
45 export_object_object_list_get_entry_cb get_entry;
57 typedef void (*export_object_gui_reset_cb)(void);
67 WS_DLL_PUBLIC
int register_export_object(
const int proto_id, tap_packet_cb export_packet_func, export_object_gui_reset_cb reset_cb);
74 WS_DLL_PUBLIC
int get_eo_proto_id(register_eo_t* eo);
81 WS_DLL_PUBLIC
const char* get_eo_tap_listener_name(register_eo_t* eo);
88 WS_DLL_PUBLIC tap_packet_cb get_eo_packet_func(register_eo_t* eo);
95 WS_DLL_PUBLIC export_object_gui_reset_cb get_eo_reset_func(register_eo_t* eo);
102 WS_DLL_PUBLIC register_eo_t* get_eo_by_name(
const char* name);
109 WS_DLL_PUBLIC
void eo_iterate_tables(
wmem_foreach_func func, gpointer user_data);
118 WS_DLL_PUBLIC GString *eo_massage_str(
const gchar *in_str, gsize maxlen,
int dup);
125 WS_DLL_PUBLIC
const char *eo_ct2ext(
const char *content_type);
Definition: export_object.c:19
gboolean(* wmem_foreach_func)(const void *key, void *value, void *userdata)
Definition: wmem_tree.h:213
Definition: export_object.h:21
Definition: export_object.h:43