This module has no guide yet: start with the summary above and the reference in the tabs.
Common headers
Types, status codes and macros that every module uses: the platform layer, the status codes of the C layer and the attributes.
assert_macros.h
#include <ethereal/assert_macros.h>File: assert_macros.h Language: C, C++ (11, 14, 17, 20)
Public assert macros for the Ethereal framework.
'cpp/assert/assert.hpp' declares the dispatch model (call site, site state, listeners, policy) and states that it does not define the macros themselves. This is that file. It is language neutral: it is reached through 'cpp/assert/assert_inc.h' in a C++ translation unit and through 'c/assert/assert_inc.h' in a C one, and expands to the matching reporting primitive in each.
Public runtime macros:
- ETL_ASSERT fatal check, full diagnostics in Debug
- ETL_SDK_ASSERT fatal check marked as SDK originated
- ETL_SILENT_ASSERT non fatal check, reports and continues
- ETL_VERIFY non fatal check, expression always evaluated
- ETL_ENSURE non fatal check that yields the condition
Public compile time macros:
- ETL_STATIC_ASSERT_ARITHMETIC
- ETL_STATIC_ASSERT_FLOAT
Defining ETL_DISABLE_ASSERTS compiles out the runtime checks for shipping builds. Compile time checks remain active because they carry no runtime cost. ETL_VERIFY still evaluates its expression when checks are disabled, because callers rely on its side effects.
Copyright (C) Typename Studios LLC. All Rights Reserved.
#define ETL_FILE_NAME \Resolves to the file name only, with the leading path removed.
@def ETL_FILE_NAME
Scans __FILE__ for the last path separator and returns the segment after it. Both forward slash and backslash are handled, so the result is correct on Windows and on Unix like systems.
When no separator is present the full __FILE__ value is used.
#define ETL_BASE_ASSERT( _Expression, _File, _Line, _Func, _Msg, _Flags ) \Internal base macro used to implement all assert variants.
@macro ETL_BASE_ASSERT Evaluates the expression and, on failure, describes the call site and forwards it to the dispatcher. When the dispatcher resolves the failure with a debugger trap, the break is issued here so the debugger lands on the failing line instead of inside the assertion machinery.
The site descriptor is built on the failing branch rather than being a constant initialized static. assert.hpp describes the ideal as read only storage, and that holds for the expression, file and function strings, but the substitute identifier accepted by @ETL_ASSERT may be an obfuscated string produced by @ETL_XORSTR, which decrypts at run time and is therefore not a constant expression. Building the descriptor inside the failure branch costs nothing on the success path and keeps both spellings working.
Nothing here has static storage, so the macro remains usable inside a constexpr function.
_Expression- Expression to evaluate.
_File- File identifier (full or symbolic).
_Line- Source line number.
_Func- Function name, or null.
_Msg- Optional message string, or null.
_Flags- Combination of EAssertFlag values.
#define ETL_SDK_ASSERT( _Expression ) \Performs a full assert originating from the Ethereal SDK. If the expression fails: - Generates a detailed log entry marked as SDK-originated. - Forces application termination/crash.
@macro ETL_SDK_ASSERT Always captures full diagnostic information, including file name, line number, and function name. The SDK flag is set, allowing the assertion system to route SDK defects to a different sink than integrator defects.
_Expression- Logical expression that must evaluate to true.
#define ETL_VERIFY( _Expression ) \Evaluates an expression and reports failure without terminating execution.
@macro ETL_VERIFY Unlike @ETL_ASSERT, the expression is evaluated in every build configuration, including when assertions are compiled out, because callers rely on its side effects. Failure is reported and execution continues.
_Expression- Logical expression to evaluate.
#define ETL_VERIFY( _Expression ) ( (void)( _Expression ) )align.h
#include <ethereal/resource/align.h>constexpr std::size_t ETL_DEFAULT_ALIGNMENT = 32;constexpr std::size_t ETL_DEFAULT_ALIGNMENT = alignof( std::max_align_t );constexpr std::size_t ETL_Alignment = ETL_DEFAULT_ALIGNMENT;Global definition of class/struct or object alignment.
typedef union ETL_MaxAlign_t
{
long long etl_ll;
long double etl_ld;
void * etl_ptr;
void ( *etl_fnptr )( void );
} ETL_MaxAlign_t;#define ETL_ALIGNMENT ETL_DEFAULT_ALIGNMENTGlobal definition of class/struct or object alignment.
_Static_assert((ETL_ALIGNMENT & (ETL_ALIGNMENT - 1)) == 0, "ETL_ALIGNMENT must be a power of two");#define ETL_ALIGNCompatibility aliases of @ETL_ALIGN for class and struct declarations.
@macro ETL_CLASS_ALIGN @macro ETL_STRUCT_ALIGN Before the resource layer was unified, class and struct alignment came from two separate headers ('structures/class-inc.hpp' and 'structures/struct-inc.hpp'), each carrying its own constant. Both collapsed into the single @ETL_Alignment defined above, but the declaration sites across the framework still spell the old names.
They are kept as exact aliases so existing declarations keep compiling, and so the intent at the declaration site (this is a class / this is a struct) stays readable.
api.h
#include <ethereal/resource/api.h>attributes.h
#include <ethereal/resource/attributes.h>#define inlineDefines the default inline specifier.
@macro ETL_INLINE Expands to the standard @inline keyword, used to suggest function inlining to the compiler.
#define ETL_S_INLINE static inlineDefines the default inline specifier.
@macro ETL_S_INLINE Expands to the standard @inline keyword, used to suggest function inlining to the compiler.
#define ETL_UNUSED( x ) (void)(x)Marks a variable as intentionally unused.
@macro ETL_UNUSED Suppresses compiler warnings for unused variables by explicitly casting them to @void. Commonly used in function parameters, debug code paths, or platform-specific implementations.
It is the portable replacement of UNREFERENCED_PARAMETER, a Win32 macro that only exists with <windows.h> included.
x- Variable to mark as unused.
#define ETL_ARRAY_COUNT( arr ) (sizeof(arr) / sizeof((arr)[0]))Returns the number of elements in a static array.
@macro ETL_ARRAY_COUNT Computes the element count of a compile-time array by dividing its total size by the size of a single element. This macro only works with static arrays and must not be used with pointers.
arr- Static array.
#define ETL_DEPRECATED_SOON( msg ) [[deprecated( msg )Marks a function, type, or variable as scheduled for future deprecation.
@macro ETL_DEPRECATED_SOON Indicates that the symbol is not yet deprecated, but will be in a future version of the SDK. Does not trigger compiler warnings, but documents intent for migration and API evolution.
msg- Message describing future deprecation.
extern "C" void _mm_pause( void );void _mm_pause( void );extern "C" void __yield( void );void __yield( void );cpu_features.h
#include <ethereal/resource/cpu_features.h>Vector capability of the processor.
This is core, not a module. Section 2 of the conventions forbids a module from including another module's header to get functionality, but explicitly allows the shared target of core headers (types, macros, attributes). Capability detection falls there: Encoding and Compression need the same answer, and duplicating it would create two sources of truth about the same processor.
enum class ESimdLevel : ETL_UINT8
{
/// @brief None. Only the scalar path, which is the reference for all the others.
Scalar = 0,
/// @brief SSE2. Baseline of any 64 bit x86.
Sse2 = 1,
/// @brief SSSE3. Brings the byte shuffle, which is what makes the vector path pay off.
Ssse3 = 2,
/// @brief SSE4.1.
Sse41 = 3,
/// @brief SSE4.2.
///
/// @details Has its own value: the x86 @c CRC32 instruction requires 4.2, and
/// there are processors with 4.1 and without 4.2 (the Penryn
/// family). Treating both as one would produce illegal instructions
/// on those machines.
Sse42 = 4,
/// @brief AVX2. 32 byte vector.
Avx2 = 5,
/// @brief NEON, on ARM. It sits above AVX2 in the order only to fit in the same
/// number. The two families never coexist on the same machine.
Neon = 6,
/// @brief AVX-512 (F), 64 byte vector, with the system saving the ZMM registers.
///
/// @details Never returned by @ref DetectedSimdLevel or @ref ActiveSimdLevel:
/// the ladder stops at AVX2. The existing modules ask "is it AVX2?"
/// (the C layer of Encoding publishes the value), and on a machine
/// with AVX-512 they would no longer find their path. The value
/// exists for batch Math to declare the path it ran
/// ('Math::BatchPath') and for the test suite to request it. The
/// one that offers it is 'Platform::CpuFacts' (bit 'ETL_CPU_AVX512F').
Avx512 = 7
};The largest vector instruction set available.
The values grow on purpose: a path written for one level runs on any higher level, so the choice is a simple comparison and not a compatibility table.
const ETL_CHAR * SimdLevelName( ESimdLevel eLevel ) noexcept;Name of the level, for logging and for the test suite to report what it measured.
eLevel- The level.
ESimdLevel DetectedSimdLevel() noexcept;What this machine really offers.
Asked of the processor once, on the first call, and stored. There is no lock: the value is a small integer, and two threads that arrive together compute the same result and write the same value.
On x86 it reads CPUID, and for AVX2 it also checks XGETBV: having the instruction is not enough, the operating system must have enabled saving the wide registers on context switch. Without that second check the program breaks on old machines, with an illegal instruction.
ESimdLevel ActiveSimdLevel() noexcept;The level the modules must use.
The smaller of DetectedSimdLevel and the ceiling set by SetSimdCeiling. In normal operation there is no ceiling and the two are equal.
bool AesClmulActive() noexcept;Whether the AES-NI and PCLMULQDQ path of AES-GCM may run (2026-10-11).
true when the processor has AES-NI, PCLMULQDQ and SSSE3 (CPUID leaf 1, ECX bits 25, 1 and 9) and ActiveSimdLevel is at least ESimdLevel::Ssse3. The second condition lets the suite force the constant time scalar AES with SetSimdCeiling. Always false outside x86.
void SetSimdCeiling( ESimdLevel eCeiling ) noexcept;Limits the level that ActiveSimdLevel returns.
This function exists so that the slow paths get measured.
Without it, on a machine with AVX2 the SSSE3 code and the scalar code would never run: they would be compiled, shipped to the client and never executed by anyone. This project hit exactly that twice (the 'poll' path of the event loop and 'MulShiftPortable' of the Time module), and both times the fix was the same: a way to turn the path on by hand.
The test suite uses it to check each level against the scalar one. Production code must not call it.
eCeiling- The ceiling.
ESimdLevel::Neonin practice removes the ceiling.
void ClearSimdCeiling() noexcept;Resets the ceiling to the value that limits nothing.
etl.h
#include <ethereal/resource/etl.h>#define ETL_RESOURCE_INCIndicates that Ethereal resource headers are being included through the unified entry point.
@macro ETL_RESOURCE_INC This macro is defined internally when Ethereal headers are included via the main aggregated header (etl.h). When present, internal headers skip redundant includes and avoid re-declaring dependencies, ensuring a controlled and consistent inclusion order.
This mechanism prevents improper direct inclusion, redundant parsing, and potential circular dependency chains across Ethereal modules.
#define ETL_S_INLINEDefines the function qualifier for the C functions defined inside a header. Always expands to ETL_S_INLINE (inlined, zero overhead), in the static and in the shared build.
lang.h
#include <ethereal/resource/lang.h>sanity.h
#include <ethereal/resource/sanity.h>ETL_STATIC_CHECK( sizeof(ETL_UINT32) == 4, "ETL_UINT32 must be 32-bit" );Compile-time validation that ETL_UINT32 occupies exactly 4 bytes.
ETL_STATIC_CHECK( sizeof(ETL_UINT64) == 8, "ETL_UINT64 must be 64-bit" );Compile-time validation that ETL_UINT64 occupies exactly 8 bytes.
types.h
#include <ethereal/resource/types.h>typedef signed char ETL_INT8;8-bit signed integer.
typedef signed short ETL_INT16;16-bit signed integer.
typedef signed int ETL_INT32;32-bit signed integer.
typedef signed long long ETL_INT64;64-bit signed integer.
typedef unsigned char ETL_UINT8;8-bit unsigned integer.
typedef unsigned short ETL_UINT16;16-bit unsigned integer.
typedef unsigned int ETL_UINT32;32-bit unsigned integer.
typedef unsigned long ETL_DWORD;typedef ETL_UINT32 ETL_DWORD;typedef unsigned long long ETL_UINT64;64-bit unsigned integer.
typedef char ETL_CHAR;8-bit character type. Typically used for ASCII or UTF-8 encoded text.
typedef unsigned char ETL_UCHAR;8-bit unsigned character type.
typedef wchar_t ETL_WCHAR;Wide character type.
typedef bool ETL_BOOL;typedef _Bool ETL_BOOL;typedef float ETL_FLOAT;32-bit floating-point value.
typedef double ETL_DOUBLE;64-bit floating-point value. Provides higher precision and range than @ETL_FLOAT.
typedef void * ETL_PTR;Generic pointer type.
typedef const void * ETL_CPTR;Generic constant pointer type.
typedef void * ETL_HANDLE;typedef void * ETL_HMODULE;typedef int ETL_HANDLE;typedef void * ETL_HMODULE;#define ETL_INVALID_HANDLE ((ETL_HANDLE)-1)Defines the default invalid value for a system handle.
@macro ETL_INVALID_HANDLE Represents an invalid or uninitialized handle value. On most platforms, this maps to -1, which is commonly used to indicate failure (e.g., invalid file descriptor).
typedef struct ETL_FILE_TAG * ETL_FILE;Opaque file handle type.
Represents a pointer to an internal file structure (ETL_FILE_TAG) whose definition is hidden from the user. This abstraction enforces encapsulation, preventing direct access to the underlying file implementation and allowing the library to change internal details without breaking the public API.
Typically used as a handle for file operations within the Ethereal framework.
template< typename T > concept TArithmetic = std::is_arithmetic_v< T >;Constrains a type to arithmetic types.
@concept TArithmetic Matches any type that satisfies @std::is_arithmetic_v<T>, including both integral and floating-point types.
T- Type to evaluate.
template< typename T > concept TIntegral = std::is_integral_v< T >;Constrains a type to integral types.
@concept TIntegral Matches any type that satisfies @std::is_integral_v<T>, including signed and unsigned integers.
T- Type to evaluate.
template< typename T > concept TFloat = std::is_floating_point_v< T >;Constrains a type to floating-point types.
@concept TFloat Matches any type that satisfies @std::is_floating_point_v<T>, such as float, double, and long double.
T- Type to evaluate.
ecs_concurrency.hpp
#include <ethereal/glue/ecs_concurrency.hpp>ECS executor on top of the Concurrency job manager.
Why this is a separate target: section 2 of the conventions says a module never includes the header of another one to get its functionality, and that what links two modules lives in a glue target of its own, 'ethereal-<a>-<b>-glue'. The ECS spec says the same: "Depends on: nothing at link time. Optional glue with Concurrency for the parallel scheduler."
The Ecs module does not know that Concurrency exists. It declares 'IExecutor' and nothing else. Whoever wants both links this target. Whoever only wants the ECS does not, and does not get a thread pool along with it.
What this is worth in this tree: today all the modules live in a single library, so linking this target adds no bytes that were not there already. What the split keeps is the direction of the dependency (the ECS still builds and passes its tests without Concurrency), and the day the library is split, this is already in the right place.
What the job manager lacks, and this had to build: 'IExecutor::RunAll' promises to run N tasks and return only when all of them are done. 'CJobManager::CreateJob' is fire and forget: it returns no handle, does not signal completion and has no wait. The barrier is built here, in the '.cpp', and its design is explained there.
One job per group of systems would be a design error, and this was measured. The first version submitted one job per system on every round. Measured on this machine (i7-6700, Windows 10, Release, four workers):
- each 'CreateJob' costs about 28 us to the caller, and there are N per group.
- the last job submitted only starts 2.7 to 5.4 ms later.
A group of ECS systems runs in tens of microseconds. Submitting cost more than the whole work, and the latency was a hundred times the work: the caller always finished everything alone before a worker even woke up. The suite measured it plainly, 0 of 8000 tasks were taken by workers.
That is not a defect of the manager. Its header says what it is for, "routines intended for continuous execution", with a deadline in seconds. It was made for long lived routines, not for a fork and join per frame.
So the submission is paid only once, in the constructor. The executor keeps a crew of continuous routines living on the workers of the manager, and each 'RunAll' is a notify on a 'condition_variable' instead of N submissions.
Runs the ECS system groups on the workers of the Concurrency module.
class CJobExecutor final : public Ecs::IExecutorInitialize the CJobManager before using this, and stop it only after the executor is destroyed. This adapter neither initializes nor stops it: the manager is a process singleton, owned by whoever started it.
The constructor is where the crew is put to live, and the destructor is where it is sent away. One executor per world, created once. Creating and destroying one per frame would pay exactly the cost this design exists to avoid.
explicit CJobExecutor( std::size_t uWorkers = 0u ) noexcept;Puts the crew to live on the workers of the manager.
Asking for more crew members than the manager has workers is not an error. The manager refuses the extra ones, and the barrier design copes with that without deadlocking (see the .cpp).
uWorkers- How many crew members to ask for. Zero asks the system.
void RunAll( void ( * pFn )( void * pCtx, std::size_t i ), void * pCtx, std::size_t uCount ) noexcept override;Runs the N tasks and returns when all of them are done.
pFn- Task function, called with the context and the task index.
pCtx- Context passed to every task.
uCount- Number of tasks.
std::size_t Width() const noexcept override;How many tasks run at the same time: the number asked for in the constructor, or the one of the system.
std::size_t CrewSize() const noexcept;How many crew members the manager actually accepted.
Fewer than asked for means the manager refused jobs because it had no free workers. It is not an error, it is slowness: whatever is missing is run by the caller.
ETL_UINT64 TasksRunByCaller() const noexcept;How many tasks the calling thread had to run itself.
A high number is a warning, not an error: either the crew is small, or the systems are too short to be worth waking someone up. Taking part is intended, and it is what keeps the wait from deadlocking when the manager gives no worker at all.
etlc_status.h
#include <ethereal/c/etlc_status.h>Status codes shared by every C layer of Ethereal.
Every C function that reports success or failure returns an ETLC_STATUS (an int). Zero is success. A negative value is an error, and each value means the same thing in every module:
- -1 to -999: common codes, ETLC_ERR_*, below. An invalid argument is ETLC_ERR_INVALID_ARGUMENT in the text module, in the regex module and everywhere else.
- -1001 and below: codes of one module. Module n owns the range from -(1000 + 100 n + 1) to -(1000 + 100 n + 99). The numbers n are the ETLC_STATUS_MODULE_* below.
ETLC_StatusName names any code of any module. The old ETLC_<Module>StatusName functions still exist and give the same text.
Until 2026-10-16 each module had its own numbers (the invalid argument was -1 in text, -7 in regex, -2 in i18n and 1 in the licensing). The old names of the common errors are kept as deprecated aliases with the new values. See the migration guide.
The values are part of the ABI. A value is never reused and never moved. A new common code takes the next free number. A new module takes the next free n.
A few codes are not errors in the usual sense: a full ring of the IPC (backpressure), a lock acquired from a dead owner (ETLC_IPC_ABANDONED), an update still running (ETLC_UPD_PENDING). They are negative too: anything other than ETLC_OK asks the caller to look at the code.
Not covered: the return codes of plugins (ETL_PLUGIN_* in plugin_abi.h), which already built plugins return to the host, the exit codes of the CLI (ETL_EXIT_*), and the kinds of TLS failure (ETLC_TLS_ERROR_*), which describe the last error and are not returned.
typedef int ETLC_STATUS;Status of a C function: ETLC_OK, an ETLC_ERR_* or a code of a module.
#define ETLC_OK 0Success.
#define ETLC_ERR_INVALID_ARGUMENT ( -1 )Invalid argument: null pointer, zeroed or short 'iStructSize', value out of range.
#define ETLC_ERR_BUFFER_TOO_SMALL ( -2 )The output buffer is too small. Where the function says so, the size needed was written.
#define ETLC_ERR_OUT_OF_MEMORY ( -3 )An allocation failed.
#define ETLC_ERR_NOT_FOUND ( -4 )What was asked for does not exist.
#define ETLC_ERR_ALREADY_EXISTS ( -5 )Something with that name or key already exists.
#define ETLC_ERR_INVALID_STATE ( -6 )The object is in a state that does not allow the call.
#define ETLC_ERR_NOT_INITIALIZED ( -7 )The module or the object was not initialized.
#define ETLC_ERR_ALREADY_INITIALIZED ( -8 )The module or the object is already initialized.
#define ETLC_ERR_UNSUPPORTED ( -9 )Not supported on this platform, by this format or by this build.
#define ETLC_ERR_NOT_IMPLEMENTED ( -10 )The step is not implemented yet.
#define ETLC_ERR_NOT_COMPILED ( -11 )The module or the piece was left out of the build.
#define ETLC_ERR_ACCESS_DENIED ( -12 )The system refused for lack of permission.
#define ETLC_ERR_CORRUPT ( -13 )A checksum or a structure does not match.
#define ETLC_ERR_MALFORMED ( -14 )The input does not have the expected format.
#define ETLC_ERR_TRUNCATED ( -15 )The input or the stream ended before its announced end.
#define ETLC_ERR_END_OF_DATA ( -16 )There is nothing more to read: a cursor or an iteration reached the end.
#define ETLC_ERR_TOO_LARGE ( -17 )A size goes over a limit.
#define ETLC_ERR_OVERFLOW ( -18 )A value or a reserved capacity overflowed.
#define ETLC_ERR_FULL ( -19 )A table or a container is full.
#define ETLC_ERR_QUEUE_FULL ( -20 )A queue is full.
#define ETLC_ERR_EMPTY ( -21 )There is nothing to take.
#define ETLC_ERR_TIMED_OUT ( -22 )A time limit expired.
#define ETLC_ERR_WOULD_BLOCK ( -23 )The call would have to wait and was told not to.
#define ETLC_ERR_STORAGE ( -24 )The memory given by the caller is too small or not aligned.
#define ETLC_ERR_INVALID_UTF8 ( -25 )The text is not valid UTF-8.
#define ETLC_ERR_IO ( -26 )A read, a write or another file operation failed.
#define ETLC_ERR_OPEN_FAILED ( -27 )A file could not be opened or created.
#define ETLC_ERR_SYSTEM ( -28 )The operating system refused for a reason not listed here.
#define ETLC_ERR_INIT_FAILED ( -29 )A subsystem the call needs did not start.
#define ETLC_ERR_CLOSED ( -30 )The connection or the channel is closed.
#define ETLC_ERR_NOT_CONNECTED ( -31 )There is no connection.
#define ETLC_ERR_CONNECT_FAILED ( -32 )The connection could not be made.
#define ETLC_ERR_SEND_FAILED ( -33 )Sending failed.
#define ETLC_ERR_RECEIVE_FAILED ( -34 )Receiving failed.
#define ETLC_ERR_TRANSPORT ( -35 )The transport failed (a seam of the caller, or the socket under it).
#define ETLC_ERR_CERTIFICATE ( -36 )The certificate was rejected.
#define ETLC_ERR_PIN_MISMATCH ( -37 )The key of the server does not match the pin.
#define ETLC_ERR_VERIFY_FAILED ( -38 )A signature or an authentication tag does not verify.
#define ETLC_ERR_UNKNOWN_KEY_ID ( -39 )The signing key is not one of the known keys.
#define ETLC_ERR_EXPIRED ( -40 )Past the expiry date.
#define ETLC_ERR_WRONG_PRODUCT ( -41 )It belongs to another product.
#define ETLC_ERR_VERSION_TOO_NEW ( -42 )A format version newer than this code reads.
#define ETLC_ERR_STALE ( -43 )Older than the last one accepted (anti-rollback).
#define ETLC_ERR_FAILED ( -44 )The operation failed for a reason not listed here.
#define ETLC_ERR_INTERNAL ( -45 )A local failure that should not happen (random source, signing).
#define ETLC_ERR_NOT_LICENSED ( -46 )Refused: no license was accepted and the evaluation of this machine has ended, or the license passed was refused. See ETLC_BundleUnlock, the only way a license reaches the library.
#define ETLC_ERR_COMMON_LAST ( -999 )Last value reserved for the common codes. They go from -1 down to this one.
#define ETLC_STATUS_MODULE_CODE( n, k ) ( -1000 - 100 * ( n ) - ( k ) )The code k (1 to 99) of the module n is -(1000 + 100 * n + k).
#define ETLC_STATUS_MODULE_OF( code ) ( ( code ) <= -1001 ? ( ( -( code ) - 1000 ) / 100 ) : 0 )Number n of the module that owns a code, or 0 for ETLC_OK, a common code or a positive value.
#define ETLC_STATUS_MODULE_BUNDLE 1Bundle: -1101 to -1199 (bundle/bundle.h).
#define ETLC_STATUS_MODULE_CACHE 2Cache: -1201 to -1299 (cache/cache.h).
#define ETLC_STATUS_MODULE_CLI 3Cli (ArgParser): -1301 to -1399 (cli/console.h).
#define ETLC_STATUS_MODULE_COMPRESSION 4Compression: -1401 to -1499 (compression/compression.h).
#define ETLC_STATUS_MODULE_CONCURRENCY 5Concurrency (jobs): -1501 to -1599 (concurrency/concurrency.h).
#define ETLC_STATUS_MODULE_CONFIG 6Config: -1601 to -1699 (config/config.h).
#define ETLC_STATUS_MODULE_CONTAINERS 7Containers: -1701 to -1799 (containers/containers.h).
#define ETLC_STATUS_MODULE_COROUTINE 8Coroutine: -1801 to -1899 (coroutine/coroutine.h).
#define ETLC_STATUS_MODULE_CRASHREPORT 9CrashReport: -1901 to -1999 (crashreport/crashreport.h).
#define ETLC_STATUS_MODULE_CRYPTOGRAPHY 10Cryptography: -2001 to -2099 (cryptography/cryptography.h).
#define ETLC_STATUS_MODULE_DIAGNOSTICS 11Diagnostics: -2101 to -2199 (diagnostics/diagnostics.h).
#define ETLC_STATUS_MODULE_ECS 12Ecs: -2201 to -2299 (ecs/ecs.h).
#define ETLC_STATUS_MODULE_ENCODING 13Encoding: -2301 to -2399 (encoding/encoding.h).
#define ETLC_STATUS_MODULE_FILEIO 14FileIo: -2401 to -2499 (fileio/fileio.h).
#define ETLC_STATUS_MODULE_FILESYSTEM 15FileSystem: -2501 to -2599 (filesystem/filesystem.h).
#define ETLC_STATUS_MODULE_GUARD 16Guard: -2601 to -2699 (guard/guard.h).
#define ETLC_STATUS_MODULE_HTTP 17Http: -2701 to -2799 (http/http.h).
#define ETLC_STATUS_MODULE_I18N 18I18n: -2801 to -2899 (i18n/i18n.h).
#define ETLC_STATUS_MODULE_IPC 19Process (IPC): -2901 to -2999 (process/process.h).
#define ETLC_STATUS_MODULE_LICENSING 20Licensing: -3001 to -3099 (licensing/licensing.h).
#define ETLC_STATUS_MODULE_LOG 21Log: -3101 to -3199 (log/log.h).
#define ETLC_STATUS_MODULE_MEMORY 22Memory: -3201 to -3299 (memory/memory.h).
#define ETLC_STATUS_MODULE_ML 23ML: -3301 to -3399 (ml/ml.h).
#define ETLC_STATUS_MODULE_MUTEX 24Mutex: -3401 to -3499 (mutex/mutex.h).
#define ETLC_STATUS_MODULE_NETWORK 25Network: -3501 to -3599 (network/network.h).
#define ETLC_STATUS_MODULE_PLATFORM 26Platform: -3601 to -3699 (platform/platform.h).
#define ETLC_STATUS_MODULE_PROCESS 27Process: -3701 to -3799 (process/process.h).
#define ETLC_STATUS_MODULE_PROFILER 28Profiler: -3801 to -3899 (profiler/profiler.h).
#define ETLC_STATUS_MODULE_RANDOM 29Random: -3901 to -3999 (random/random.h).
#define ETLC_STATUS_MODULE_REGEX 30Regex: -4001 to -4099 (regex/regex.h).
#define ETLC_STATUS_MODULE_RESILIENCE 31Resilience: -4101 to -4199 (resilience/resilience.h).
#define ETLC_STATUS_MODULE_RESOURCE 32Resource: -4201 to -4299 (resource/resource.h).
#define ETLC_STATUS_MODULE_RPC 33Rpc: -4301 to -4399 (rpc/rpc.h).
#define ETLC_STATUS_MODULE_SCHEDULER 34Scheduler: -4401 to -4499 (scheduler/scheduler.h).
#define ETLC_STATUS_MODULE_SERIALIZATION 35Serialization: -4501 to -4599 (serialization/serialization.h).
#define ETLC_STATUS_MODULE_STATEMACHINE 36StateMachine: -4601 to -4699 (statemachine/statemachine.h).
#define ETLC_STATUS_MODULE_STATS 37Stats: -4701 to -4799 (stats/stats.h).
#define ETLC_STATUS_MODULE_STORAGE 38Storage: -4801 to -4899 (storage/storage.h).
#define ETLC_STATUS_MODULE_STRING 39String: -4901 to -4999 (string/string.h).
#define ETLC_STATUS_MODULE_SYSTEM 40System: -5001 to -5099 (system/system.h).
#define ETLC_STATUS_MODULE_TELEMETRY 41Telemetry: -5101 to -5199 (telemetry/telemetry.h).
#define ETLC_STATUS_MODULE_TEXT 42Text: -5201 to -5299 (text/text.h).
#define ETLC_STATUS_MODULE_TIME 43Time: -5301 to -5399 (time/time.h).
#define ETLC_STATUS_MODULE_TLS 44Tls: -5401 to -5499 (tls/tls.h).
#define ETLC_STATUS_MODULE_UID 45Uid: -5501 to -5599 (uid/uid.h).
#define ETLC_STATUS_MODULE_UPDATER 46Updater: -5601 to -5699 (updater/updater.h).
#define ETLC_STATUS_MODULE_VERSION 47Version: -5701 to -5799 (version/version.h).
#define ETLC_STATUS_MODULE_AI 48Ai (the generative AI pillar): -5801 to -5899 (ai/ai.h).
#define ETLC_STATUS_MODULE_COUNT 48Number of module ranges given out so far. The next module takes this number plus one.
const char * ETLC_StatusName( int iStatus ) noexcept;Name of any status code, in English.
iStatus- ETLC_OK, a common code or a code of any module.