diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-07-16 01:49:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-07-16 01:49:01 +0000 |
commit | 268520b707fc41c6a7d97955ed3a7617137f8835 (patch) | |
tree | 8d47d6fb7599516a01457badafcc92ede27c4c0d /ui | |
parent | 6469a1d606dbc95288c0636c9f7a7b95f87d5ab5 (diff) |
For the encoding and format, use the enum types.
Add some comments.
svn path=/trunk/; revision=43736
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/bytes_view.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/gtk/bytes_view.c b/ui/gtk/bytes_view.c index ef3d395397..d8487d9927 100644 --- a/ui/gtk/bytes_view.c +++ b/ui/gtk/bytes_view.c @@ -77,16 +77,16 @@ struct _BytesView int state; /* data */ - int encoding; - int format; - guint8 *pd; - int len; + packet_char_enc encoding; /* ASCII or EBCDIC */ + bytes_view_type format; /* bytes in hex or bytes as bits */ + guint8 *pd; /* packet data */ + int len; /* length of packet data in bytes */ /* data-highlight */ int start[2]; int end[2]; - int per_line; - int use_digits; + int per_line; /* number of bytes shown per line */ + int use_digits; /* number of hex digits of byte offset */ }; #include "bytes_view.h" |