diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/bio/bio.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index e06faa03ee..2d46535096 100644 --- a/src/lib/libcrypto/bio/bio.h +++ b/src/lib/libcrypto/bio/bio.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bio.h,v 1.36 2018/02/20 18:10:27 tb Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.37 2018/02/20 18:13:31 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -338,11 +338,17 @@ BIO_METHOD *BIO_meth_new(int type, const char *name); | |||
| 338 | void BIO_meth_free(BIO_METHOD *biom); | 338 | void BIO_meth_free(BIO_METHOD *biom); |
| 339 | int BIO_meth_set_write(BIO_METHOD *biom, | 339 | int BIO_meth_set_write(BIO_METHOD *biom, |
| 340 | int (*write)(BIO *, const char *, int)); | 340 | int (*write)(BIO *, const char *, int)); |
| 341 | int (*BIO_meth_get_read(BIO_METHOD *biom))(BIO *, char *, int); | ||
| 341 | int BIO_meth_set_read(BIO_METHOD *biom, int (*read)(BIO *, char *, int)); | 342 | int BIO_meth_set_read(BIO_METHOD *biom, int (*read)(BIO *, char *, int)); |
| 343 | int (*BIO_meth_get_puts(BIO_METHOD *biom))(BIO *, const char *); | ||
| 342 | int BIO_meth_set_puts(BIO_METHOD *biom, int (*puts)(BIO *, const char *)); | 344 | int BIO_meth_set_puts(BIO_METHOD *biom, int (*puts)(BIO *, const char *)); |
| 345 | int (*BIO_meth_get_gets(BIO_METHOD *biom))(BIO *, char *, int); | ||
| 343 | int BIO_meth_set_gets(BIO_METHOD *biom, int (*gets)(BIO *, char *, int)); | 346 | int BIO_meth_set_gets(BIO_METHOD *biom, int (*gets)(BIO *, char *, int)); |
| 347 | long (*BIO_meth_get_ctrl(BIO_METHOD *biom))(BIO *, int, long, void *); | ||
| 344 | int BIO_meth_set_ctrl(BIO_METHOD *biom, long (*ctrl)(BIO *, int, long, void *)); | 348 | int BIO_meth_set_ctrl(BIO_METHOD *biom, long (*ctrl)(BIO *, int, long, void *)); |
| 349 | int (*BIO_meth_get_create(BIO_METHOD *biom))(BIO *); | ||
| 345 | int BIO_meth_set_create(BIO_METHOD *biom, int (*create)(BIO *)); | 350 | int BIO_meth_set_create(BIO_METHOD *biom, int (*create)(BIO *)); |
| 351 | int (*BIO_meth_get_destroy(BIO_METHOD *biom))(BIO *); | ||
| 346 | int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy)(BIO *)); | 352 | int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy)(BIO *)); |
| 347 | 353 | ||
| 348 | /* connect BIO stuff */ | 354 | /* connect BIO stuff */ |
