11#ifndef __EXPORT_OBJECT_H__
12#define __EXPORT_OBJECT_H__
27 uint8_t *payload_data;
34#define EXPORT_OBJECT_MAXFILELEN 255
36typedef void (*export_object_object_list_add_entry_cb)(
void* gui_data,
struct _export_object_entry_t *entry);
40 export_object_object_list_add_entry_cb add_entry;
41 export_object_object_list_get_entry_cb get_entry;
53typedef void (*export_object_gui_reset_cb)(void);
63WS_DLL_PUBLIC
int register_export_object(
const int proto_id, tap_packet_cb export_packet_func, export_object_gui_reset_cb reset_cb);
114WS_DLL_PUBLIC GString *
eo_massage_str(
const char *in_str,
size_t maxlen,
int dup);
121WS_DLL_PUBLIC
const char *
eo_ct2ext(
const char *content_type);
WS_DLL_PUBLIC const char * eo_ct2ext(const char *content_type)
Definition export_object.c:142
WS_DLL_PUBLIC register_eo_t * get_eo_by_name(const char *name)
Definition export_object.c:71
WS_DLL_PUBLIC const char * get_eo_tap_listener_name(register_eo_t *eo)
Definition export_object.c:56
WS_DLL_PUBLIC void eo_iterate_tables(wmem_foreach_func func, void *user_data)
Definition export_object.c:76
WS_DLL_PUBLIC export_object_gui_reset_cb get_eo_reset_func(register_eo_t *eo)
Definition export_object.c:66
WS_DLL_PUBLIC GString * eo_massage_str(const char *in_str, size_t maxlen, int dup)
Definition export_object.c:114
WS_DLL_PUBLIC int get_eo_proto_id(register_eo_t *eo)
Definition export_object.c:48
WS_DLL_PUBLIC tap_packet_cb get_eo_packet_func(register_eo_t *eo)
Definition export_object.c:61
WS_DLL_PUBLIC void eo_free_entry(export_object_entry_t *entry)
Definition export_object.c:149
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:29
bool(* wmem_foreach_func)(const void *key, void *value, void *userdata)
Definition wmem_tree.h:247
Definition export_object.h:21
Definition export_object.h:39
Definition export_object.c:19