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