aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap-int.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-02-11 12:34:39 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-02-11 12:34:39 +0000
commit8aea738cda52892997abe27549f8698f99a5d1d1 (patch)
tree6ecfe45be7083cd501ae850005fc616d01923d9b /wiretap/wtap-int.h
parent11e815e99abb45be7cc242517bf3be771e259b99 (diff)
Add the abillity to read and write option comments unedited.
This is POC we may want to have more efficient use of the frame data structure etc. But this allows for work to be done on the GUI to actually add comments. svn path=/trunk/; revision=40969
Diffstat (limited to 'wiretap/wtap-int.h')
-rw-r--r--wiretap/wtap-int.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/wiretap/wtap-int.h b/wiretap/wtap-int.h
index 0e00d68866..3c7ecb6481 100644
--- a/wiretap/wtap-int.h
+++ b/wiretap/wtap-int.h
@@ -45,33 +45,33 @@ typedef gboolean (*subtype_read_func)(struct wtap*, int*, char**, gint64*);
typedef gboolean (*subtype_seek_read_func)(struct wtap*, gint64, union wtap_pseudo_header*,
guint8*, int, int *, char **);
struct wtap {
- FILE_T fh;
- FILE_T random_fh; /* Secondary FILE_T for random access */
- int file_type;
- guint snapshot_length;
- struct Buffer *frame_buffer;
- struct wtap_pkthdr phdr;
- union wtap_pseudo_header pseudo_header;
-
- gint64 data_offset;
-
- void *priv;
-
- subtype_read_func subtype_read;
- subtype_seek_read_func subtype_seek_read;
- void (*subtype_sequential_close)(struct wtap*);
- void (*subtype_close)(struct wtap*);
- int file_encap; /* per-file, for those
+ FILE_T fh;
+ FILE_T random_fh; /* Secondary FILE_T for random access */
+ int file_type;
+ guint snapshot_length;
+ struct Buffer *frame_buffer;
+ struct wtap_pkthdr phdr;
+ union wtap_pseudo_header pseudo_header;
+
+ gint64 data_offset;
+
+ void *priv;
+
+ subtype_read_func subtype_read;
+ subtype_seek_read_func subtype_seek_read;
+ void (*subtype_sequential_close)(struct wtap*);
+ void (*subtype_close)(struct wtap*);
+ int file_encap; /* per-file, for those
* file formats that have
* per-file encapsulation
* types
*/
- int tsprecision; /* timestamp precision of the lower 32bits
+ int tsprecision; /* timestamp precision of the lower 32bits
* e.g. WTAP_FILE_TSPREC_USEC
*/
- wtap_new_ipv4_callback_t add_new_ipv4;
- wtap_new_ipv6_callback_t add_new_ipv6;
- GPtrArray *fast_seek;
+ wtap_new_ipv4_callback_t add_new_ipv4;
+ wtap_new_ipv6_callback_t add_new_ipv6;
+ GPtrArray *fast_seek;
};
struct wtap_dumper;