typedef gsk_data_buffer * (*ptgsk_getcache) (
const unsigned char * session_id,
unsigned int session_id_length,
int ssl_version);
typedef gsk_data_buffer * (*ptgsk_putcache) (
gsk_data_buffer * ssl_session_data,
const unsigned char * session_id,
unsigned int session_id_length,
int ssl_version);
typedef void (*ptgsk_deletecache) (
const unsigned char * session_id,
unsigned int session_id_length,
int ssl_version);
typedef void (*ptgsk_freecache) (
gsk_data_buffer * ssl_session_data);
typedef struct _gsk_sidcache_callback {
ptgsk_getcache Get;
ptgsk_putcache Put;
ptgsk_deletecache Delete;
ptgsk_freecache FreeDataBuffer;
} gsk_sidcache_callback;