xref: /onnv-gate/usr/src/common/openssl/doc/ssl/SSL_CTX_ctrl.pod (revision 2175:b0b2f052a486)
1*2175Sjp161948=pod
2*2175Sjp161948
3*2175Sjp161948=head1 NAME
4*2175Sjp161948
5*2175Sjp161948SSL_CTX_ctrl, SSL_CTX_callback_ctrl, SSL_ctrl, SSL_callback_ctrl - internal handling functions for SSL_CTX and SSL objects
6*2175Sjp161948
7*2175Sjp161948=head1 SYNOPSIS
8*2175Sjp161948
9*2175Sjp161948 #include <openssl/ssl.h>
10*2175Sjp161948
11*2175Sjp161948 long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
12*2175Sjp161948 long SSL_CTX_callback_ctrl(SSL_CTX *, int cmd, void (*fp)());
13*2175Sjp161948
14*2175Sjp161948 long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
15*2175Sjp161948 long SSL_callback_ctrl(SSL *, int cmd, void (*fp)());
16*2175Sjp161948
17*2175Sjp161948=head1 DESCRIPTION
18*2175Sjp161948
19*2175Sjp161948The SSL_*_ctrl() family of functions is used to manipulate settings of
20*2175Sjp161948the SSL_CTX and SSL objects. Depending on the command B<cmd> the arguments
21*2175Sjp161948B<larg>, B<parg>, or B<fp> are evaluated. These functions should never
22*2175Sjp161948be called directly. All functionalities needed are made available via
23*2175Sjp161948other functions or macros.
24*2175Sjp161948
25*2175Sjp161948=head1 RETURN VALUES
26*2175Sjp161948
27*2175Sjp161948The return values of the SSL*_ctrl() functions depend on the command
28*2175Sjp161948supplied via the B<cmd> parameter.
29*2175Sjp161948
30*2175Sjp161948=head1 SEE ALSO
31*2175Sjp161948
32*2175Sjp161948L<ssl(3)|ssl(3)>
33*2175Sjp161948
34*2175Sjp161948=cut
35