summaryrefslogtreecommitdiff
path: root/ace/SSL/SSL_Asynch_BIO.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SSL/SSL_Asynch_BIO.h')
-rw-r--r--ace/SSL/SSL_Asynch_BIO.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/ace/SSL/SSL_Asynch_BIO.h b/ace/SSL/SSL_Asynch_BIO.h
index 22c6202754b..d6cf4e571e4 100644
--- a/ace/SSL/SSL_Asynch_BIO.h
+++ b/ace/SSL/SSL_Asynch_BIO.h
@@ -23,16 +23,25 @@
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-// This must be included before any <openssl> include on LynxOS
-#include "ace/os_include/os_stdio.h"
-
#include <openssl/bio.h>
#if OPENSSL_VERSION_NUMBER > 0x0090581fL && ((defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) || (defined (ACE_HAS_AIO_CALLS)))
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-extern BIO * ACE_SSL_make_BIO (void * ssl_asynch_stream);
-ACE_END_VERSIONED_NAMESPACE_DECL
+/**
+ * @name OpenSSL BIO Helper Methods for use with ACE's Asynchronous
+ * SSL I/O support.
+ */
+//@{
+extern "C"
+{
+ int ACE_Asynch_BIO_write (BIO *pBIO, const char *buf, int len);
+ int ACE_Asynch_BIO_read (BIO *pBIO, char *buf, int len);
+ int ACE_Asynch_BIO_puts (BIO *pBIO, const char *str);
+ long ACE_Asynch_BIO_ctrl (BIO *pBIO, int cmd, long arg1, void *arg2);
+ int ACE_Asynch_BIO_new (BIO *pBIO);
+ int ACE_Asynch_BIO_free (BIO *pBIO);
+}
+//@}
#endif /* OPENSSL_VERSION_NUMBER > 0x0090581fL (ACE_WIN32 ||
ACE_HAS_AIO_CALLS) */