Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
follow_stream_action.h
Go to the documentation of this file.
1
10#ifndef FOLLOWSTREAMACTION_H
11#define FOLLOWSTREAMACTION_H
12
13#include "config.h"
14
15#include <epan/packet_info.h>
16#include <epan/follow.h>
17
18#include <QAction>
19
20#include <ui/qt/capture_file.h>
21
22// Actions for "Follow Stream" menu items.
23
24class FollowStreamAction : public QAction
25{
26 Q_OBJECT
27public:
28 FollowStreamAction(QObject *parent, register_follow_t *follow = NULL);
29
30 register_follow_t* follow() const {return follow_;}
31 int protoId() const {return get_follow_proto_id(follow_);}
32 const char* filterName() const {return proto_get_protocol_filter_name(get_follow_proto_id(follow_));}
33
34private:
35 register_follow_t *follow_;
36};
37
38#endif // FOLLOWSTREAMACTION_H
Definition follow_stream_action.h:25
const char * proto_get_protocol_filter_name(const int proto_id)
Definition proto.c:8554
Definition follow.c:23