X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Ffe-common%2Fcore%2Fhilight-text.h;h=74c58780c2ffb63dc7fa2185831f135be7989a32;hb=63ca577177f9f5db8e553372a9793b0c85f10715;hp=6e5107374ebc98ab268a504177e2ad0859927218;hpb=60c165f23f8d5553bd8b4fd43366fbf5f24c2832;p=silc.git diff --git a/apps/irssi/src/fe-common/core/hilight-text.h b/apps/irssi/src/fe-common/core/hilight-text.h index 6e510737..74c58780 100644 --- a/apps/irssi/src/fe-common/core/hilight-text.h +++ b/apps/irssi/src/fe-common/core/hilight-text.h @@ -5,6 +5,8 @@ # include #endif +#include "formats.h" + typedef struct _HILIGHT_REC HILIGHT_REC; struct _HILIGHT_REC { @@ -36,9 +38,12 @@ HILIGHT_REC *hilight_match(SERVER_REC *server, const char *channel, int level, const char *str, int *match_beg, int *match_end); -char *hilight_match_nick(SERVER_REC *server, const char *channel, +HILIGHT_REC *hilight_match_nick(SERVER_REC *server, const char *channel, const char *nick, const char *address, int level, const char *msg); + +char *hilight_get_color(HILIGHT_REC *rec); +void hilight_update_text_dest(TEXT_DEST_REC *dest, HILIGHT_REC *rec); void hilight_create(HILIGHT_REC *rec); void hilight_remove(HILIGHT_REC *rec);