| GSF Reference Manual |
|---|
TextText — |
GsfInputTextline;
GsfInput* gsf_input_textline_new (GsfInput *source);
unsigned char* gsf_input_textline_ascii_gets
(GsfInputTextline *input);
guint8* gsf_input_textline_utf8_gets (GsfInputTextline *input);
GsfInput* gsf_input_textline_new (GsfInput *source);
NOTE : adds a reference to source
| source : | in some combination of ascii and utf8 |
| Returns : | a new file or NULL. |
unsigned char* gsf_input_textline_ascii_gets
(GsfInputTextline *input);A utility routine to read things line by line from the underlying source. Trailing newlines and carriage returns are stripped, and the resultant buffer can be edited.
| input : | |
| Returns : | the string read, or NULL on eof. |
guint8* gsf_input_textline_utf8_gets (GsfInputTextline *input);
A utility routine to read things line by line from the underlying source. Trailing newlines and carriage returns are stripped, and the resultant buffer can be edited.
| input : | |
| Returns : | the string read, or NULL on eof. |
| << Stream Parsers | XML and libxml >> |