CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
hostid_private.h
1#pragma once
2
3#include <cx/digest/digest.h>
4#include <cx/platform/base.h>
5#include <cx/sys/hostid.h>
6
7int32 hostIdPlatformInit(Digest* shactx);
8
9// this function is not allowed to fail!!!
10int32 hostIdPlatformInitFallback(Digest* shactx);
11
12#if defined(_PLATFORM_WIN)
13#include "cx/platform/win/win_hostid.h"
14#elif defined (_PLATFORM_UNIX)
15#include "cx/platform/unix/unix_hostid.h"
16#elif defined (_PLATFORM_WASM)
17#include "cx/platform/wasm/wasm_hostid.h"
18#endif
Compiler and platform detection macros.
Message digest (hash) functions.
Stable host identification system.