author | dwmw2 <dwmw2> | 2002-05-09 17:31:30 (UTC) |
---|---|---|
committer | dwmw2 <dwmw2> | 2002-05-09 17:31:30 (UTC) |
commit | e7b6e8c14e2c7ed7fe440d018a28ea1b5d3020e5 (patch) (unidiff) | |
tree | 90c3988928839cea18249e159f0a6d04547935fb | |
parent | 37b512ee81aacdc53c4cf5de18a2eb7c0819086d (diff) | |
download | opie-e7b6e8c14e2c7ed7fe440d018a28ea1b5d3020e5.zip opie-e7b6e8c14e2c7ed7fe440d018a28ea1b5d3020e5.tar.gz opie-e7b6e8c14e2c7ed7fe440d018a28ea1b5d3020e5.tar.bz2 |
qregexp.h
-rw-r--r-- | noncore/comm/keypebble/krfblogin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/comm/keypebble/krfblogin.cpp b/noncore/comm/keypebble/krfblogin.cpp index 073ba0e..cc3a8fa 100644 --- a/noncore/comm/keypebble/krfblogin.cpp +++ b/noncore/comm/keypebble/krfblogin.cpp | |||
@@ -1,34 +1,35 @@ | |||
1 | #include <assert.h> | 1 | #include <assert.h> |
2 | 2 | ||
3 | 3 | ||
4 | extern "C" { | 4 | extern "C" { |
5 | #include "vncauth.h" | 5 | #include "vncauth.h" |
6 | } | 6 | } |
7 | 7 | ||
8 | #include "krfblogin.h" | 8 | #include "krfblogin.h" |
9 | #include "krfbconnection.h" | 9 | #include "krfbconnection.h" |
10 | #include <qtimer.h> | 10 | #include <qtimer.h> |
11 | #include <qregexp.h> | ||
11 | 12 | ||
12 | // The length of the various messages (used to decide how many bytes to | 13 | // The length of the various messages (used to decide how many bytes to |
13 | // wait for). | 14 | // wait for). |
14 | const int ServerVersionLength = 12; | 15 | const int ServerVersionLength = 12; |
15 | const int ClientVersionLength = 12; | 16 | const int ClientVersionLength = 12; |
16 | const int AuthSchemeLength = 4; | 17 | const int AuthSchemeLength = 4; |
17 | const int FailureReasonSizeLength = 4; | 18 | const int FailureReasonSizeLength = 4; |
18 | const int ChallengeLength = 16; | 19 | const int ChallengeLength = 16; |
19 | const int AuthResultLength = 4; | 20 | const int AuthResultLength = 4; |
20 | 21 | ||
21 | // Authentication results | 22 | // Authentication results |
22 | enum AuthResult { | 23 | enum AuthResult { |
23 | AuthOk, | 24 | AuthOk, |
24 | AuthFailed, | 25 | AuthFailed, |
25 | AuthTooMany | 26 | AuthTooMany |
26 | }; | 27 | }; |
27 | 28 | ||
28 | typedef unsigned char CARD8; | 29 | typedef unsigned char CARD8; |
29 | typedef unsigned short CARD16; | 30 | typedef unsigned short CARD16; |
30 | typedef unsigned long CARD32; | 31 | typedef unsigned long CARD32; |
31 | 32 | ||
32 | const int endianTest = 1; | 33 | const int endianTest = 1; |
33 | 34 | ||
34 | // Endian stuff | 35 | // Endian stuff |