+/* register client capabilities with this structure for 3.2 enhanced capability negotiation */
+#define CLICAP_FLAGS_STICKY 0x001
+#define CLICAP_FLAGS_REQACK 0x002
+
+struct ClientCapability {
+ bool (*visible)(struct Client *); /* whether or not to display the capability. set to NULL or true return value = displayed */
+ const char *(*data)(struct Client *); /* any custom data for the capability. set to NULL or return NULL = no data */
+ unsigned int flags;
+};
+
+/* builtin client capabilities */
+extern unsigned int CLICAP_MULTI_PREFIX;
+extern unsigned int CLICAP_ACCOUNT_NOTIFY;
+extern unsigned int CLICAP_EXTENDED_JOIN;
+extern unsigned int CLICAP_AWAY_NOTIFY;
+extern unsigned int CLICAP_USERHOST_IN_NAMES;
+extern unsigned int CLICAP_CAP_NOTIFY;
+extern unsigned int CLICAP_CHGHOST;
+extern unsigned int CLICAP_ECHO_MESSAGE;
+