Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewX509Attr(klass) TypedData_Wrap_Struct((klass), &ossl_x509attr_type, 0) |
#define | SetX509Attr(obj, attr) |
#define | GetX509Attr(obj, attr) |
Functions | |
VALUE | ossl_x509attr_new (X509_ATTRIBUTE *attr) |
X509_ATTRIBUTE * | GetX509AttrPtr (VALUE obj) |
void | Init_ossl_x509attr (void) |
Variables | |
VALUE | cX509Attr |
VALUE | eX509AttrError |
#define GetX509Attr | ( | obj, | |
attr | |||
) |
Definition at line 20 of file ossl_x509attr.c.
Referenced by GetX509AttrPtr().
#define NewX509Attr | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_x509attr_type, 0) |
Definition at line 12 of file ossl_x509attr.c.
Referenced by ossl_x509attr_new().
#define SetX509Attr | ( | obj, | |
attr | |||
) |
Definition at line 14 of file ossl_x509attr.c.
Referenced by ossl_x509attr_new().
X509_ATTRIBUTE* GetX509AttrPtr | ( | VALUE | obj | ) |
Definition at line 71 of file ossl_x509attr.c.
References GetX509Attr.
void Init_ossl_x509attr | ( | void | ) |
Definition at line 305 of file ossl_x509attr.c.
References cX509Attr, eOSSLError, eX509AttrError, mOSSL, mX509, rb_cObject, rb_define_alloc_func(), rb_define_class_under(), rb_define_module(), rb_define_module_under(), and rb_eStandardError.
Referenced by Init_ossl_x509().
VALUE ossl_x509attr_new | ( | X509_ATTRIBUTE * | attr | ) |
Definition at line 51 of file ossl_x509attr.c.
References cX509Attr, eX509AttrError, NewX509Attr, NULL, ossl_raise(), and SetX509Attr.
VALUE cX509Attr |
Definition at line 30 of file ossl_x509attr.c.
Referenced by Init_ossl_x509attr(), and ossl_x509attr_new().
VALUE eX509AttrError |
Definition at line 31 of file ossl_x509attr.c.
Referenced by Init_ossl_x509attr(), and ossl_x509attr_new().