snark
Public Member Functions | List of all members
proprietary_reader Class Reference

#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

Detailed Description

a simple pcap wrapper


The documentation for this class was generated from the following files: