diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-12-29 06:21:33 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-12-29 06:21:33 +0100 |
commit | 2d6c8fec45b23a8a28668ecf3ef281139ab778a7 (patch) | |
tree | 75d2a8538992129a83c0c2b83688289443d697e5 /source/kit/secure_random.h | |
parent | 820b171245f2f14766f3accdb0246a4e2c0d596a (diff) | |
download | saw-2d6c8fec45b23a8a28668ecf3ef281139ab778a7.zip |
refactor dependencies; include dependencies source code
Diffstat (limited to 'source/kit/secure_random.h')
-rw-r--r-- | source/kit/secure_random.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source/kit/secure_random.h b/source/kit/secure_random.h new file mode 100644 index 0000000..c894bd1 --- /dev/null +++ b/source/kit/secure_random.h @@ -0,0 +1,20 @@ +#ifndef KIT_SECURE_RANDOM_H +#define KIT_SECURE_RANDOM_H + +#include "types.h" + +#ifdef __cplusplus +extern "C" { +#endif + +void kit_secure_random(i64 size, void *data); + +#ifdef __cplusplus +} +#endif + +#ifndef KIT_DISABLE_SHORT_NAMES +# define secure_random kit_secure_random +#endif + +#endif |