3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef INTERFACE_TOOLBAR_READER_H
11 #define INTERFACE_TOOLBAR_READER_H
21 class InterfaceToolbarReader
;
24 class InterfaceToolbarReader
: public QObject
29 InterfaceToolbarReader(QString ifname
, void *control_in
, QObject
*parent
= 0) :
33 control_in_((HANDLE
)control_in
)
35 control_in_((char *)control_in
),
45 void received(QString ifname
, int num
, int command
, QByteArray payload
);
50 int async_pipe_read(void *data
, int nbyte
);
52 int pipe_read(char *data
, int nbyte
);
63 #endif // INTERFACE_TOOLBAR_READER_H