diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-09-09 19:30:30 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-09-09 19:30:30 +0000 |
commit | 80f9326b2fbf8857f221b6ee6d44c3982cdcbff9 (patch) | |
tree | d5dd5ce48d3da0595cc10da6319c729604511c23 /ui/gtk/follow_stream.h | |
parent | 41174fa490f141aaf1fdddfcb4f445ecd95888f7 (diff) |
From Thomas ERSFELD (GSoC13)
Add TCP/UDP/SSL Follow feature to QtShark
Known issue :
* Duplicate code with GTK (function need follow_info_t struct but in GTK there is some GWidget variable in struct)
* Sometimes TCP Follow fail...
svn path=/trunk/; revision=51883
Diffstat (limited to 'ui/gtk/follow_stream.h')
-rw-r--r-- | ui/gtk/follow_stream.h | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/ui/gtk/follow_stream.h b/ui/gtk/follow_stream.h index c55abf8abc..e88ba23e1c 100644 --- a/ui/gtk/follow_stream.h +++ b/ui/gtk/follow_stream.h @@ -27,41 +27,7 @@ #define __FOLLOW_STREAM_H__ #include <gtk/gtk.h> - -/* Type of follow we are doing */ -typedef enum { - FOLLOW_TCP, - FOLLOW_SSL, - FOLLOW_UDP -} follow_type_t; - -/* Show Stream */ -typedef enum { - FROM_CLIENT, - FROM_SERVER, - BOTH_HOSTS -} show_stream_t; - -/* Show Type */ -typedef enum { - SHOW_ASCII, - SHOW_EBCDIC, - SHOW_HEXDUMP, - SHOW_CARRAY, - SHOW_RAW -} show_type_t; - -typedef enum { - FRS_OK, - FRS_OPEN_ERROR, - FRS_READ_ERROR, - FRS_PRINT_ERROR -} frs_return_t; - -typedef struct { - gboolean is_server; - GByteArray *data; -} follow_record_t; +#include <ui/follow.h> typedef struct { follow_type_t follow_type; |