Defines the API for the TLS session cache so that the data storage scheme can be replaced by defining a new callback module implementing this API.
The following data types are used in the functions for
Deletes a cache entry. Is only called from the cache handling process.
Calls
Includes property
Performs possible initializations of the cache and returns
a reference to it that is used as parameter to the other
API functions. Is called by the cache handling processes
Looks up a cache entry. Is to be callable from any process.
Selects sessions that can be reused. Is to be callable from any process.
Returns the number of sessions in the cache. If size exceeds the maximum number of sessions, the current cache entries will be invalidated regardless of their remaining lifetime. Is to be callable from any process.
Takes care of possible cleanup that is needed when the cache handling process terminates.
Caches a new session or updates an already cached one. Is only called from the cache handling process.