bstr_t Struct Reference

#include <bstr.h>

Data Fields

size_t len
size_t size
char * ptr

Field Documentation

size_t bstr_t::len

The length of the string stored in the buffer.

char* bstr_t::ptr

Optional buffer pointer. If this pointer is NULL (as it currently is in virtually all cases) 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 the buffer is bigger than the string then it will be able to expand without having to reallocate.


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

Generated on 28 Jan 2013 for HTP by  doxygen 1.6.1