1 #ifndef _IPXE_LINEBUF_H
2 #define _IPXE_LINEBUF_H
10 FILE_LICENCE ( GPL2_OR_LATER );
17 /** Current string in the buffer */
19 /** Length of current string, excluding the terminating NUL */
21 /** String is ready to read */
25 extern char * buffered_line ( struct line_buffer *linebuf );
26 extern ssize_t line_buffer ( struct line_buffer *linebuf,
27 const char *data, size_t len );
28 extern void empty_line_buffer ( struct line_buffer *linebuf );
30 #endif /* _IPXE_LINEBUF_H */