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