[][src]Function mesalink::libcrypto::bio::mesalink_BIO_new_file

#[no_mangle]
pub extern "C" fn mesalink_BIO_new_file<'a>(
    filename_ptr: *const c_char,
    mode_ptr: *const c_char
) -> *mut MESALINK_BIO<'a>

BIO_new_file() creates a new file BIO with mode mode the meaning of mode is the same as the stdio function fopen(). The BIO_CLOSE flag is set on the returned BIO.

#include <mesalink/openssl/bio.h>

BIO *BIO_new_file(const char *filename, const char *mode);