[#BIO_meth_new] = BIO_meth_new :mrdocs: Allocate a new custom BIO_METHOD with the given type index and name. == Synopsis Declared in `<openssl/bio.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BIO_METHOD.adoc[BIO_METHOD]* BIO_meth_new( int type, char const* name); ---- == Return Value New method table, or NULL on allocation failure; free with BIO_meth_free(). == Parameters [cols="1,4"] |=== | Name| Description | *type* | BIO type index (often from BIO_get_new_index(), combined with BIO_TYPE_* flags). | *name* | Human‐readable method name stored on the BIO_METHOD. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#