2001-09-13 23:05:42 +08:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
SSL_CTX_ctrl, SSL_CTX_callback_ctrl, SSL_ctrl, SSL_callback_ctrl - internal handling functions for SSL_CTX and SSL objects
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
#include <openssl/ssl.h>
|
|
|
|
|
2001-10-21 01:56:36 +08:00
|
|
|
long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
|
2001-09-13 23:05:42 +08:00
|
|
|
long SSL_CTX_callback_ctrl(SSL_CTX *, int cmd, void (*fp)());
|
|
|
|
|
2001-10-21 01:56:36 +08:00
|
|
|
long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
|
2001-09-13 23:05:42 +08:00
|
|
|
long SSL_callback_ctrl(SSL *, int cmd, void (*fp)());
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
The SSL_*_ctrl() family of functions is used to manipulate settings of
|
|
|
|
the SSL_CTX and SSL objects. Depending on the command B<cmd> the arguments
|
|
|
|
B<larg>, B<parg>, or B<fp> are evaluated. These functions should never
|
|
|
|
be called directly. All functionalities needed are made available via
|
|
|
|
other functions or macros.
|
|
|
|
|
|
|
|
=head1 RETURN VALUES
|
|
|
|
|
|
|
|
The return values of the SSL*_ctrl() functions depend on the command
|
|
|
|
supplied via the B<cmd> parameter.
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2016-11-11 16:33:09 +08:00
|
|
|
L<ssl(7)>
|
2001-09-13 23:05:42 +08:00
|
|
|
|
2016-05-18 23:44:05 +08:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
|
2018-12-06 21:04:44 +08:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 23:44:05 +08:00
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|