1=pod 2 3=head1 NAME 4 5SSL_CTX_sessions - access internal session cache 6 7=head1 SYNOPSIS 8 9 #include <openssl/ssl.h> 10 11 struct lhash_st *SSL_CTX_sessions(SSL_CTX *ctx); 12 13=head1 DESCRIPTION 14 15SSL_CTX_sessions() returns a pointer to the lhash databases containing the 16internal session cache for B<ctx>. 17 18=head1 NOTES 19 20The sessions in the internal session cache are kept in an 21L<lhash(3)|lhash(3)> type database. It is possible to directly 22access this database e.g. for searching. In parallel, the sessions 23form a linked list which is maintained separately from the 24L<lhash(3)|lhash(3)> operations, so that the database must not be 25modified directly but by using the 26L<SSL_CTX_add_session(3)|SSL_CTX_add_session(3)> family of functions. 27 28=head1 SEE ALSO 29 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