SSL_CTX_sessions.pod revision 76866
1222033Sphk=pod
2222033Sphk
3222033Sphk=head1 NAME
4222033Sphk
5222033SphkSSL_CTX_sessions - access internal session cache
6222033Sphk
7222033Sphk=head1 SYNOPSIS
8222033Sphk
9222033Sphk #include <openssl/ssl.h>
10222033Sphk
11222033Sphk struct lhash_st *SSL_CTX_sessions(SSL_CTX *ctx);
12222033Sphk
13222033Sphk=head1 DESCRIPTION
14222033Sphk
15222033SphkSSL_CTX_sessions() returns a pointer to the lhash databases containing the
16222033Sphkinternal session cache for B<ctx>.
17222033Sphk
18222033Sphk=head1 NOTES
19222033Sphk
20222033SphkThe sessions in the internal session cache are kept in an
21222033SphkL<lhash(3)|lhash(3)> type database. It is possible to directly
22222033Sphkaccess this database e.g. for searching. In parallel, the sessions
23222033Sphkform a linked list which is maintained separately from the
24222033SphkL<lhash(3)|lhash(3)> operations, so that the database must not be
25249378Strocinymodified directly but by using the
26249378StrocinyL<SSL_CTX_add_session(3)|SSL_CTX_add_session(3)> family of functions.
27249378Strociny
28249378Strociny=head1 SEE ALSO
29249378Strociny
30L<ssl(3)|ssl(3)>, L<lhash(3)|lhash(3)>,
31L<SSL_CTX_add_session(3)|SSL_CTX_add_session(3)>,
32L<SSL_CTX_set_session_cache_mode(3)|SSL_CTX_set_session_cache_mode(3)>
33
34=cut
35