X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fs_conf.h;h=d2a38245149dc3782f80b6f4e2601ff7ab94aabe;hb=dbe4d8defbfe9e7cb2332e771c8472e365bef7f4;hp=e58d9faf188b0f7143375b2d3c2324c678adcb2d;hpb=c2fba0ceb4787249efa808c85ad8f6dc4c0ec3d4;p=ircu2.10.12-pk.git diff --git a/include/s_conf.h b/include/s_conf.h index e58d9fa..d2a3824 100644 --- a/include/s_conf.h +++ b/include/s_conf.h @@ -134,6 +134,8 @@ struct nick_host { char nick[1]; /**< start of nick\@server string */ }; +#define SMAP_FAST 1 /**< Command does not have MFLG_SLOW. */ + /** Target set for a service pseudo-command. */ struct s_map { struct s_map *next; /**< Next element in #GlobalServiceMapList. */ @@ -141,6 +143,7 @@ struct s_map { char *name; /**< Text name of the mapping. */ char *command; /**< Command name to use. */ char *prepend; /**< Extra text to prepend to user's text. */ + unsigned int flags; /**< Bitwise map of SMAP_* flags. */ struct nick_host *services; /**< Linked list of possible targets. */ };