gboolean (*decode_part_to_stream) (ModestAccountProtocol *protocol,
TnyMimePart *part,
TnyStream *stream,
- GError *error);
+ gssize *written,
+ GError **error);
gboolean (*decode_part_to_stream_async) (ModestAccountProtocol *protocol,
TnyMimePart *part,
TnyStream *stream,
* @self: a #ModestAccountProtocol
* @part: a #TnyMimePart
* @stream: a #TnyStream
+ * @written: a #gssize pointer, with the number of bytes written
* @error: a #GError
*
* This virtual method delegates on the account protocol to decode @part
modest_account_protocol_decode_part_to_stream (ModestAccountProtocol *protocol,
TnyMimePart *part,
TnyStream *stream,
- GError *error);
+ gssize *written,
+ GError **error);
/**
* modest_account_protocol_decode_part_to_stream_async:
* @self: a #ModestAccountProtocol
* @part: a #TnyMimePart
* @stream: a #TnyStream
- * @error: a #GError
*
* This virtual method delegates on the account protocol to decode @part
* into @stream, but asynchronously.