summaryrefslogtreecommitdiff
authordwmw2 <dwmw2>2002-05-09 17:31:30 (UTC)
committer dwmw2 <dwmw2>2002-05-09 17:31:30 (UTC)
commite7b6e8c14e2c7ed7fe440d018a28ea1b5d3020e5 (patch) (unidiff)
tree90c3988928839cea18249e159f0a6d04547935fb
parent37b512ee81aacdc53c4cf5de18a2eb7c0819086d (diff)
downloadopie-e7b6e8c14e2c7ed7fe440d018a28ea1b5d3020e5.zip
opie-e7b6e8c14e2c7ed7fe440d018a28ea1b5d3020e5.tar.gz
opie-e7b6e8c14e2c7ed7fe440d018a28ea1b5d3020e5.tar.bz2
qregexp.h
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/comm/keypebble/krfblogin.cpp1
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
4extern "C" { 4extern "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).
14const int ServerVersionLength = 12; 15const int ServerVersionLength = 12;
15const int ClientVersionLength = 12; 16const int ClientVersionLength = 12;
16const int AuthSchemeLength = 4; 17const int AuthSchemeLength = 4;
17const int FailureReasonSizeLength = 4; 18const int FailureReasonSizeLength = 4;
18const int ChallengeLength = 16; 19const int ChallengeLength = 16;
19const int AuthResultLength = 4; 20const int AuthResultLength = 4;
20 21
21// Authentication results 22// Authentication results
22enum AuthResult { 23enum AuthResult {
23 AuthOk, 24 AuthOk,
24 AuthFailed, 25 AuthFailed,
25 AuthTooMany 26 AuthTooMany
26}; 27};
27 28
28typedef unsigned char CARD8; 29typedef unsigned char CARD8;
29typedef unsigned short CARD16; 30typedef unsigned short CARD16;
30typedef unsigned long CARD32; 31typedef unsigned long CARD32;
31 32
32const int endianTest = 1; 33const int endianTest = 1;
33 34
34// Endian stuff 35// Endian stuff