cdk_stream_t cdk_stream_tmp( void ) { cdk_stream_t s; int rc = cdk_stream_new( NULL, &s ); if( !rc ) return s; return NULL; }
/** * cdk_stream_tmp_new: * @r_out: the new temp stream. * * Allocates a new tempory stream which is not associated with a file. */ cdk_error_t cdk_stream_tmp_new (cdk_stream_t * r_out) { return cdk_stream_new (NULL, r_out); }