RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

Flag Identifiers

This section lists the valid BIO flag identifiers that may be set on the flags field in the BIO. These identifiers indicate the current state of the BIO.

Defines

#define BIO_FLAGS_READ
 Indicates that the BIO has data to read.

#define BIO_FLAGS_WRITE
 Indicates that the BIO has data to write.

#define BIO_FLAGS_IO_SPECIAL
 Indicates that the BIO performs custom socket I/O. More...

#define BIO_FLAGS_RWS
 Indicates a combination of BIO_FLAGS_READ, BIO_FLAGS_WRITE and BIO_FLAGS_IO_SPECIAL.

#define BIO_FLAGS_SHOULD_RETRY
 Indicates whether a retry on write or read should be attempted for the BIO. More...

#define BIO_FLAGS_FLUSH_ON_WRITE
 Indicates that the BIO should flush the data buffer on the write operation. More...

#define BIO_FLAGS_EOM
 Indicates that there is no more data in the message.

#define BIO_FLAGS_BASE64_NO_NL
 Indicates that the Base64 encoding uses no new line '\n' line ending character.

#define BIO_FLAGS_BASE64_NO_CR
 Indicates that the Base64 encoding uses no carriage return '\r' line ending character.


Define Documentation

#define BIO_FLAGS_FLUSH_ON_WRITE
 

Indicates that the BIO should flush the data buffer on the write operation. Use this flag advisedly. When this flag is set, the return value of the flush is not checked. In cases where the outcome of the flush is material, it is recommended that the user make an explicit call to BIO_flush() rather than relying on this flag.

#define BIO_FLAGS_IO_SPECIAL
 

Indicates that the BIO performs custom socket I/O. This flag is used in conjunction with BIO_FLAGS_READ and BIO_FLAGS_WRITE.

#define BIO_FLAGS_SHOULD_RETRY
 

Indicates whether a retry on write or read should be attempted for the BIO. This flag is used in conjunction with BIO_FLAGS_READ and BIO_FLAGS_WRITE.


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 072-001001-2100-001-000 - 2.1