summaryrefslogtreecommitdiff
path: root/libopie2/opienet/onetutils.h
Unidiff
Diffstat (limited to 'libopie2/opienet/onetutils.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/onetutils.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/libopie2/opienet/onetutils.h b/libopie2/opienet/onetutils.h
index 0dabe8d..6640515 100644
--- a/libopie2/opienet/onetutils.h
+++ b/libopie2/opienet/onetutils.h
@@ -36,8 +36,12 @@
36#include <qmap.h> 36#include <qmap.h>
37#include <qstring.h> 37#include <qstring.h>
38#include <qhostaddress.h> 38#include <qhostaddress.h>
39#include <qobject.h>
40
41#include <sys/types.h>
39 42
40struct ifreq; 43struct ifreq;
44class OWirelessNetworkInterface;
41 45
42/*====================================================================================== 46/*======================================================================================
43 * OMacAddress 47 * OMacAddress
@@ -80,6 +84,27 @@ class OHostAddress : public QHostAddress
80 84
81 85
82/*====================================================================================== 86/*======================================================================================
87 * OPrivateIOCTL
88 *======================================================================================*/
89
90class OPrivateIOCTL : public QObject
91{
92 public:
93 OPrivateIOCTL( QObject* parent, const char* name, int cmd, int getargs, int setargs );
94 ~OPrivateIOCTL();
95
96 int numberGetArgs() const;
97 int typeGetArgs() const;
98 int numberSetArgs() const;
99 int typeSetArgs() const;
100
101 private:
102 u_int32_t _ioctl;
103 u_int16_t _getargs;
104 u_int16_t _setargs;
105};
106
107 /*======================================================================================
83 * Miscellaneous 108 * Miscellaneous
84 *======================================================================================*/ 109 *======================================================================================*/
85 110