snark
|
#include <proprietary_reader.h>
Inherits noncopyable.
Public Member Functions | |
void | close () |
close | |
proprietary_reader (const std::string &filename="-") | |
constructor, open a file, default stdin | |
const char * | read () |
read and return pointer to the current packet; NULL, if end of file | |
boost::posix_time::ptime | timestamp () const |
return current timestamp | |
~proprietary_reader () | |
destructor, close file |
a simple pcap wrapper