]> git.kaiwu.me - haproxy.git/commit
MINOR: tools: add a function to create a tar file header
authorWilly Tarreau <w@1wt.eu>
Wed, 18 Mar 2026 07:24:43 +0000 (08:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 18 Mar 2026 14:30:34 +0000 (15:30 +0100)
commitc1dfea3ab3283b712240256b704c442b5b96d42c
tree0c817be786c08af41a439d6481be91cf72dc20df
parent15cdcab1fc1d86e095866cfdedca91056634b21e
MINOR: tools: add a function to create a tar file header

The purpose here is to create a tar file header in memory from a known
file name, prefix, size and mode. It will be used to prepare archives
of libs in use for improved debugging, but may probably be useful for
other purposes due to its simplicity.
include/haproxy/tools.h
src/tools.c