util_varbuf.h File Reference

Apache resizable variable length buffer library. More...

#include "apr.h"
#include "apr_allocator.h"
#include "httpd.h"
Include dependency graph for util_varbuf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ap_varbuf


#define ap_varbuf_strcat(vb, str)   ap_varbuf_strmemcat(vb, str, strlen(str))


void ap_varbuf_init (apr_pool_t *pool, struct ap_varbuf *vb, apr_size_t init_size)
void ap_varbuf_grow (struct ap_varbuf *vb, apr_size_t new_size)
void ap_varbuf_free (struct ap_varbuf *vb)
void ap_varbuf_strmemcat (struct ap_varbuf *vb, const char *str, int len)
char * ap_varbuf_pdup (apr_pool_t *p, struct ap_varbuf *vb, const char *prepend, apr_size_t prepend_len, const char *append, apr_size_t append_len, apr_size_t *new_len)
apr_status_t ap_varbuf_regsub (struct ap_varbuf *vb, const char *input, const char *source, apr_size_t nmatch, ap_regmatch_t pmatch[], apr_size_t maxlen)
apr_status_t ap_varbuf_cfg_getline (struct ap_varbuf *vb, ap_configfile_t *cfp, apr_size_t max_len)

Detailed Description

Apache resizable variable length buffer library.