X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/193d4db30cf65950bf79d7dd2bfce98c83bb778e..b2ee72e4487d9ec90ff64f63d8f8c3974d96bc5c:/include/s_serv.h diff --git a/include/s_serv.h b/include/s_serv.h index 04193cb7..6808c37e 100644 --- a/include/s_serv.h +++ b/include/s_serv.h @@ -20,14 +20,12 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA - * - * $Id: s_serv.h 1863 2006-08-27 13:40:37Z jilles $ */ #ifndef INCLUDED_serv_h #define INCLUDED_serv_h -#include "config.h" +#include "defaults.h" #include "capability.h" /* @@ -56,8 +54,8 @@ extern struct CapabilityIndex *cli_capindex; #define CLICAP_FLAGS_REQACK 0x002 struct ClientCapability { - int (*visible)(void); /* whether or not to display the capability. set to NULL or true return value = displayed */ - const char *(*data)(void); /* any custom data for the capability. set to NULL or return NULL = no data */ + 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; };