]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: include: create new file haproxy/api-t.h
authorWilly Tarreau <w@1wt.eu>
Wed, 3 Jun 2020 14:31:41 +0000 (16:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 07:31:11 +0000 (09:31 +0200)
commitca1765713bddd49c90bdf6b61f6252979443554d
tree3d5f12f59c3b8d1854b132bc809806ed803d780c
parentfc80e302171aa5449259299d351cbeb349c615f0
REORG: include: create new file haproxy/api-t.h

This file is at the lowest level of the include tree. Its purpose is to
make sure that common types are known pretty much everywhere, particularly
in structure declarations. It will essentially cover integer types such as
uintXX_t via inttypes.h, "size_t" and "ptrdiff_t" via stddef.h, and various
type modifiers such as __maybe_unused or ALIGN() via compiler.h, compat.h
and defaults.h.

It could be enhanced later if required, for example if some macros used
to compute array sizes are needed.
include/haproxy/api-t.h [new file with mode: 0644]