| RSA BSAFE Micro Edition Suite |
Streamlined security for mobile and embedded devices |
 
![]() |
Functions | |
| int | BIO_set_close (BIO *bio, long mode) |
| Sets the close mode for the BIO bio. More... | |
| int | BIO_get_close (BIO *bio) |
| Returns the close flag for the BIO bio. More... | |
| int | BIO_pending (BIO *bio) |
| Indicates that additional buffered data is available internally for the application to read from the BIO bio. More... | |
| int | BIO_wpending (BIO *bio) |
| Indicates that all the data in the buffer has not yet been written. More... | |
| int | BIO_flush (BIO *bio) |
| Flushes any data stored in any output buffers of the BIO stack bio. More... | |
| int | BIO_get_info_cb (BIO *bio, char *cbp) |
| Retrieves the information callback set against the BIO bio. More... | |
| int | BIO_set_info_cb (BIO *bio, char *cbp) |
| Sets the information callback against BIO bio. More... | |
| void R_CDECL | BIO_set_flags (BIO *bio, int f) |
| Sets the flags indicating the current state of the BIO bio. More... | |
| int R_CDECL | BIO_get_flags (BIO *bio) |
| Returns the flags indicating the current state of the BIO bio. More... | |
| void R_CDECL | BIO_set_retry_special (BIO *bio) |
| Sets the retry flag and the mode of retry to BIO_FLAGS_IO_SPECIAL for the connection BIO bio. More... | |
| void R_CDECL | BIO_set_retry_read (BIO *bio) |
| Sets the retry flag and the mode of retry to BIO_FLAGS_READ for the connection BIO bio. More... | |
| void R_CDECL | BIO_set_retry_write (BIO *bio) |
| Sets the retry flag and the mode of retry to BIO_FLAGS_WRITE for the connection BIO bio. More... | |
| void R_CDECL | BIO_clear_flags (BIO *bio, int f) |
| Clears the flags used internally by the BIO bio. More... | |
| void R_CDECL | BIO_clear_retry_flags (BIO *bio) |
Clears the flags field for BIO_FLAGS_RWS and BIO_FLAGS_SHOULD_RETRY for the BIO bio. More... | |
| int R_CDECL | BIO_get_retry_flags (BIO *bio) |
Retrieves the settings from the retry flags field for the BIO bio. More... | |
| int R_CDECL | BIO_should_read (BIO *bio) |
| Indicates whether the last read operation should be retried for the BIO bio. More... | |
| int R_CDECL | BIO_should_write (BIO *bio) |
| Indicates whether the last write operation should be retried for the BIO bio. More... | |
| int R_CDECL | BIO_should_io_special (BIO *bio) |
| Indicates a BIO-specific retry reason caused the transitory error for the BIO bio. More... | |
| int R_CDECL | BIO_retry_type (BIO *bio) |
| Returns the setting corresponding to the BIO_FLAGS_RWS flag for the BIO bio and indicates of the type of retry required. More... | |
| int R_CDECL | BIO_should_retry (BIO *bio) |
| Indicates whether the last I/O operation (read or write) should be retried for the BIO bio. More... | |
| int R_CDECL | BIO_get_retry_reason (BIO *bio) |
| Returns the settings from the retry reason field for the BIO bio. More... | |
| char* R_CDECL | BIO_method_name (BIO *bio) |
| Returns the name field for the method structure for the BIO bio. More... | |
| int R_CDECL | BIO_method_type (BIO *bio) |
| Returns the numeric type of the method structure for the BIO bio. More... | |
|
||||||||||||
|
Clears the flags used internally by the BIO bio.
|
|
|
Clears the
|
|
|
Flushes any data stored in any output buffers of the BIO stack bio.
|
|
|
Returns the close flag for the BIO bio.
|
|
|
Returns the flags indicating the current state of the BIO bio.
|
|
||||||||||||
|
Retrieves the information callback set against the BIO bio.
|
|
|
Retrieves the settings from the
|
|
|
Returns the settings from the retry reason field for the BIO bio. If an error occurs and is able to be retried, (for example a non-blocking I/O error), this function returns the reason it should be retried. For example, if BIO_should_retry() is set and BIO_read() is attempted and returns -1, then attempt BIO_get_retry_reason(). Wait for more data to become available and retry the read operation.
|
|
|
Returns the name field for the method structure for the BIO bio. The method name is set during BIO creation.
|
|
|
Returns the numeric type of the method structure for the BIO bio. The method type is set during BIO creation.
|
|
|
Indicates that additional buffered data is available internally for the application to read from the BIO bio. The remaining Bytes can be read from the internal data buffer without reading any more data from the peer. When using select system calls, BIO_pending() helps the application avoid waiting for data from the peer when it is already available in a local buffer.
|
|
|
Returns the setting corresponding to the BIO_FLAGS_RWS flag for the BIO bio and indicates of the type of retry required.
|
|
||||||||||||
|
Sets the close mode for the BIO bio. When a BIO is freed, the underlying file descriptor or pointer is closed/freed depending on the specified flag. In particular, if there is a file pointer BIO implementing
|
|
||||||||||||
|
Sets the flags indicating the current state of the BIO bio.
|
|
||||||||||||
|
Sets the information callback against BIO bio.
|
|
|
Sets the retry flag and the mode of retry to BIO_FLAGS_READ for the connection BIO bio.
|
|
|
Sets the retry flag and the mode of retry to BIO_FLAGS_IO_SPECIAL for the connection BIO bio.
|
|
|
Sets the retry flag and the mode of retry to BIO_FLAGS_WRITE for the connection BIO bio.
|
|
|
Indicates a BIO-specific retry reason caused the transitory error for the BIO bio. The most common transitory error occurs when using a non-blocking I/O connection.
|
|
|
Indicates whether the last read operation should be retried for the BIO bio. This is used with a non-blocking I/O to distinguish between a temporary failure to complete an operation and an error.
|
|
|
Indicates whether the last I/O operation (read or write) should be retried for the BIO bio. This is used with non-blocking I/O to distinguish between a temporary failure to complete an operation and an error.
|
|
|
Indicates whether the last write operation should be retried for the BIO bio. This is used with non-blocking I/O to distinguish between a temporary failure to complete an operation and an error.
|
|
|
Indicates that all the data in the buffer has not yet been written. An application can keep flushing the data until this function indicates otherwise.
|