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.h4
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
90class OPrivateIOCTL : public QObject 90class 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
113void dumpBytes( const unsigned char* data, int num ); 117void dumpBytes( const unsigned char* data, int num );
114 118
115/* Network to host order macros */ 119/* Network to host order macros */
116 120