Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / core / line-split.h
1 #ifndef __LINE_SPLIT_H
2 #define __LINE_SPLIT_H
3
4 /* line-split `data'. Initially `*buffer' should contain NULL. */
5 int line_split(const char *data, int len, char **output, LINEBUF_REC **buffer);
6 void line_split_free(LINEBUF_REC *buffer);
7
8 /* Return 1 if there is no data in the buffer */
9 int line_split_is_empty(LINEBUF_REC *buffer);
10
11 #endif