mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d01b094151
commit
c95034c6de
206 changed files with 31247 additions and 0 deletions
13
src/core/line-split.h
Normal file
13
src/core/line-split.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef __LINE_SPLIT_H
|
||||
#define __LINE_SPLIT_H
|
||||
|
||||
typedef struct _LINEBUF_REC LINEBUF_REC;
|
||||
|
||||
/* 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue