|  |  |  | Camel Reference Manual |  | 
|---|---|---|---|---|
                    CamelStreamVFS;
CamelStream*        camel_stream_vfs_new_with_uri       (const char *uri,
                                                         int flags,
                                                         mode_t mode);
CamelStream*        camel_stream_vfs_new_with_handle    (GnomeVFSHandle *handle);
typedef struct {
	CamelSeekableStream parent_object;
	GnomeVFSHandle *handle;
} CamelStreamVFS;
CamelStream* camel_stream_vfs_new_with_uri (const char *uri, int flags, mode_t mode);
Creates a new CamelStreamVFS corresponding to the named file, flags, and mode.
| uri: | |
| flags: | flags as in open(2) | 
| mode: | a file mode | 
| Returns : | the new stream, or NULLon error. | 
CamelStream* camel_stream_vfs_new_with_handle (GnomeVFSHandle *handle);
Creates a new fs stream using the given GnomeVFS handle handle as the
backing store. When the stream is destroyed, the file descriptor
will be closed.
| handle: | a GnomeVFS handle | 
| Returns : | a new CamelStreamVFS |