From 52a9752ed0fea76fe191445a7d240f58e4e8daeb Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 24 Sep 2023 10:32:48 +0100 Subject: [PATCH] Add comments to header --- include/znc/Client.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/znc/Client.h b/include/znc/Client.h index a7b543c0..04316b67 100644 --- a/include/znc/Client.h +++ b/include/znc/Client.h @@ -225,8 +225,20 @@ class CClient : public CIRCSocket { */ void SetTagSupport(const CString& sTag, bool bState); + /** Notifies client about one specific cap which server has just notified us about. + */ void NotifyServerDependentCap(const CString& sCap, bool bValue); + /** Notifies client that all these caps are now available. + * + * This function will internally filter only those which are server-dependent. + * This is when new client connects to an already connected server, and + * when server has just connected and finished negotiating caps. + */ void NotifyServerDependentCaps(const SCString& ssCaps); + /** Notifies client that all server-dependent caps are not available anymore. + * + * Called when server disconnects. + */ void ClearServerDependentCaps(); void ReadLine(const CString& sData) override;