summaryrefslogtreecommitdiff
path: root/libopie2/opienet/onetutils.h
Unidiff
Diffstat (limited to 'libopie2/opienet/onetutils.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opienet/onetutils.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libopie2/opienet/onetutils.h b/libopie2/opienet/onetutils.h
index 18731ba..541c5ab 100644
--- a/libopie2/opienet/onetutils.h
+++ b/libopie2/opienet/onetutils.h
@@ -81,15 +81,16 @@ bool operator==( const OMacAddress &m1, const OMacAddress &m2 );
81/*====================================================================================== 81/*======================================================================================
82 * OHostAddress 82 * OHostAddress
83 *======================================================================================*/ 83 *======================================================================================*/
84 84
85class OHostAddress : public QHostAddress 85class OHostAddress : public QHostAddress
86{ 86{
87 public: 87 /*public:
88 OHostAddress(); 88 OHostAddress();
89 ~OHostAddress(); 89 ~OHostAddress();
90 */
90}; 91};
91 92
92 93
93/*====================================================================================== 94/*======================================================================================
94 * OPrivateIOCTL 95 * OPrivateIOCTL
95 *======================================================================================*/ 96 *======================================================================================*/
@@ -117,15 +118,15 @@ class OPrivateIOCTL : public QObject
117}; 118};
118 119
119 /*====================================================================================== 120 /*======================================================================================
120 * Miscellaneous 121 * Miscellaneous
121 *======================================================================================*/ 122 *======================================================================================*/
122 123
123/* dump bytes */
124
125void dumpBytes( const unsigned char* data, int num ); 124void dumpBytes( const unsigned char* data, int num );
125QString modeToString( int );
126int stringToMode( const QString& );
126 127
127/* Network to host order macros */ 128/* Network to host order macros */
128 129
129#ifdef LBL_ALIGN 130#ifdef LBL_ALIGN
130#define EXTRACT_16BITS(p) \ 131#define EXTRACT_16BITS(p) \
131 ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 0) << 8 | \ 132 ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 0) << 8 | \