X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=2015f70a3dc27fc9cfce1d98a190cece0cc9dd41;hp=aab2b84b0a115a18872cd8152cfff8ca6c9d718d;hb=5013eef8eb17221e8f5866977f02e970e30ec0ac;hpb=52a9fb467b925789608b9bfd6cb27808ba75273f 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);