summaryrefslogtreecommitdiff
path: root/libopie2/opienet/onetutils.h
Side-by-side diff
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
@@ -37,6 +37,10 @@
#include <qstring.h>
#include <qhostaddress.h>
+#include <qobject.h>
+
+#include <sys/types.h>
struct ifreq;
+class OWirelessNetworkInterface;
/*======================================================================================
@@ -81,4 +85,25 @@ class OHostAddress : public QHostAddress
/*======================================================================================
+ * OPrivateIOCTL
+ *======================================================================================*/
+
+class OPrivateIOCTL : public QObject
+{
+ public:
+ OPrivateIOCTL( QObject* parent, const char* name, int cmd, int getargs, int setargs );
+ ~OPrivateIOCTL();
+
+ int numberGetArgs() const;
+ int typeGetArgs() const;
+ int numberSetArgs() const;
+ int typeSetArgs() const;
+
+ private:
+ u_int32_t _ioctl;
+ u_int16_t _getargs;
+ u_int16_t _setargs;
+};
+
+ /*======================================================================================
* Miscellaneous
*======================================================================================*/