projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve PostgreSQL performance for unread message fetch method, too.
[quassel.git]
/
src
/
core
/
coreauthhandler.h
diff --git
a/src/core/coreauthhandler.h
b/src/core/coreauthhandler.h
index
85580c9
..
dc7532e
100644
(file)
--- a/
src/core/coreauthhandler.h
+++ b/
src/core/coreauthhandler.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
3
by the Quassel Project *
+ * Copyright (C) 2005-201
6
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-22,6
+22,7
@@
#define COREAUTHHANDLER_H
#include "authhandler.h"
#define COREAUTHHANDLER_H
#include "authhandler.h"
+#include "peerfactory.h"
#include "remotepeer.h"
#include "types.h"
#include "remotepeer.h"
#include "types.h"
@@
-42,21
+43,29
@@
private:
void handle(const Protocol::SetupData &msg);
void handle(const Protocol::Login &msg);
void handle(const Protocol::SetupData &msg);
void handle(const Protocol::Login &msg);
+ void setPeer(RemotePeer *peer);
+ void startSsl();
+
bool checkClientRegistered();
private slots:
bool checkClientRegistered();
private slots:
- void startSsl();
+ void onReadyRead();
+
#ifdef HAVE_SSL
void onSslErrors();
#endif
#ifdef HAVE_SSL
void onSslErrors();
#endif
- // only in
compat
mode
+ // only in
legacy
mode
void onProtocolVersionMismatch(int actual, int expected);
private:
RemotePeer *_peer;
void onProtocolVersionMismatch(int actual, int expected);
private:
RemotePeer *_peer;
+ bool _magicReceived;
+ bool _legacy;
bool _clientRegistered;
bool _clientRegistered;
+ quint8 _connectionFeatures;
+ QVector<PeerFactory::ProtoDescriptor> _supportedProtos;
};
#endif
};
#endif