StreamCat.addSource

int addSource(gmime.stream.Stream source)

Adds the source stream to the cat.

Parameters

sourcea source stream

Returns

0 on success or %-1 on fail.