Lines Matching refs:methods_async
38 static BIO_METHOD *methods_async = NULL;
47 if (methods_async == NULL) {
48 methods_async = BIO_meth_new(BIO_TYPE_ASYNC_FILTER, "Async filter");
49 if ( methods_async == NULL
50 || !BIO_meth_set_write(methods_async, async_write)
51 || !BIO_meth_set_read(methods_async, async_read)
52 || !BIO_meth_set_puts(methods_async, async_puts)
53 || !BIO_meth_set_gets(methods_async, async_gets)
54 || !BIO_meth_set_ctrl(methods_async, async_ctrl)
55 || !BIO_meth_set_create(methods_async, async_new)
56 || !BIO_meth_set_destroy(methods_async, async_free))
59 return methods_async;
416 BIO_meth_free(methods_async);