4 #ifndef INCLUDED_RTL_RANDOM_H
5 #define INCLUDED_RTL_RANDOM_H
#define SAL_DLLPUBLIC
Definition: saldllapi.h:14
#define SAL_MAX_ENUM
Definition: types.h:185
#define SAL_THROW_EXTERN_C()
Nothrow specification for C functions.
Definition: types.h:314
__rtl_RandomError
Error Code enumeration.
Definition: random.h:24
@ rtl_Random_E_None
Definition: random.h:25
@ rtl_Random_E_Argument
Definition: random.h:26
@ rtl_Random_E_FORCE_EQUAL_SIZE
Definition: random.h:29
@ rtl_Random_E_Memory
Definition: random.h:27
@ rtl_Random_E_Unknown
Definition: random.h:28
void * rtlRandomPool
Random Pool opaque type.
Definition: random.h:18
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:34
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.