#include <openssl_operation.hpp>
Public Member Functions | |
| net_buffer () | |
| unsigned char * | get_unused_start () |
| unsigned char * | get_data_start () |
| size_t | get_unused_len () |
| size_t | get_data_len () |
| void | data_added (size_t count) |
| void | data_removed (size_t count) |
| void | reset () |
| bool | has_data () |
Private Attributes | |
| unsigned char | buf_ [NET_BUF_SIZE] |
| unsigned char * | data_start_ |
| unsigned char * | data_end_ |
Static Private Attributes | |
| static const int | NET_BUF_SIZE = 16*1024 + 256 |
Definition at line 42 of file openssl_operation.hpp.
| asio::ssl::detail::net_buffer::net_buffer | ( | ) | [inline] |
| unsigned char* asio::ssl::detail::net_buffer::get_unused_start | ( | ) | [inline] |
Definition at line 55 of file openssl_operation.hpp.
References data_end_.
Referenced by asio::ssl::detail::openssl_operation< Stream >::do_async_read(), asio::ssl::detail::openssl_operation< Stream >::do_async_write(), asio::ssl::detail::openssl_operation< Stream >::do_sync_read(), and asio::ssl::detail::openssl_operation< Stream >::do_sync_write().
| unsigned char* asio::ssl::detail::net_buffer::get_data_start | ( | ) | [inline] |
Definition at line 56 of file openssl_operation.hpp.
References data_start_.
Referenced by asio::ssl::detail::openssl_operation< Stream >::async_read_handler(), asio::ssl::detail::openssl_operation< Stream >::do_sync_read(), and asio::ssl::detail::openssl_operation< Stream >::start().
| size_t asio::ssl::detail::net_buffer::get_unused_len | ( | ) | [inline] |
Definition at line 57 of file openssl_operation.hpp.
References buf_, data_end_, and NET_BUF_SIZE.
Referenced by asio::ssl::detail::openssl_operation< Stream >::do_async_read(), asio::ssl::detail::openssl_operation< Stream >::do_async_write(), asio::ssl::detail::openssl_operation< Stream >::do_sync_read(), and asio::ssl::detail::openssl_operation< Stream >::do_sync_write().
| size_t asio::ssl::detail::net_buffer::get_data_len | ( | ) | [inline] |
Definition at line 58 of file openssl_operation.hpp.
References data_end_, and data_start_.
Referenced by asio::ssl::detail::openssl_operation< Stream >::async_read_handler(), asio::ssl::detail::openssl_operation< Stream >::do_sync_read(), and asio::ssl::detail::openssl_operation< Stream >::start().
| void asio::ssl::detail::net_buffer::data_added | ( | size_t | count | ) | [inline] |
Definition at line 59 of file openssl_operation.hpp.
References buf_, data_end_, and NET_BUF_SIZE.
Referenced by asio::ssl::detail::openssl_operation< Stream >::async_read_handler(), asio::ssl::detail::openssl_operation< Stream >::do_async_write(), asio::ssl::detail::openssl_operation< Stream >::do_sync_read(), and asio::ssl::detail::openssl_operation< Stream >::do_sync_write().
| void asio::ssl::detail::net_buffer::data_removed | ( | size_t | count | ) | [inline] |
Definition at line 66 of file openssl_operation.hpp.
References data_end_, data_start_, and reset().
Referenced by asio::ssl::detail::openssl_operation< Stream >::async_read_handler(), asio::ssl::detail::openssl_operation< Stream >::async_write_handler(), asio::ssl::detail::openssl_operation< Stream >::do_sync_read(), asio::ssl::detail::openssl_operation< Stream >::do_sync_write(), and asio::ssl::detail::openssl_operation< Stream >::start().
| void asio::ssl::detail::net_buffer::reset | ( | ) | [inline] |
Definition at line 71 of file openssl_operation.hpp.
References buf_, data_end_, and data_start_.
Referenced by data_removed().
| bool asio::ssl::detail::net_buffer::has_data | ( | ) | [inline] |
const int asio::ssl::detail::net_buffer::NET_BUF_SIZE = 16*1024 + 256 [static, private] |
Definition at line 44 of file openssl_operation.hpp.
Referenced by data_added(), and get_unused_len().
unsigned char asio::ssl::detail::net_buffer::buf_[NET_BUF_SIZE] [private] |
Definition at line 46 of file openssl_operation.hpp.
Referenced by data_added(), get_unused_len(), net_buffer(), and reset().
unsigned char* asio::ssl::detail::net_buffer::data_start_ [private] |
Definition at line 47 of file openssl_operation.hpp.
Referenced by data_removed(), get_data_len(), get_data_start(), has_data(), net_buffer(), and reset().
unsigned char* asio::ssl::detail::net_buffer::data_end_ [private] |
Definition at line 48 of file openssl_operation.hpp.
Referenced by data_added(), data_removed(), get_data_len(), get_unused_len(), get_unused_start(), has_data(), net_buffer(), and reset().
1.5.6