gmime-stream-file

Name

gmime-stream-file -- 

Synopsis



struct      GMimeStreamFile;
GMimeStream* g_mime_stream_file_new         (FILE *fp);
GMimeStream* g_mime_stream_file_new_with_bounds
                                            (FILE *fp,
                                             off_t start,
                                             off_t end);


Description

Details

struct GMimeStreamFile

struct GMimeStreamFile {
	GMimeStream parent_object;
	
	gboolean owner;
	FILE *fp;
};


g_mime_stream_file_new ()

GMimeStream* g_mime_stream_file_new         (FILE *fp);

Creates a new GMimeStreamFile object around fp.

fp : file pointer
Returns :a stream using fp.


g_mime_stream_file_new_with_bounds ()

GMimeStream* g_mime_stream_file_new_with_bounds
                                            (FILE *fp,
                                             off_t start,
                                             off_t end);

Creates a new GMimeStreamFile object around fp with bounds start and end.

fp : file pointer
start : start boundary
end : end boundary
Returns :a stream using fp with bounds start and end.