Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / core / rawlog.h
1 #ifndef __RAWLOG_H
2 #define __RAWLOG_H
3
4 struct _RAWLOG_REC {
5         int logging;
6         int handle;
7
8         int nlines;
9         GSList *lines;
10 };
11
12 RAWLOG_REC *rawlog_create(void);
13 void rawlog_destroy(RAWLOG_REC *rawlog);
14
15 void rawlog_input(RAWLOG_REC *rawlog, const char *str);
16 void rawlog_output(RAWLOG_REC *rawlog, const char *str);
17 void rawlog_redirect(RAWLOG_REC *rawlog, const char *str);
18
19 void rawlog_set_size(int lines);
20
21 void rawlog_open(RAWLOG_REC *rawlog, const char *fname);
22 void rawlog_close(RAWLOG_REC *rawlog);
23 void rawlog_save(RAWLOG_REC *rawlog, const char *fname);
24
25 void rawlog_init(void);
26 void rawlog_deinit(void);
27
28 #endif