## gmime-stream-filter

gmime-stream-filter —

## Synopsis

    struct      GMimeStreamFilter;
    GMimeStream* g_mime_stream_filter_new_with_stream
                                                (GMimeStream *stream);
    int         g_mime_stream_filter_add        (GMimeStreamFilter *fstream,
                                                 GMimeFilter *filter);
    void        g_mime_stream_filter_remove     (GMimeStreamFilter *fstream,
                                                 int id);

## Object Hierarchy

      GObject
       +----GMimeStream
             +----GMimeStreamFilter

## Description

## Details

### struct GMimeStreamFilter

    struct GMimeStreamFilter;

### g_mime_stream_filter_new_with_stream ()

    GMimeStream* g_mime_stream_filter_new_with_stream
                                                (GMimeStream *stream);

Creates a new GMimeStreamFilter object using `stream` as the source stream.

`stream` : | source stream
Returns : | a new filter stream with `stream` as its source.

### g_mime_stream_filter_add ()

    int         g_mime_stream_filter_add        (GMimeStreamFilter *fstream,
                                                 GMimeFilter *filter);

Adds a `filter` to `fstream`.

`fstream` : | filter stream
`filter` : | filter
Returns : | an id for the filter.

### g_mime_stream_filter_remove ()

    void        g_mime_stream_filter_remove     (GMimeStreamFilter *fstream,
                                                 int id);

Removed a filter from the stream based on the id (as returned from filter_add).

`fstream` : | filter stream
`id` : | filter id