![]() |
![]() |
![]() |
Camel Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
struct CamelSeekableSubstream; CamelStream * camel_seekable_substream_new (CamelSeekableStream *parent_stream
,goffset start
,goffset end
);
GObject +----CamelObject +----CamelStream +----CamelSeekableStream +----CamelSeekableSubstream
CamelStream * camel_seekable_substream_new (CamelSeekableStream *parent_stream
,goffset start
,goffset end
);
Creates a new CamelSeekableSubstream that references the portion
of parent_stream
from inf_bound
to sup_bound
. (If sup_bound
is
CAMEL_STREAM_UNBOUND, it references to the end of stream, even if
the stream grows.)
While the substream is open, the caller cannot assume anything about
the current position of parent_stream
. After the substream has been
closed, parent_stream
will stabilize again.
|
a CamelSeekableStream object |
|
a lower bound |
|
an upper bound |
Returns : |
the substream |