From 10b19d747805e4fd1323455dae419091500efc18 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 23 Aug 2025 15:28:56 +0100 Subject: Add helpers for hashing values extracted from log input zlib's crc32 used here, the interface is a bit C and as a result a bit casty, but it'll work. --- src/logTypes.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/logTypes.hpp') diff --git a/src/logTypes.hpp b/src/logTypes.hpp index d4f1b7b..7439733 100644 --- a/src/logTypes.hpp +++ b/src/logTypes.hpp @@ -21,6 +21,9 @@ namespace WebStat { using std::optional::operator=; bool operator<=>(const CLFString &) const = default; }; + + using Crc32Value = uint32_t; + using Entity = std::pair; } namespace scn { -- cgit v1.2.3