12#ifndef OPENVPN_BUFFER_BUFREAD_H
13#define OPENVPN_BUFFER_BUFREAD_H
34 const int eno = errno;
T * data_end()
Get a mutable pointer to the end of the array.
void inc_size(const size_t delta)
Increment the size of the array (usually used in a similar context to set_size such as after mutable_...
size_t remaining(const size_t tailroom=0) const
Return the number of additional T objects that can be added before capacity is reached (without consi...
#define OPENVPN_EXCEPTION(C)
#define OPENVPN_THROW(exc, stuff)
Support deferred server-side state creation when client connects.
bool buf_read(const int fd, Buffer &buf, const std::string &title)
std::string strerror_str(const int errnum)
void put_consume(BufferAllocated &buf, const size_t tailroom=0)