From 776276d5c7e67356a880f3e31076d32cdc1c1882 Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Tue, 10 Nov 2026 11:29:58 +0300 Subject: publish --- src/user.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/user.h (limited to 'src/user.h') diff --git a/src/user.h b/src/user.h new file mode 100644 index 0000000..d52b763 --- /dev/null +++ b/src/user.h @@ -0,0 +1,22 @@ +// user.h +#ifndef INCLUDED_USER_H +#define INCLUDED_USER_H + +#include + +typedef uint16_t client_id_t; + +struct user { + union { + client_id_t key; + client_id_t id; + }; + union { + uint32_t value; + uint32_t per_capita_income; + float normalizer; + }; +}; + +#endif // INCLUDED_USER_H +// user.h ends here -- cgit v1.3.1