-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 | |||
@@ -602,12 +602,17 @@ class OPacketCapturer : public QObject | |||
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 | */ |