Ruby: ext/openssl/ossl_ssl_session.c File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Functions | Variables
ossl_ssl_session.c File Reference
`#include "ossl.h"`

Go to the source code of this file.

## Functions
void | Init_ossl_ssl_session (void)

## Variables
VALUE | cSSLSession
const rb_data_type_t | ossl_ssl_session_type

## Function Documentation

## ◆ Init_ossl_ssl_session()

void Init_ossl_ssl_session | ( | void |  | ) |

Definition at line 308 of file ossl_ssl_session.c.

References cSSLSession, eOSSLError, mOSSL, mSSL, rb_cObject, rb_define_alloc_func(), rb_define_class_under(), rb_define_method, rb_define_module(), rb_define_module_under(), and rb_eStandardError.

Referenced by Init_ossl_ssl().

## Variable Documentation

## ◆ cSSLSession

VALUE cSSLSession

Definition at line 7 of file ossl_ssl_session.c.

Referenced by Init_ossl_ssl_session().

## ◆ ossl_ssl_session_type

const rb_data_type_t ossl_ssl_session_type

Initial value:
= {
"OpenSSL/SSL/Session",
{
0, ossl_ssl_session_free,
},
0, 0, RUBY_TYPED_FREE_IMMEDIATELY,
}
RUBY_TYPED_FREE_IMMEDIATELY
@ RUBY_TYPED_FREE_IMMEDIATELY
Definition: rtypeddata.h:62

Definition at line 16 of file ossl_ssl_session.c.