xref: /freebsd/crypto/openssl/doc/man3/SSL_CTX_ctrl.pod (revision e71b70530d95c4f34d8bdbd78d1242df1ba4a945)
1*e71b7053SJung-uk Kim=pod
2*e71b7053SJung-uk Kim
3*e71b7053SJung-uk Kim=head1 NAME
4*e71b7053SJung-uk Kim
5*e71b7053SJung-uk KimSSL_CTX_ctrl, SSL_CTX_callback_ctrl, SSL_ctrl, SSL_callback_ctrl - internal handling functions for SSL_CTX and SSL objects
6*e71b7053SJung-uk Kim
7*e71b7053SJung-uk Kim=head1 SYNOPSIS
8*e71b7053SJung-uk Kim
9*e71b7053SJung-uk Kim #include <openssl/ssl.h>
10*e71b7053SJung-uk Kim
11*e71b7053SJung-uk Kim long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
12*e71b7053SJung-uk Kim long SSL_CTX_callback_ctrl(SSL_CTX *, int cmd, void (*fp)());
13*e71b7053SJung-uk Kim
14*e71b7053SJung-uk Kim long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
15*e71b7053SJung-uk Kim long SSL_callback_ctrl(SSL *, int cmd, void (*fp)());
16*e71b7053SJung-uk Kim
17*e71b7053SJung-uk Kim=head1 DESCRIPTION
18*e71b7053SJung-uk Kim
19*e71b7053SJung-uk KimThe SSL_*_ctrl() family of functions is used to manipulate settings of
20*e71b7053SJung-uk Kimthe SSL_CTX and SSL objects. Depending on the command B<cmd> the arguments
21*e71b7053SJung-uk KimB<larg>, B<parg>, or B<fp> are evaluated. These functions should never
22*e71b7053SJung-uk Kimbe called directly. All functionalities needed are made available via
23*e71b7053SJung-uk Kimother functions or macros.
24*e71b7053SJung-uk Kim
25*e71b7053SJung-uk Kim=head1 RETURN VALUES
26*e71b7053SJung-uk Kim
27*e71b7053SJung-uk KimThe return values of the SSL*_ctrl() functions depend on the command
28*e71b7053SJung-uk Kimsupplied via the B<cmd> parameter.
29*e71b7053SJung-uk Kim
30*e71b7053SJung-uk Kim=head1 SEE ALSO
31*e71b7053SJung-uk Kim
32*e71b7053SJung-uk KimL<ssl(7)>
33*e71b7053SJung-uk Kim
34*e71b7053SJung-uk Kim=head1 COPYRIGHT
35*e71b7053SJung-uk Kim
36*e71b7053SJung-uk KimCopyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.
37*e71b7053SJung-uk Kim
38*e71b7053SJung-uk KimLicensed under the OpenSSL license (the "License").  You may not use
39*e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
40*e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
41*e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
42*e71b7053SJung-uk Kim
43*e71b7053SJung-uk Kim=cut
44