+ /** Write to all users with a given snomask (local server only)
+ * @param letter The snomask letter to write to
+ * @param text A format string containing text to send
+ * @param ... Format arguments
+ */
+ void WriteToSnoMask(char letter, const char* text, ...) CUSTOM_PRINTF(3, 4);
+
+ /** Write to all users with a given snomask (sent globally)
+ * @param letter The snomask letter to write to
+ * @param text The text to send to the users
+ */
+ void WriteGlobalSno(char letter, const std::string &text);
+
+ /** Write to all users with a given snomask (sent globally)
+ * @param letter The snomask letter to write to
+ * @param text A format string containing text to send
+ * @param ... Format arguments
+ */
+ void WriteGlobalSno(char letter, const char* text, ...) CUSTOM_PRINTF(3, 4);
+
+ /** Called once per 5 seconds from the mainloop, this flushes any cached
+ * snotices. The way the caching works is as follows:
+ * Calls to WriteToSnoMask write to a cache, if the call is the same as it was
+ * for the previous call, then a count is incremented. If it is different,
+ * the previous message it just sent normally via NOTICE (with count if > 1)
+ * and the new message is cached. This acts as a sender in case the number of notices
+ * is not particularly significant, in order to keep notices going out.
+ */
+ void FlushSnotices();
+
+ /** Check whether a given character is an enabled (initialized) snomask.
+ * Valid snomask chars are lower- or uppercase letters and have a description.
+ * Snomasks are initialized with EnableSnomask().
+ * @param ch The character to check
+ * @return True if the given char is allowed to be set via +s.
+ */
+ bool IsSnomaskUsable(char ch) const;
+};