/* * $Id$ * 'OpenSSL for Ruby' project * Copyright (C) 2001-2002 Michal Rokos * All rights reserved. */ /* * This program is licenced under the same licence as Ruby. * (See the file 'LICENCE'.) */ #if !defined(_OSSL_SSL_H_) #define _OSSL_SSL_H_ #define GetSSL(obj, ssl) do { \ TypedData_Get_Struct((obj), SSL, &ossl_ssl_type, (ssl)); \ } while (0) #define GetSSLSession(obj, sess) do { \ TypedData_Get_Struct((obj), SSL_SESSION, &ossl_ssl_session_type, (sess)); \ if (!(sess)) { \ ossl_raise(rb_eRuntimeError, "SSL Session wasn't initialized."); \ } \ } while (0) #define SafeGetSSLSession(obj, sess) do { \ OSSL_Check_Kind((obj), cSSLSession); \ GetSSLSession((obj), (sess)); \ } while (0) extern const rb_data_type_t ossl_ssl_type; extern const rb_data_type_t ossl_ssl_session_type; extern VALUE mSSL; extern VALUE eSSLError; extern VALUE cSSLSocket; extern VALUE cSSLContext; extern VALUE cSSLSession; void Init_ossl_ssl(void); void Init_ossl_ssl_session(void); #endif /* _OSSL_SSL_H_ */ uby_1_8_7 The Ruby Programming Language
summaryrefslogtreecommitdiff
path: root/doc/rdoc/markup_reference.rb
AgeCommit message (Expand)Author
2024-01-04[ruby/rdoc] Tweaks to Markup ReferenceBurdetteLamar
2024-01-02[ruby/rdoc] [DOC] MarkupReferenceBurdette Lamar
2023-12-25Typofix under doc directoryHiroshi SHIBATA
2023-12-18[DOC] Added notes regarding `:nodoc:` in C codeNobuyoshi Nakada
2023-06-16[ruby/rdoc] Fix missing closing colon for `:notnew:`zzak
2023-02-06[ruby/rdoc] Remove duplicate word in RDoc::MarkupReferencecjilbert504
2023-02-05[ruby/rdoc] [DOC] Fix reference to proper list type RDoc::MarkupReferencecjilbert504
2022-08-16[ruby/rdoc] [DOC] Remove duplicated line in RDoc::MarkupReferencePeter Zhu
2022-08-13[ruby/rdoc] [DOC] Enhances text about escapes (https://github.com/ruby/rdoc/p...Burdette Lamar
2022-08-12[ruby/rdoc] Mods to section Text Markup (https://github.com/ruby/rdoc/pull/916)Burdette Lamar
2022-08-12[ruby/rdoc] Improvements to Text Markup examples (https://github.com/ruby/rdo...Burdette Lamar
2022-08-11[ruby/rdoc] [DOC] Make example formats explicit and consistent (https://githu...Burdette Lamar
2022-08-11[ruby/rdoc] Treat text markup (italic, bold, monofont) as blocks (https://git...Burdette Lamar
2022-08-07[ruby/rdoc] [DOC] Removes remaining old Markup Reference (https://github.com/...Burdette Lamar
2022-07-29[ruby/rdoc] Add block quotes (https://github.com/ruby/rdoc/pull/907)Burdette Lamar
2022-07-28[ruby/rdoc] [DOC] Add some links in intro; delimit rendered HTML output. (htt...Burdette Lamar
2022-07-27[ruby/rdoc] [DOC] Clarifications for directives (https://github.com/ruby/rdoc...Burdette Lamar
2022-07-26[ruby/rdoc] Move section Directives into section Blocks (https://github.com/r...Burdette Lamar
2022-07-26* append newline at EOF. [ci skip]git
2022-07-25Sync RDocPeter Zhu