For the encoding and format, use the enum types.

Add some comments.

svn path=/trunk/; revision=43736
This commit is contained in:
Guy Harris 2012-07-16 01:49:01 +00:00
parent 6469a1d606
commit 268520b707
1 changed files with 6 additions and 6 deletions

View File

@ -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"