-rw-r--r-- | libopie2/opienet/opcap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libopie2/opienet/opcap.h b/libopie2/opienet/opcap.h index ddef278..c9b0624 100644 --- a/libopie2/opienet/opcap.h +++ b/libopie2/opienet/opcap.h @@ -48,2 +48,3 @@ extern "C" // work around a bpf/pcap conflict in recent headers /* QT */ +#include <qevent.h> #include <qhostaddress.h> @@ -51,2 +52,3 @@ extern "C" // work around a bpf/pcap conflict in recent headers #include <qstring.h> +#include <qmap.h> @@ -82,2 +84,4 @@ class OPacket : public QObject + void updateStats( QMap<QString,int>&, QObjectList* ); + private: @@ -436,2 +440,4 @@ class OPacketCapturer : public QObject + const QMap<QString,int>& statistics() const; + signals: @@ -448,2 +454,3 @@ class OPacketCapturer : public QObject mutable char _errbuf[PCAP_ERRBUF_SIZE]; + QMap<QString, int> _stats; // statistics; }; |