Module mesalink::libcrypto::bio [−][src]
Expand description
Implementations of OpenSSL BIO APIs. Please also refer to the header file at mesalink/openssl/bio.h
Structs
An I/O abstraction, it hides many of the underlying I/O details from an application.
Enums
A structure used for the implementation of new BIO types
Functions
BIO_append_filename()
sets the file BIO b to use file name for appending.
BIO_free()
frees a BIO
BIO_get_close()
returns the BIOs close flag.
BIO_gets
attempts to read a line of data from the BIO b of maximum
length len and places teh data in buf.
BIO_new()
returns a new BIO using method type
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.
BIO_new_fp()
screates a file BIO wrapping stream
BIO_new_mem_buf()
creates a memory BIO using len
bytes of data at buf
BIO_puts
attempts to write a null terminated string buf to BIO b.
BIO_read
attempts to read len bytes from BIO b and places the data in
buf。
BIO_read_filename()
sets the file BIO b to use file name for reading.
BIO_rw_filename()
sets the file BIO b to use file name for reading and
writing.
BIO_s_file()
returns the BIO file method.
BIO_s_file()
returns the BIO memory method.
BIO_set_close()
sets the BIO b close flag to flag
BIO_set_fp()
sets the fp of a file BIO to fp
.
BIO_write
attempts to write len bytes from buf to BIO b.
BIO_write_filename()
sets the file BIO b to use file name for writing.