1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
irssi/src/core/line-split.h
2019-05-01 22:22:22 +02:00

12 lines
358 B
C

#ifndef IRSSI_CORE_LINE_SPLIT_H
#define IRSSI_CORE_LINE_SPLIT_H
/* line-split `data'. Initially `*buffer' should contain NULL. */
int line_split(const char *data, int len, char **output, LINEBUF_REC **buffer);
void line_split_free(LINEBUF_REC *buffer);
/* Return 1 if there is no data in the buffer */
int line_split_is_empty(LINEBUF_REC *buffer);
#endif