2015-08-05 11:30:40 +10:00
|
|
|
#ifndef _SWAY_READLINE_H
|
|
|
|
#define _SWAY_READLINE_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
char *read_line(FILE *file);
|
2018-06-02 08:35:16 +10:00
|
|
|
char *peek_line(FILE *file, int line_offset, long *position);
|
2016-01-28 23:56:46 +11:00
|
|
|
char *read_line_buffer(FILE *file, char *string, size_t string_len);
|
2015-08-05 11:30:40 +10:00
|
|
|
|
|
|
|
#endif
|