summaryrefslogtreecommitdiff
path: root/wiretap/README.developer
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-10-20 01:15:12 +0000
committerBill Meier <wmeier@newsguy.com>2010-10-20 01:15:12 +0000
commit25130bd48282fb1194231357531d1a78bab2db93 (patch)
treee9368369f910d277cf939f2e93788c6e0251968e /wiretap/README.developer
parent6c08c2c43a4064a93887a312f16c068813c9fa3b (diff)
downloadwireshark-25130bd48282fb1194231357531d1a78bab2db93.tar.gz
From Hadriel Kaplan: Update wiretap/README.developer
svn path=/trunk/; revision=34578
Diffstat (limited to 'wiretap/README.developer')
-rw-r--r--wiretap/README.developer8
1 files changed, 7 insertions, 1 deletions
diff --git a/wiretap/README.developer b/wiretap/README.developer
index 2b2ef16715..18039be984 100644
--- a/wiretap/README.developer
+++ b/wiretap/README.developer
@@ -60,7 +60,10 @@ will read. If the capture records consist of:
then data_offset should point to the pseudo-header. The first
sequential read pass will process and store the capture record header
-data, but it will not store the pseudo-header.
+data, but it will not store the pseudo-header. Note that the
+seek_and_read routine should work with the "random_fh" file handle
+of the passed in wtap struct, instead of the "fh" file habndle used
+in the normal read routine.
To add the ability to write a new capture file format, you have to:
@@ -84,3 +87,6 @@ To add the ability to write a new capture file format, you have to:
put pointers to the "can_write_encap" and "dump_open" routines
in the "dump_open_table_base[]" entry for that file type.
+
+In the wiretap directory, add your source file to CMakelists.txt and
+your source and header file to Makefile.common.