GMime Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
struct GMimeStreamMmap; GMimeStream* g_mime_stream_mmap_new (int fd, int prot, int flags); GMimeStream* g_mime_stream_mmap_new_with_bounds (int fd, int prot, int flags, off_t start, off_t end); |
struct GMimeStreamMmap { GMimeStream parent_object; gboolean owner; gboolean eos; int fd; char *map; size_t maplen; }; |
GMimeStream* g_mime_stream_mmap_new (int fd, int prot, int flags); |
Creates a new GMimeStreamMmap object around fd.
GMimeStream* g_mime_stream_mmap_new_with_bounds (int fd, int prot, int flags, off_t start, off_t end); |
Creates a new GMimeStreamMmap object around fd with bounds start and end.