author | mickeyl <mickeyl> | 2004-03-28 17:32:44 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-28 17:32:44 (UTC) |
commit | 1c151bedaa6cfcc8f10c7b5aa549de3e6628d271 (patch) (side-by-side diff) | |
tree | 23cb7abf06ff3092e629095546f1171761321716 | |
parent | e2368b92a101437f7ed289d5ae62f7e7e2466344 (diff) | |
download | opie-1c151bedaa6cfcc8f10c7b5aa549de3e6628d271.zip opie-1c151bedaa6cfcc8f10c7b5aa549de3e6628d271.tar.gz opie-1c151bedaa6cfcc8f10c7b5aa549de3e6628d271.tar.bz2 |
add some FIXMEs for later API revisions
-rw-r--r-- | libopie2/opienet/opcap.cpp | 2 | ||||
-rw-r--r-- | libopie2/opienet/opcap.h | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/libopie2/opienet/opcap.cpp b/libopie2/opienet/opcap.cpp index c5df041..93176c0 100644 --- a/libopie2/opienet/opcap.cpp +++ b/libopie2/opienet/opcap.cpp @@ -58,4 +58,6 @@ OPacket::OPacket( int datalink, packetheaderstruct header, const unsigned char* :QObject( parent, "Generic" ), _hdr( header ), _data( data ) { + //FIXME: Copy the data structure here, because it isn't persistent. Check that. + qDebug( "OPacket::OPacket(): (Len %d, CapLen %d)" /*, ctime((const time_t*) header.ts.tv_sec)*/, header.len, header.caplen ); diff --git a/libopie2/opienet/opcap.h b/libopie2/opienet/opcap.h index 4ff8495..2dbe030 100644 --- a/libopie2/opienet/opcap.h +++ b/libopie2/opienet/opcap.h @@ -131,11 +131,11 @@ class OPacket : public QObject int caplen() const; int len() const; - QString dump( int = 32 ) const; + QString dump( int = 32 ) const; //FIXME: remove that - void updateStats( QMap<QString,int>&, QObjectList* ); + void updateStats( QMap<QString,int>&, QObjectList* ); //FIXME: Revise - QString dumpStructure() const; + QString dumpStructure() const; //FIXME: Revise private: - QString _dumpStructure( QObjectList* ) const; + QString _dumpStructure( QObjectList* ) const; //FIXME: Revise private: @@ -148,5 +148,5 @@ class OPacket : public QObject }; -QTextStream& operator<<( QTextStream& s, const OPacket& p ); +QTextStream& operator<<( QTextStream& s, const OPacket& p ); //FIXME: Revise /*====================================================================================== |