summaryrefslogtreecommitdiff
path: root/src/fe-common/core/hilight-text.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-04-26 08:03:38 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-04-26 08:03:38 +0000
commitc95034c6de1bf72536595e1e3431d8ec64b9880e (patch)
treee51aa4528257ed8aa9d53640649519f299aaf0c7 /src/fe-common/core/hilight-text.h
parentd01b094151705d433bc43cae9eeb304e6f110a17 (diff)
downloadirssi-c95034c6de1bf72536595e1e3431d8ec64b9880e.zip
..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/hilight-text.h')
-rw-r--r--src/fe-common/core/hilight-text.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/fe-common/core/hilight-text.h b/src/fe-common/core/hilight-text.h
new file mode 100644
index 00000000..6e047278
--- /dev/null
+++ b/src/fe-common/core/hilight-text.h
@@ -0,0 +1,22 @@
+#ifndef __HILIGHT_TEXT_H
+#define __HILIGHT_TEXT_H
+
+typedef struct {
+ char *text;
+
+ char **channels; /* if non-NULL, check the text only from these channels */
+ int level; /* match only messages with this level, 0=default */
+ char *color; /* if starts with number, \003 is automatically
+ inserted before it. */
+
+ int nickmask:1; /* `text 'is a nick mask - colorify the nick */
+ int fullword:1; /* match `text' only for full words */
+ int regexp:1; /* `text' is a regular expression */
+} HILIGHT_REC;
+
+extern GSList *hilights;
+
+void hilight_text_init(void);
+void hilight_text_deinit(void);
+
+#endif