Logo Search packages:      
Sourcecode: tcptrack version File versions  Download package

PcapError.h

#ifndef PCAPERROR_H
#define PCAPERROR_H

#include "AppError.h"
#include <string>

using namespace std;

// this exception is thrown when a pcap_*() function call returns an error.

class PcapError : public AppError
{
public:
      PcapError( char *func, char *errbuf );
      PcapError( const PcapError &e );
      string msg() const;
private:
      string f;
      string e;
};

#endif

Generated by  Doxygen 1.6.0   Back to index