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