gsf-input-textline

Name

gsf-input-textline -- 

Synopsis



#define     GSF_INPUT_TEXTLINE_TYPE
#define     GSF_INPUT_TEXTLINE              (o)
#define     GSF_IS_INPUT_TEXTLINE           (o)
struct      GsfInputTextline;
GType       gsf_input_textline_get_type     (void);
GsfInputTextline* gsf_input_textline_new    (GsfInput *source);
unsigned char* gsf_input_textline_ascii_gets
                                            (GsfInputTextline *input);
guint8*     gsf_input_textline_utf8_gets    (GsfInputTextline *input);

Description

Details

GSF_INPUT_TEXTLINE_TYPE

#define GSF_INPUT_TEXTLINE_TYPE        (gsf_input_textline_get_type ())


GSF_INPUT_TEXTLINE()

#define GSF_INPUT_TEXTLINE(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_INPUT_TEXTLINE_TYPE, GsfInputTextline))

o :


GSF_IS_INPUT_TEXTLINE()

#define GSF_IS_INPUT_TEXTLINE(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_INPUT_TEXTLINE_TYPE))

o :


struct GsfInputTextline

struct GsfInputTextline;


gsf_input_textline_get_type ()

GType       gsf_input_textline_get_type     (void);

Returns :


gsf_input_textline_new ()

GsfInputTextline* 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.