-rw-r--r-- | libopie2/opienet/opcap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libopie2/opienet/opcap.h b/libopie2/opienet/opcap.h index 51f067a..54b256b 100644 --- a/libopie2/opienet/opcap.h +++ b/libopie2/opienet/opcap.h | |||
@@ -596,24 +596,29 @@ class OPacketCapturer : public QObject | |||
596 | void dump( OPacket* ); | 596 | void dump( OPacket* ); |
597 | /** | 597 | /** |
598 | * @returns the file descriptor of the packet capturer. This is only useful, if | 598 | * @returns the file descriptor of the packet capturer. This is only useful, if |
599 | * not using the socket notifier, e.g. without an application object. | 599 | * not using the socket notifier, e.g. without an application object. |
600 | */ | 600 | */ |
601 | int fileno() const; | 601 | int fileno() const; |
602 | /** | 602 | /** |
603 | * @returns the next @ref OPacket from the packet capturer. | 603 | * @returns the next @ref OPacket from the packet capturer. |
604 | * @note If blocking mode is true then this call might block. | 604 | * @note If blocking mode is true then this call might block. |
605 | */ | 605 | */ |
606 | OPacket* next(); | 606 | OPacket* next(); |
607 | /** | 607 | /** |
608 | * @returns the next @ref OPacket from the packet capturer, if | ||
609 | * one arrives within @a time milliseconds. | ||
610 | */ | ||
611 | OPacket* next( int time ); | ||
612 | /** | ||
608 | * Open the packet capturer to capture packets in live-mode from @a interface. | 613 | * Open the packet capturer to capture packets in live-mode from @a interface. |
609 | */ | 614 | */ |
610 | bool open( const QString& interface ); | 615 | bool open( const QString& interface ); |
611 | /** | 616 | /** |
612 | * Open the packet capturer to capture packets in offline-mode from @a file. | 617 | * Open the packet capturer to capture packets in offline-mode from @a file. |
613 | */ | 618 | */ |
614 | bool open( const QFile& file ); | 619 | bool open( const QFile& file ); |
615 | /** | 620 | /** |
616 | * Open a prerecorded tcpdump compatible capture file for use with @ref dump() | 621 | * Open a prerecorded tcpdump compatible capture file for use with @ref dump() |
617 | */ | 622 | */ |
618 | bool openDumpFile( const QString& filename ); | 623 | bool openDumpFile( const QString& filename ); |
619 | /** | 624 | /** |