HTP  0.5
Data Fields
bstr_t Struct Reference

#include <bstr.h>

Data Fields

size_t len
 
size_t size
 
unsigned char * realptr
 

Field Documentation

size_t bstr_t::len

The length of the string stored in the buffer.

unsigned char* bstr_t::realptr

Optional buffer pointer. If this pointer is NULL the string buffer will immediately follow this structure. If the pointer is not NUL, it points to the actual buffer used, and there's no data following this structure.

size_t bstr_t::size

The current size of the buffer. If there is extra room in the buffer the string will be able to expand without reallocation.


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