Ethereal-dev: [Ethereal-dev] Role of subtpe_seek_read in wth stucture

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Raman Singla" <ramans@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 12 May 2006 01:54:34 +0530
HI,
Kindly tell me the role of having a seek_read function (while writing for a new capture format).
 
writing read function & initializing wth->subtype_read with it one can understand as it is rquired for reading a packet,
 
but what is role of wriring of seek_read & intilizing wth->subtype_seek_read?
 
what will happen when user will operate if one not writing seek_read & initialing
wth->subtype_seek_read with NULL.
 
regards
Raman