From 65123f8064934df6ab1149d3e0d60441a5699014 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Sat, 10 Nov 2001 02:12:56 +0000 Subject: [PATCH] remove incorrect 'callback' prototype --- doc/ssl/SSL_CTX_set_info_callback.pod | 2 -- doc/ssl/ssl.pod | 9 +++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/ssl/SSL_CTX_set_info_callback.pod b/doc/ssl/SSL_CTX_set_info_callback.pod index e61be4e388..63d0b8d33f 100644 --- a/doc/ssl/SSL_CTX_set_info_callback.pod +++ b/doc/ssl/SSL_CTX_set_info_callback.pod @@ -14,8 +14,6 @@ SSL_CTX_set_info_callback, SSL_CTX_get_info_callback, SSL_set_info_callback, SSL void SSL_set_info_callback(SSL *ssl, void (*callback)()); void (*SSL_get_info_callback(SSL *ssl))(); - int (*callback)(); - =head1 DESCRIPTION SSL_CTX_set_info_callback() sets the B function, that can be used to diff --git a/doc/ssl/ssl.pod b/doc/ssl/ssl.pod index 1d2bd45392..b948d59e59 100644 --- a/doc/ssl/ssl.pod +++ b/doc/ssl/ssl.pod @@ -317,6 +317,10 @@ protocol context defined in the B structure. =item void B(SSL_CTX *ctx, void (*cb)(SSL *ssl, int cb, int ret)); +=item void B(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); + +=item void B(SSL_CTX *ctx, void *arg); + =item void B(SSL_CTX *ctx, unsigned long op); =item void B(SSL_CTX *ctx, int mode); @@ -576,6 +580,10 @@ connection defined in the B structure. =item void B(SSL *ssl, void (*cb);(void)) +=item void B(SSL *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); + +=item void B(SSL *ctx, void *arg); + =item void B(SSL *ssl, unsigned long op); =item void B(SSL *ssl, int mode); @@ -672,6 +680,7 @@ L, L, L, L, +L, L, L, L, -- 2.25.1