Ruby: ext/openssl/ossl_config.c File Reference

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

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

Go to the source code of this file.

## Functions
CONF * | DupConfigPtr (VALUE obj)
void | Init_ossl_config (void)

## Variables
VALUE | cConfig
VALUE | eConfigError

## Function Documentation

## ◆ DupConfigPtr()

CONF * DupConfigPtr | ( | VALUE | obj | ) |

Definition at line 35 of file ossl_config.c.

References cConfig, eConfigError, NULL, OSSL_Check_Kind, ossl_obj2bio(), ossl_raise(), rb_funcall(), rb_intern(), and str.

## ◆ Init_ossl_config()

void Init_ossl_config | ( | void |  | ) |

Definition at line 72 of file ossl_config.c.

References cConfig, eConfigError, eOSSLError, mOSSL, rb_cObject, rb_define_class_under(), rb_define_const(), rb_define_module(), rb_eStandardError, and rb_str_new2.

Referenced by Init_openssl().

## Variable Documentation

## ◆ cConfig

VALUE cConfig

Definition at line 16 of file ossl_config.c.

Referenced by DupConfigPtr(), and Init_ossl_config().

## ◆ eConfigError

VALUE eConfigError

Definition at line 22 of file ossl_config.c.

Referenced by DupConfigPtr(), and Init_ossl_config().