34#define EXPORT_OBJECT_MAXFILELEN 255
133WS_DLL_PUBLIC GString *
eo_massage_str(
const char *in_str,
size_t maxlen,
int dup);
140WS_DLL_PUBLIC
const char *
eo_ct2ext(
const char *content_type);
WS_DLL_PUBLIC bool eo_entry_equal(export_object_entry_t *entry_a, export_object_entry_t *entry_b)
Definition export_object.c:167
WS_DLL_PUBLIC const char * eo_ct2ext(const char *content_type)
Definition export_object.c:144
void(* export_object_object_list_add_entry_cb)(void *gui_data, struct _export_object_entry_t *entry)
Callback invoked by a dissector to add a newly extracted object entry into the GUI list.
Definition export_object.h:41
WS_DLL_PUBLIC register_eo_t * get_eo_by_name(const char *name)
Definition export_object.c:73
export_object_entry_t *(* export_object_object_list_get_entry_cb)(void *gui_data, int row)
Callback invoked to retrieve an existing object entry from the GUI list by row index.
Definition export_object.h:49
WS_DLL_PUBLIC unsigned eo_entry_hash(export_object_entry_t *entry)
Definition export_object.c:161
WS_DLL_PUBLIC const char * get_eo_tap_listener_name(register_eo_t *eo)
Definition export_object.c:58
WS_DLL_PUBLIC void eo_iterate_tables(wmem_foreach_func func, void *user_data)
Definition export_object.c:78
WS_DLL_PUBLIC export_object_gui_reset_cb get_eo_reset_func(register_eo_t *eo)
Definition export_object.c:68
void(* export_object_gui_reset_cb)(void)
Definition export_object.h:68
struct _export_object_list_t export_object_list_t
Abstracts the GUI-specific operations needed to manage a list of exported objects during dissection.
struct _export_object_entry_t export_object_entry_t
Represents a single object extracted from a packet capture for export.
WS_DLL_PUBLIC GString * eo_massage_str(const char *in_str, size_t maxlen, int dup)
Definition export_object.c:116
void export_object_init(void)
Definition export_object.c:28
WS_DLL_PUBLIC int get_eo_proto_id(register_eo_t *eo)
Definition export_object.c:50
WS_DLL_PUBLIC tap_packet_cb get_eo_packet_func(register_eo_t *eo)
Definition export_object.c:63
WS_DLL_PUBLIC void eo_free_entry(export_object_entry_t *entry)
Definition export_object.c:151
WS_DLL_PUBLIC int register_export_object(const int proto_id, tap_packet_cb export_packet_func, export_object_gui_reset_cb reset_cb)
Definition export_object.c:34
bool(* wmem_foreach_func)(const void *key, void *value, void *userdata)
Function type for processing one node of a tree during a traversal.
Definition wmem_tree.h:389
Represents a single object extracted from a packet capture for export.
Definition export_object.h:21
char * filename
Definition export_object.h:25
uint8_t * payload_data
Definition export_object.h:27
char * hostname
Definition export_object.h:23
uint32_t pkt_num
Definition export_object.h:22
char * content_type
Definition export_object.h:24
size_t payload_len
Definition export_object.h:26
Abstracts the GUI-specific operations needed to manage a list of exported objects during dissection.
Definition export_object.h:54
export_object_object_list_add_entry_cb add_entry
Definition export_object.h:55
void * gui_data
Definition export_object.h:57
export_object_object_list_get_entry_cb get_entry
Definition export_object.h:56
Definition export_object.c:19