20 #ifndef INCLUDED_RTL_RANDOM_H
21 #define INCLUDED_RTL_RANDOM_H
#define SAL_DLLPUBLIC
Definition: saldllapi.h:30
#define SAL_MAX_ENUM
Definition: types.h:201
#define SAL_THROW_EXTERN_C()
Nothrow specification for C functions.
Definition: types.h:324
__rtl_RandomError
Error Code enumeration.
Definition: random.h:40
@ rtl_Random_E_None
Definition: random.h:41
@ rtl_Random_E_Argument
Definition: random.h:42
@ rtl_Random_E_FORCE_EQUAL_SIZE
Definition: random.h:45
@ rtl_Random_E_Memory
Definition: random.h:43
@ rtl_Random_E_Unknown
Definition: random.h:44
void * rtlRandomPool
Random Pool opaque type.
Definition: random.h:34
SAL_DLLPUBLIC rtlRandomError rtl_random_getBytes(rtlRandomPool Pool, void *Buffer, sal_Size Bytes) SAL_THROW_EXTERN_C()
Retrieve bytes from a Random Pool.
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:50
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.