Import OpenSSL-0.9.8i.
[dragonfly.git] / crypto / openssl-0.9.7e / doc / ssl / SSL_CTX_ctrl.pod
blobfb6adcf50c167686b7c7eb50a51a3cf0bc2c7779
1 =pod
3 =head1 NAME
5 SSL_CTX_ctrl, SSL_CTX_callback_ctrl, SSL_ctrl, SSL_callback_ctrl - internal handling functions for SSL_CTX and SSL objects
7 =head1 SYNOPSIS
9  #include <openssl/ssl.h>
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)());
14  long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
15  long SSL_callback_ctrl(SSL *, int cmd, void (*fp)());
17 =head1 DESCRIPTION
19 The SSL_*_ctrl() family of functions is used to manipulate settings of
20 the SSL_CTX and SSL objects. Depending on the command B<cmd> the arguments
21 B<larg>, B<parg>, or B<fp> are evaluated. These functions should never
22 be called directly. All functionalities needed are made available via
23 other functions or macros.
25 =head1 RETURN VALUES
27 The return values of the SSL*_ctrl() functions depend on the command
28 supplied via the B<cmd> parameter.
30 =head1 SEE ALSO
32 L<ssl(3)|ssl(3)>
34 =cut