| GMime Reference Manual |
|---|
struct GMimeStreamFs; GMimeStream* g_mime_stream_fs_new (int fd); GMimeStream* g_mime_stream_fs_new_with_bounds (int fd, off_t start, off_t end);
struct GMimeStreamFs {
GMimeStream parent_object;
gboolean owner;
gboolean eos;
int fd;
};GMimeStream* g_mime_stream_fs_new (int fd);
Creates a new GMimeStreamFs object around fd.
| fd : | file descriptor |
| Returns : | a stream using fd. |
GMimeStream* g_mime_stream_fs_new_with_bounds (int fd, off_t start, off_t end);
Creates a new GMimeStreamFs object around fd with bounds start and end.
| fd : | file descriptor |
| start : | start boundary |
| end : | end boundary |
| Returns : | a stream using fd with bounds start and end. |
| <<< gmime-stream-file | gmime-stream-mem >>> |