SSL_CTX_sessions.pod revision 76866
172613Skris=pod 272613Skris 372613Skris=head1 NAME 472613Skris 572613SkrisSSL_CTX_sessions - access internal session cache 672613Skris 772613Skris=head1 SYNOPSIS 872613Skris 972613Skris #include <openssl/ssl.h> 1072613Skris 1172613Skris struct lhash_st *SSL_CTX_sessions(SSL_CTX *ctx); 1272613Skris 1372613Skris=head1 DESCRIPTION 1472613Skris 1572613SkrisSSL_CTX_sessions() returns a pointer to the lhash databases containing the 1672613Skrisinternal session cache for B<ctx>. 1772613Skris 1872613Skris=head1 NOTES 1972613Skris 2072613SkrisThe sessions in the internal session cache are kept in an 2172613SkrisL<lhash(3)|lhash(3)> type database. It is possible to directly 2272613Skrisaccess this database e.g. for searching. In parallel, the sessions 2376866Skrisform a linked list which is maintained separately from the 2472613SkrisL<lhash(3)|lhash(3)> operations, so that the database must not be 2572613Skrismodified directly but by using the 2672613SkrisL<SSL_CTX_add_session(3)|SSL_CTX_add_session(3)> family of functions. 2772613Skris 2872613Skris=head1 SEE ALSO 2972613Skris 3072613SkrisL<ssl(3)|ssl(3)>, L<lhash(3)|lhash(3)>, 3172613SkrisL<SSL_CTX_add_session(3)|SSL_CTX_add_session(3)>, 3272613SkrisL<SSL_CTX_set_session_cache_mode(3)|SSL_CTX_set_session_cache_mode(3)> 3372613Skris 3472613Skris=cut 35