aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/export_object.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-06-15 14:03:49 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-06-15 14:03:49 +0000
commite915e93532018b57632f5ca7c9a1e4d1c9e1dd72 (patch)
tree80d4ef20d1792ccde9ba8eece4fd016d1833b9bf /gtk/export_object.h
parent21aa0091500d91baf4f1d7d810a2f6c940ef8c6b (diff)
From David Perez & Jose Pico from Taddong S.L. via bug 4451:
This functionality keeps track of all SMB objects contained in a capture, and is able to export to a file a full or partial captured file that has been transfered through the SMB protocol. In a partial capture, the holes produced by the non-captured information are filled out with zeros. It includes the needed modifications of the SMB dissector in the way it keeps track of the opened SMB files and also to feed the eo_smb tap listener. svn path=/trunk/; revision=33227
Diffstat (limited to 'gtk/export_object.h')
-rw-r--r--gtk/export_object.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/export_object.h b/gtk/export_object.h
index 2ad4bd0dcc..f1e6e873aa 100644
--- a/gtk/export_object.h
+++ b/gtk/export_object.h
@@ -42,7 +42,9 @@ typedef struct _export_object_entry_t {
gchar *hostname;
gchar *content_type;
gchar *filename;
- guint payload_len;
+ /* We need to store a 64 bit integer to hold a file length
+ (was guint payload_len;) */
+ gint64 payload_len;
guint8 *payload_data;
} export_object_entry_t;
@@ -52,5 +54,6 @@ void export_object_window(const gchar *tapname, const gchar *name,
/* Protocol specific */
void eo_http_cb(GtkWidget *widget _U_, gpointer data _U_);
void eo_dicom_cb(GtkWidget *widget _U_, gpointer data _U_);
+void eo_smb_cb(GtkWidget *widget _U_, gpointer data _U_);
#endif /* __EXPORT_OBJECT_H__ */