diff options
author | Ben Laurie <ben@openssl.org> | 2002-01-12 18:56:13 +0300 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2002-01-12 18:56:13 +0300 |
commit | 45d87a1ffe45b668cb6a6645bdc3e21a69324a41 (patch) | |
tree | 8ae8409ca34138234bd53020665619e80b60273f /crypto/bio/bio.h | |
parent | a3feb21bbe14539160bdf66a520d669b8dff79f6 (diff) |
Prototype info function.
Diffstat (limited to 'crypto/bio/bio.h')
-rw-r--r-- | crypto/bio/bio.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h index 379cd58324..c687e8c28c 100644 --- a/crypto/bio/bio.h +++ b/crypto/bio/bio.h @@ -467,8 +467,9 @@ int BIO_read_filename(BIO *b,const char *name); size_t BIO_ctrl_pending(BIO *b); size_t BIO_ctrl_wpending(BIO *b); #define BIO_flush(b) (int)BIO_ctrl(b,BIO_CTRL_FLUSH,0,NULL) -#define BIO_get_info_callback(b,cbp) (int)BIO_ctrl(b,BIO_CTRL_GET_CALLBACK,0,(bio_info_cb **)(cbp)) -#define BIO_set_info_callback(b,cb) (int)BIO_callback_ctrl(b,BIO_CTRL_SET_CALLBACK,(bio_info_cb *)(cb)) +#define BIO_get_info_callback(b,cbp) (int)BIO_ctrl(b,BIO_CTRL_GET_CALLBACK,0, \ + cbp) +#define BIO_set_info_callback(b,cb) (int)BIO_callback_ctrl(b,BIO_CTRL_SET_CALLBACK,cb) /* For the BIO_f_buffer() type */ #define BIO_buffer_get_num_lines(b) BIO_ctrl(b,BIO_CTRL_GET,0,NULL) |