gtpc1m5bTransmission Control Protocol/Internet Protocol

SSL_aor

The SSL_aor function allows the issuing entry control block (ECB) to exit and the specified program to be activated in a new ECB when data is available for reading on a shared Secure Sockets Layer (SSL) session.

Format

#include <openssl/ssl.h>
int SSL_AOR(SSL *ssl, unsigned char *parm,
                      unsigned char *pgm, unsigned int istream)

ssl
A pointer to a token returned on the SSL_new call for the shared SSL session.

parm
A pointer to an 8-byte field. The 8 bytes of data are passed to the new ECB.

pgm
A pointer to a 4-byte field that contains the name of the TPF real-time program to activate when the new ECB is created.

istream
The I-stream number on which to activate the specified program in the new ECB. If you specify a value of 0, the least busy I-stream is selected.

Normal Return

Return code 1 indicates that the function was successful.

Error Return

A return code equal to 0 indicates an error. The following are the most likely causes of errors:

Programming Considerations

Examples

For sample SSL applications, go to http://www.ibm.com/tpf/pubs/tpfpubs.htm, click SSL for the TPF 4.1 System: An Online User's Guide, and click Examples from the left navigation bar.

Related Information