Exemple #1
0
cdk_stream_t
cdk_stream_tmp( void )
{
    cdk_stream_t s;
    int rc = cdk_stream_new( NULL, &s );
    if( !rc )
        return s;
    return NULL;
}
Exemple #2
0
/**
 * 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);
}