Import of old SSLeay release: SSLeay 0.9.0b
[openssl.git] / perl / bio.txt
diff --git a/perl/bio.txt b/perl/bio.txt
new file mode 100644 (file)
index 0000000..5b46c9f
--- /dev/null
@@ -0,0 +1,36 @@
+BIO::new(type)
+       "connect"
+       "accept"
+       "ssl"
+       "buffer"
+
+"connect"
+       BIO::hostname(name)     host:port to connect to
+
+"accept"
+       BIO::set_accept_port(port)      port to connect too.
+
+"connect", "accept", "ssl"
+       BIO::do_andshake        do protocol
+
+"ssl"
+       BIO::set_ssl(ssl)
+       BIO::get_ssl()
+
+BIO::push(bio)
+BIO::pop;                      return BIO
+BIO::number_read()
+BIO::number_written()
+BIO::references()
+
+BIO::sysread(buf,len[,offset])
+BIO::syswrite(in[,len][,offset])
+BIO::getline()
+BIO::puts(in)
+BIO::flush()
+BIO::type()
+BIO::next_bio();
+BIO::set_callback(callback[, args])
+
+BIO::new_buffer_ssl_connect(SSL_CTX)
+BIO::new_ssl_connect(SSL_CTX)