]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: guid: introduce global UID module
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 25 Mar 2024 10:27:23 +0000 (11:27 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 5 Apr 2024 13:40:42 +0000 (15:40 +0200)
commit84fa6b344a16651f690faaa76027e6377fb5099e
treeee59697e67e797f56e126433ad01b78d499a66c7
parente751eebfc6d3bb308847166a4628065f3bb657e5
MINOR: guid: introduce global UID module

Define a new module guid. Its purpose is to be able to attach a global
identifier for various objects such as proxies, servers and listeners.

A new type guid_node is defined. It will be stored in the objects which
can be referenced by such GUID. Several functions are implemented to
properly initialized, insert, remove and lookup GUID in a global tree.
Modification operations should only be conducted under thread isolation.
Makefile
include/haproxy/guid-t.h [new file with mode: 0644]
include/haproxy/guid.h [new file with mode: 0644]
src/guid.c [new file with mode: 0644]