diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r-- | src/lib/libcrypto/bio/bio.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index 2847d3729e..82463c6beb 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.44 2018/05/30 00:23:04 tb Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.45 2018/06/02 04:41:12 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 | * |
@@ -337,22 +337,22 @@ typedef int asn1_ps_func(BIO *b, unsigned char **pbuf, int *plen, void *parg); | |||
337 | /* BIO_METHOD accessors */ | 337 | /* BIO_METHOD accessors */ |
338 | BIO_METHOD *BIO_meth_new(int type, const char *name); | 338 | BIO_METHOD *BIO_meth_new(int type, const char *name); |
339 | void BIO_meth_free(BIO_METHOD *biom); | 339 | void BIO_meth_free(BIO_METHOD *biom); |
340 | int (*BIO_meth_get_write(BIO_METHOD *biom))(BIO *, const char *, int); | 340 | int (*BIO_meth_get_write(const BIO_METHOD *biom))(BIO *, const char *, int); |
341 | int BIO_meth_set_write(BIO_METHOD *biom, | 341 | int BIO_meth_set_write(BIO_METHOD *biom, |
342 | int (*write)(BIO *, const char *, int)); | 342 | int (*write)(BIO *, const char *, int)); |
343 | int (*BIO_meth_get_read(BIO_METHOD *biom))(BIO *, char *, int); | 343 | int (*BIO_meth_get_read(const BIO_METHOD *biom))(BIO *, char *, int); |
344 | int BIO_meth_set_read(BIO_METHOD *biom, int (*read)(BIO *, char *, int)); | 344 | int BIO_meth_set_read(BIO_METHOD *biom, int (*read)(BIO *, char *, int)); |
345 | int (*BIO_meth_get_puts(BIO_METHOD *biom))(BIO *, const char *); | 345 | int (*BIO_meth_get_puts(const BIO_METHOD *biom))(BIO *, const char *); |
346 | int BIO_meth_set_puts(BIO_METHOD *biom, int (*puts)(BIO *, const char *)); | 346 | int BIO_meth_set_puts(BIO_METHOD *biom, int (*puts)(BIO *, const char *)); |
347 | int (*BIO_meth_get_gets(BIO_METHOD *biom))(BIO *, char *, int); | 347 | int (*BIO_meth_get_gets(const BIO_METHOD *biom))(BIO *, char *, int); |
348 | int BIO_meth_set_gets(BIO_METHOD *biom, int (*gets)(BIO *, char *, int)); | 348 | int BIO_meth_set_gets(BIO_METHOD *biom, int (*gets)(BIO *, char *, int)); |
349 | long (*BIO_meth_get_ctrl(BIO_METHOD *biom))(BIO *, int, long, void *); | 349 | long (*BIO_meth_get_ctrl(const BIO_METHOD *biom))(BIO *, int, long, void *); |
350 | int BIO_meth_set_ctrl(BIO_METHOD *biom, long (*ctrl)(BIO *, int, long, void *)); | 350 | int BIO_meth_set_ctrl(BIO_METHOD *biom, long (*ctrl)(BIO *, int, long, void *)); |
351 | int (*BIO_meth_get_create(BIO_METHOD *biom))(BIO *); | 351 | int (*BIO_meth_get_create(const BIO_METHOD *biom))(BIO *); |
352 | int BIO_meth_set_create(BIO_METHOD *biom, int (*create)(BIO *)); | 352 | int BIO_meth_set_create(BIO_METHOD *biom, int (*create)(BIO *)); |
353 | int (*BIO_meth_get_destroy(BIO_METHOD *biom))(BIO *); | 353 | int (*BIO_meth_get_destroy(const BIO_METHOD *biom))(BIO *); |
354 | int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy)(BIO *)); | 354 | int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy)(BIO *)); |
355 | long (*BIO_meth_get_callback_ctrl(BIO_METHOD *biom))(BIO *, int, BIO_info_cb *); | 355 | long (*BIO_meth_get_callback_ctrl(const BIO_METHOD *biom))(BIO *, int, BIO_info_cb *); |
356 | int BIO_meth_set_callback_ctrl(BIO_METHOD *biom, | 356 | int BIO_meth_set_callback_ctrl(BIO_METHOD *biom, |
357 | long (*callback_ctrl)(BIO *, int, BIO_info_cb *)); | 357 | long (*callback_ctrl)(BIO *, int, BIO_info_cb *)); |
358 | 358 | ||