Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
BIO_dup_chain, BIO_dup_state — copy a BIO chainSYNOPSIS
#include <openssl/bio.h>BIO_dup_chain(BIO *b);
BIO_dup_state(BIO *b, BIO *new_bio);
DESCRIPTION
BIO_dup_chain() copies the chain starting at b by iteratively copying b and all the BIOs following it and joining the copies in the same order as in the original chain. The copying operation is neither a deep copy nor a shallow copy.- The type pointer used for creating each BIO with BIO_new(3), implying that functions like BIO_method_name(3) return pointers to the same strings for the BIOs in the copied chain, and that these strings are not copied.
- All function pointers, in particular those installed with BIO_set_callback_ex(3) and BIO_get_callback_ex(3).
- The pointer installed with BIO_set_callback_arg(3), which implies that for BIOs using BIO_debug_callback(3), those in the copied chain use the same BIOs for debugging output as the corresponding ones in the original chain, and none of the debugging output BIOs are copied.