Apache HTTPD
Public Attributes | List of all members

#include <util_varbuf.h>

Public Attributes

charbuf
 
apr_size_t avail
 
apr_size_t strlen
 
apr_pool_tpool
 
struct ap_varbuf_infoinfo
 

Detailed Description

A resizable buffer.

Definition at line 47 of file util_varbuf.h.

Member Data Documentation

◆ avail

apr_size_t ap_varbuf::avail

Allocated size of the buffer (minus one for the final \0); must only be changed using ap_varbuf_grow().

Definition at line 54 of file util_varbuf.h.

◆ buf

char* ap_varbuf::buf

The actual buffer; will point to a const '\0' if avail == 0 and to memory of the same lifetime as the pool otherwise.

Definition at line 50 of file util_varbuf.h.

◆ info

struct ap_varbuf_info* ap_varbuf::info

Opaque info for memory allocation.

Definition at line 66 of file util_varbuf.h.

◆ pool

apr_pool_t* ap_varbuf::pool

The pool for memory allocations and for registering the cleanup; the buffer memory will be released when this pool is cleared.

Definition at line 63 of file util_varbuf.h.

◆ strlen

apr_size_t ap_varbuf::strlen

Length of string in buffer, or AP_VARBUF_UNKNOWN. This determines how much memory is copied by ap_varbuf_grow() and where ap_varbuf_strmemcat() will append to the buffer.

Definition at line 59 of file util_varbuf.h.


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