H A D | bio_meth.c | 38 BIO_METHOD *biom = OPENSSL_zalloc(sizeof(BIO_METHOD)); local 40 if (biom == NULL 41 || (biom->name = OPENSSL_strdup(name)) == NULL) { 42 OPENSSL_free(biom); 46 biom->type = type; 47 return biom; 50 void BIO_meth_free(BIO_METHOD *biom) argument 52 if (biom != NULL) { 53 OPENSSL_free(biom->name); 54 OPENSSL_free(biom); 58 BIO_meth_get_write(const BIO_METHOD *biom) argument 63 BIO_meth_get_write_ex(const BIO_METHOD *biom) argument 89 BIO_meth_set_write(BIO_METHOD *biom, int (*bwrite) (BIO *, const char *, int)) argument 97 BIO_meth_set_write_ex(BIO_METHOD *biom, int (*bwrite) (BIO *, const char *, size_t, size_t *)) argument 105 BIO_meth_get_read(const BIO_METHOD *biom) argument 110 BIO_meth_get_read_ex(const BIO_METHOD *biom) argument 135 BIO_meth_set_read(BIO_METHOD *biom, int (*bread) (BIO *, char *, int)) argument 143 BIO_meth_set_read_ex(BIO_METHOD *biom, int (*bread) (BIO *, char *, size_t, size_t *)) argument 151 BIO_meth_get_puts(const BIO_METHOD *biom) argument 156 BIO_meth_set_puts(BIO_METHOD *biom, int (*bputs) (BIO *, const char *)) argument 163 BIO_meth_get_gets(const BIO_METHOD *biom) argument 168 BIO_meth_set_gets(BIO_METHOD *biom, int (*bgets) (BIO *, char *, int)) argument 175 BIO_meth_get_ctrl(const BIO_METHOD *biom) argument 180 BIO_meth_set_ctrl(BIO_METHOD *biom, long (*ctrl) (BIO *, int, long, void *)) argument 187 BIO_meth_get_create(const BIO_METHOD *biom) argument 192 BIO_meth_set_create(BIO_METHOD *biom, int (*create) (BIO *)) argument 198 BIO_meth_get_destroy(const BIO_METHOD *biom) argument 203 BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy) (BIO *)) argument 209 BIO_meth_get_callback_ctrl(const BIO_METHOD *biom) argument 214 BIO_meth_set_callback_ctrl(BIO_METHOD *biom, long (*callback_ctrl) (BIO *, int, BIO_info_cb *)) argument [all...] |