]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: deviceatlas: define header_evidence_entry in dummy library header
authorDavid Carlier <dcarlier@deviceatlas.com>
Sat, 14 Feb 2026 14:08:04 +0000 (14:08 +0000)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Feb 2026 14:49:00 +0000 (15:49 +0100)
Add the struct header_evidence_entry definition to the dummy dac.h
to accommodate the ongoing deviceatlas module update which now
iterates over atlas header_priorities to precompute maxhdrlen.
The struct was already referenced by struct da_atlas but lacked
a definition in the dummy header.

addons/deviceatlas/dummy/dac.h

index 5540e702f2852e8a2b770b0e105b928339b7bb52..038046f77a44424959b4e0b7667f55a258a87ce4 100644 (file)
@@ -141,6 +141,11 @@ enum {
     DA_INITIAL_MEMORY_ESTIMATE = 1024 * 1024 * 14
 };
 
+struct header_evidence_entry {
+    const char *name;
+    da_evidence_id_t id;
+};
+
 struct da_config {
     unsigned int cache_size;
     unsigned int __reserved[15]; /* enough reserved keywords for future use */