blob: 92fbdb4c110b2cf910da3e268366e9fe56004f98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
// -*- C++ -*-
//=============================================================================
/**
* @file SSL_Asynch_BIO.h
*
* $Id$
*
* @author Alexander Libman <alibman@baltimore.com>
* @author Ossama Othman <ossama@uci.edu>
*
*/
//=============================================================================
#ifndef ACE_SSL_ASYNCH_BIO_H
#define ACE_SSL_ASYNCH_BIO_H
#include "ace/pre.h"
#include "SSL_Export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) || (defined (ACE_HAS_AIO_CALLS))
#include <openssl/bio.h>
/**
* @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 /* ACE_WIN32 || ACE_HAS_AIO_CALLS */
#include "ace/post.h"
#endif /* ACE_SSL_ASYNCH_BIO_H */
|