author | mickeyl <mickeyl> | 2003-04-03 23:46:04 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-03 23:46:04 (UTC) |
commit | 487971af0c1b70babcc39fd549dc0d8142cd4865 (patch) (unidiff) | |
tree | e317df1359a20686ba35b17309a8b82386108fb3 /libopie2/opienet/onetutils.h | |
parent | 934e4d81bc078c704a39f02663607a6c16a5b29f (diff) | |
download | opie-487971af0c1b70babcc39fd549dc0d8142cd4865.zip opie-487971af0c1b70babcc39fd549dc0d8142cd4865.tar.gz opie-487971af0c1b70babcc39fd549dc0d8142cd4865.tar.bz2 |
first part of private IOCTL API for OWirelessNetworkInterface implemented
-rw-r--r-- | libopie2/opienet/onetutils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libopie2/opienet/onetutils.h b/libopie2/opienet/onetutils.h index 6640515..8be042b 100644 --- a/libopie2/opienet/onetutils.h +++ b/libopie2/opienet/onetutils.h | |||
@@ -89,28 +89,32 @@ class OHostAddress : public QHostAddress | |||
89 | 89 | ||
90 | class OPrivateIOCTL : public QObject | 90 | class OPrivateIOCTL : public QObject |
91 | { | 91 | { |
92 | public: | 92 | public: |
93 | OPrivateIOCTL( QObject* parent, const char* name, int cmd, int getargs, int setargs ); | 93 | OPrivateIOCTL( QObject* parent, const char* name, int cmd, int getargs, int setargs ); |
94 | ~OPrivateIOCTL(); | 94 | ~OPrivateIOCTL(); |
95 | 95 | ||
96 | int numberGetArgs() const; | 96 | int numberGetArgs() const; |
97 | int typeGetArgs() const; | 97 | int typeGetArgs() const; |
98 | int numberSetArgs() const; | 98 | int numberSetArgs() const; |
99 | int typeSetArgs() const; | 99 | int typeSetArgs() const; |
100 | 100 | ||
101 | void invoke() const; | ||
102 | void setParameter( int, u_int32_t ); | ||
103 | |||
101 | private: | 104 | private: |
102 | u_int32_t _ioctl; | 105 | u_int32_t _ioctl; |
103 | u_int16_t _getargs; | 106 | u_int16_t _getargs; |
104 | u_int16_t _setargs; | 107 | u_int16_t _setargs; |
108 | |||
105 | }; | 109 | }; |
106 | 110 | ||
107 | /*====================================================================================== | 111 | /*====================================================================================== |
108 | * Miscellaneous | 112 | * Miscellaneous |
109 | *======================================================================================*/ | 113 | *======================================================================================*/ |
110 | 114 | ||
111 | /* dump bytes */ | 115 | /* dump bytes */ |
112 | 116 | ||
113 | void dumpBytes( const unsigned char* data, int num ); | 117 | void dumpBytes( const unsigned char* data, int num ); |
114 | 118 | ||
115 | /* Network to host order macros */ | 119 | /* Network to host order macros */ |
116 | 120 | ||