Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewEngine(klass) TypedData_Wrap_Struct((klass), &ossl_engine_type, 0) |
#define | SetEngine(obj, engine) |
#define | GetEngine(obj, engine) |
#define | OSSL_ENGINE_LOAD_IF_MATCH(x) |
#define | DefEngineConst(x) rb_define_const(cEngine, #x, INT2NUM(ENGINE_##x)) |
Functions | |
void | Init_ossl_engine (void) |
Variables | |
VALUE | cEngine |
VALUE | eEngineError |
#define DefEngineConst | ( | x | ) | rb_define_const(cEngine, #x, INT2NUM(ENGINE_##x)) |
Definition at line 512 of file ossl_engine.c.
#define GetEngine | ( | obj, | |
engine | |||
) |
Definition at line 22 of file ossl_engine.c.
#define NewEngine | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_engine_type, 0) |
Definition at line 14 of file ossl_engine.c.
#define OSSL_ENGINE_LOAD_IF_MATCH | ( | x | ) |
Definition at line 49 of file ossl_engine.c.
#define SetEngine | ( | obj, | |
engine | |||
) |
Definition at line 16 of file ossl_engine.c.
void Init_ossl_engine | ( | void | ) |
Definition at line 515 of file ossl_engine.c.
References cEngine, eEngineError, eOSSLError, mOSSL, rb_cObject, rb_define_class_under(), rb_define_module(), rb_define_singleton_method(), rb_eStandardError, and rb_undef_alloc_func().
VALUE cEngine |
Definition at line 39 of file ossl_engine.c.
Referenced by Init_ossl_engine().
VALUE eEngineError |
Definition at line 44 of file ossl_engine.c.
Referenced by Init_ossl_engine().