xref: /minix3/crypto/external/bsd/openssl/dist/doc/ssl/SSL_CTX_ctrl.pod (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1*ebfedea0SLionel Sambuc=pod
2*ebfedea0SLionel Sambuc
3*ebfedea0SLionel Sambuc=head1 NAME
4*ebfedea0SLionel Sambuc
5*ebfedea0SLionel SambucSSL_CTX_ctrl, SSL_CTX_callback_ctrl, SSL_ctrl, SSL_callback_ctrl - internal handling functions for SSL_CTX and SSL objects
6*ebfedea0SLionel Sambuc
7*ebfedea0SLionel Sambuc=head1 SYNOPSIS
8*ebfedea0SLionel Sambuc
9*ebfedea0SLionel Sambuc #include <openssl/ssl.h>
10*ebfedea0SLionel Sambuc
11*ebfedea0SLionel Sambuc long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
12*ebfedea0SLionel Sambuc long SSL_CTX_callback_ctrl(SSL_CTX *, int cmd, void (*fp)());
13*ebfedea0SLionel Sambuc
14*ebfedea0SLionel Sambuc long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
15*ebfedea0SLionel Sambuc long SSL_callback_ctrl(SSL *, int cmd, void (*fp)());
16*ebfedea0SLionel Sambuc
17*ebfedea0SLionel Sambuc=head1 DESCRIPTION
18*ebfedea0SLionel Sambuc
19*ebfedea0SLionel SambucThe SSL_*_ctrl() family of functions is used to manipulate settings of
20*ebfedea0SLionel Sambucthe SSL_CTX and SSL objects. Depending on the command B<cmd> the arguments
21*ebfedea0SLionel SambucB<larg>, B<parg>, or B<fp> are evaluated. These functions should never
22*ebfedea0SLionel Sambucbe called directly. All functionalities needed are made available via
23*ebfedea0SLionel Sambucother functions or macros.
24*ebfedea0SLionel Sambuc
25*ebfedea0SLionel Sambuc=head1 RETURN VALUES
26*ebfedea0SLionel Sambuc
27*ebfedea0SLionel SambucThe return values of the SSL*_ctrl() functions depend on the command
28*ebfedea0SLionel Sambucsupplied via the B<cmd> parameter.
29*ebfedea0SLionel Sambuc
30*ebfedea0SLionel Sambuc=head1 SEE ALSO
31*ebfedea0SLionel Sambuc
32*ebfedea0SLionel SambucL<ssl(3)|ssl(3)>
33*ebfedea0SLionel Sambuc
34*ebfedea0SLionel Sambuc=cut
35