diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-10-18 21:14:43 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-10-18 21:14:43 +0000 |
commit | 576b24c96ee4ac4ca7fb9fc116b6e8ce3704227d (patch) | |
tree | f8e0abf64215eb0083a475acfdcea3806e4c0ba5 /ui/export_object.h | |
parent | 05c1e47f68b609702ec13a09e5ebc1a572841e12 (diff) |
Move ui-independent object export routines to the common ui directory.
Implement DICOM, HTTP, and SMB object exports. Rename the GTK+ export
files. C++-ize epan/tap.h. Fix an apparent memory leak in
eo_save_all_clicked_cb.
The Qt dialog has an indeterminate progress bar. I tried adding
something similar to the GTK+ dialog but event processing led down a
rabbit hole.
svn path=/trunk/; revision=45647
Diffstat (limited to 'ui/export_object.h')
-rw-r--r-- | ui/export_object.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/export_object.h b/ui/export_object.h index 83379d39e6..d7711588cd 100644 --- a/ui/export_object.h +++ b/ui/export_object.h @@ -50,6 +50,11 @@ typedef struct _export_object_entry_t { void object_list_add_entry(export_object_list_t *object_list, export_object_entry_t *entry); export_object_entry_t *object_list_get_entry(export_object_list_t *object_list, int row); +gboolean eo_save_entry(const gchar *save_as_filename, export_object_entry_t *entry, gboolean show_err); +GString *eo_massage_str(const gchar *in_str, gsize maxlen, int dup); +const char *ct2ext(const char *content_type); + + /* Protocol specific */ gboolean eo_dicom_packet(void *tapdata, packet_info *pinfo, epan_dissect_t *edt _U_, const void *data); |