Text

Text —

Synopsis




struct      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);

Object Hierarchy


  GObject
   +----GsfInput
         +----GsfInputTextline

Description

Details

struct GsfInputTextline

struct GsfInputTextline;


gsf_input_textline_new ()

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.

gsf_input_textline_ascii_gets ()

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 stipped, and the resultant buffer can be edited.

input :
Returns :the string read, or NULL on eof.

gsf_input_textline_utf8_gets ()

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 stipped, and the resultant buffer can be edited.

input :
Returns :the string read, or NULL on eof.