]> git.kaiwu.me - haproxy.git/commit
MINOR: hbuf: add a very lightweight hbuf API
authorFrederic Lecaille <flecaille@haproxy.com>
Mon, 2 Mar 2026 09:25:17 +0000 (10:25 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 24 Apr 2026 09:32:45 +0000 (11:32 +0200)
commit2c9d1b2b0c8f6596c5255799cfe56be9519cfc56
tree171fb4654b85257edc90ae3097d7aeb358240bb6
parentd81c9c06a4b1ad951c585cb863d3e60b6656578c
MINOR: hbuf: add a very lightweight hbuf API

Add a new lightweight hbuf API to buffer formatted strings, similar to the
existing buffer API (struct buffer). This is required by haterm to build
its configuration in memory (fileless mode).

Update haterm to use this new API.

Note: hstream_str_buf_append() has been renamed to hbuf_str_append().
Makefile
include/haproxy/hbuf.h [new file with mode: 0644]
src/haterm_init.c
src/hbuf.c [new file with mode: 0644]