X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=2015f70a3dc27fc9cfce1d98a190cece0cc9dd41;hb=ccd09eb6ca7377f51d57c546f99c9b1c30ef97c1;hp=aab2b84b0a115a18872cd8152cfff8ca6c9d718d;hpb=8cece06596c290d69c1f32b7221c796437f5fabb;p=quassel.git diff --git a/src/core/core.h b/src/core/core.h index aab2b84b..2015f70a 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2016 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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);