diff options
author | Timo Sirainen <cras@irssi.org> | 2001-08-13 13:51:49 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-08-13 13:51:49 +0000 |
commit | 4e3b1bba6290a4e5efb19a25b45b251628edff8d (patch) | |
tree | 6b320e804167c6bfe743c79f60db9b31c6d1a828 /src/core/log.h | |
parent | 08b906202805f0cb6358e1ab0c057eaa5d8082dc (diff) | |
download | irssi-4e3b1bba6290a4e5efb19a25b45b251628edff8d.zip |
/LOG OPEN -color, /SET awaylog_colors - specifies that the color codes
should be written to log file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1742 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/log.h')
-rw-r--r-- | src/core/log.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/log.h b/src/core/log.h index 7361b6a0..0bca0820 100644 --- a/src/core/log.h +++ b/src/core/log.h @@ -6,6 +6,8 @@ enum { LOG_ITEM_WINDOW_REFNUM }; +typedef char *(*COLORIZE_FUNC)(const char *str); + typedef struct { int type; char *name; @@ -22,6 +24,7 @@ typedef struct { GSList *items; /* log only on these items */ time_t last; /* when last message was written */ + COLORIZE_FUNC colorizer; unsigned int autoopen:1; /* automatically start logging at startup */ unsigned int failed:1; /* opening log failed last time */ |