asio::ssl::detail::net_buffer Class Reference

#include <openssl_operation.hpp>

List of all members.

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


Detailed Description

Definition at line 42 of file openssl_operation.hpp.


Constructor & Destructor Documentation

asio::ssl::detail::net_buffer::net_buffer (  )  [inline]

Definition at line 51 of file openssl_operation.hpp.

References buf_, data_end_, and data_start_.


Member Function Documentation

unsigned char* asio::ssl::detail::net_buffer::get_unused_start (  )  [inline]

unsigned char* asio::ssl::detail::net_buffer::get_data_start (  )  [inline]

size_t asio::ssl::detail::net_buffer::get_unused_len (  )  [inline]

size_t asio::ssl::detail::net_buffer::get_data_len (  )  [inline]

void asio::ssl::detail::net_buffer::data_added ( size_t  count  )  [inline]

void asio::ssl::detail::net_buffer::data_removed ( size_t  count  )  [inline]

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]

Definition at line 72 of file openssl_operation.hpp.

References data_end_, and data_start_.


Member Data Documentation

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().

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_end_ [private]


The documentation for this class was generated from the following file:

Generated on Sun May 25 00:21:37 2008 by  doxygen 1.5.6