X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=abd669795823cd669f22425299c2ef894199f006;hb=aab02573197e93132c9263df28b23ec718c4e9b4;hp=e356a0fb6437c7d534f380acf9554aba4f7cd366;hpb=5e6f3661d30bc760f912dfe0627e5c62c6f2c144;p=quassel.git diff --git a/src/core/core.h b/src/core/core.h index e356a0fb..abd66979 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -494,6 +494,14 @@ public: static inline QDateTime startTime() { return instance()->_startTime; } static inline bool isConfigured() { return instance()->_configured; } static bool sslSupported(); + + /** + * Reloads SSL certificates used for connection with clients + * + * @return True if certificates reloaded successfully, otherwise false. + */ + static bool reloadCerts(); + static QVariantList backendInfo(); static QString setup(const QString &adminUser, const QString &adminPassword, const QString &backend, const QVariantMap &setupData); @@ -533,7 +541,7 @@ private slots: void socketError(QAbstractSocket::SocketError err, const QString &errorString); void setupClientSession(RemotePeer *, UserId); - void changeUserPass(const QString &username); + bool changeUserPass(const QString &username); private: Core(); @@ -551,7 +559,7 @@ private: void unregisterStorageBackends(); void unregisterStorageBackend(Storage *); bool selectBackend(const QString &backend); - void createUser(); + bool createUser(); void saveBackendSettings(const QString &backend, const QVariantMap &settings); QVariantMap promptForSettings(const Storage *storage);