24#ifndef INCLUDED_RTL_RANDOM_H
25#define INCLUDED_RTL_RANDOM_H
#define SAL_MAX_ENUM
Definition types.h:205
#define SAL_THROW_EXTERN_C()
Nothrow specification for C functions.
Definition types.h:352
#define SAL_DLLPUBLIC
Definition saldllapi.h:34
__rtl_RandomError
Error Code enumeration.
Definition random.h:44
@ rtl_Random_E_None
Definition random.h:45
@ rtl_Random_E_Argument
Definition random.h:46
@ rtl_Random_E_FORCE_EQUAL_SIZE
Definition random.h:49
@ rtl_Random_E_Memory
Definition random.h:47
@ rtl_Random_E_Unknown
Definition random.h:48
void * rtlRandomPool
Random Pool opaque type.
Definition random.h:38
SAL_DLLPUBLIC rtlRandomError rtl_random_getBytes(rtlRandomPool Pool, void *Buffer, sal_Size Bytes) SAL_THROW_EXTERN_C()
Retrieve random bytes.
SAL_DLLPUBLIC rtlRandomError rtl_random_addBytes(rtlRandomPool Pool, const void *Buffer, sal_Size Bytes) SAL_THROW_EXTERN_C()
Add bytes to a Random Pool.
enum __rtl_RandomError rtlRandomError
Error Code type.
Definition random.h:54
SAL_DLLPUBLIC rtlRandomPool rtl_random_createPool(void) SAL_THROW_EXTERN_C()
Create a Random Pool.
SAL_DLLPUBLIC void rtl_random_destroyPool(rtlRandomPool Pool) SAL_THROW_EXTERN_C()
Destroy a Random Pool.