| GMime 2.6 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
struct GMimeStreamCat; GMimeStream * g_mime_stream_cat_new (void); int g_mime_stream_cat_add_source (GMimeStreamCat *cat,GMimeStream *source);
struct GMimeStreamCat {
GMimeStream parent_object;
struct _cat_node *sources;
struct _cat_node *current;
};
A concatenation of other GMimeStream objects.
GMimeStream |
parent GMimeStream |
| list of sources | |
| current source |
GMimeStream * g_mime_stream_cat_new (void);
Creates a new GMimeStreamCat object.
Returns : |
a new GMimeStreamCat stream. |
int g_mime_stream_cat_add_source (GMimeStreamCat *cat,GMimeStream *source);
Adds the source stream to the cat.
|
a GMimeStreamCat |
|
a source stream |
Returns : |
0 on success or -1 on fail. |