line_buffer Struct Reference

A line buffer. More...

#include <linebuf.h>


Data Fields

char * data
 Current string in the buffer.
size_t len
 Length of current string, excluding the terminating NUL.
int ready
 String is ready to read.


Detailed Description

A line buffer.

Definition at line 16 of file linebuf.h.


Field Documentation

Current string in the buffer.

Definition at line 18 of file linebuf.h.

Referenced by buffered_line(), empty_line_buffer(), line_buffer(), and linebuf_test().

Length of current string, excluding the terminating NUL.

Definition at line 20 of file linebuf.h.

Referenced by empty_line_buffer(), line_buffer(), and linebuf_test().

String is ready to read.

Definition at line 22 of file linebuf.h.

Referenced by buffered_line(), empty_line_buffer(), and line_buffer().


The documentation for this struct was generated from the following file:

Generated on Tue Apr 6 20:02:06 2010 for gPXE by  doxygen 1.5.7.1