Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
 Overview   Namespace   Class   Index   Help 

Global Functions in Global Namespace C++
in Sourcefile random.h


rtl_random_addBytes
extern "C"
rtlRandomError rtl_random_addBytes(
rtlRandomPool Pool,
const void * Buffer,
sal_uInt32 Bytes );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Add bytes to a Random Pool.
Parameters
Pool
a Random Pool.
pBuffer
a buffer containing the bytes to add.
nBufLen
the number of bytes to read from the buffer.
Return
rtl_Random_E_None upon success.

rtl_random_createPool
extern "C"
rtlRandomPool rtl_random_createPool(
void );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Create a Random Pool.
Return
initialized Random Pool, or NULL upon failure.

rtl_random_destroyPool
extern "C"
void rtl_random_destroyPool(
rtlRandomPool Pool );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Destroy a Random Pool.
Parameters
Pool
a Random Pool.
Return
none. Pool is invalid.

rtl_random_getBytes
extern "C"
rtlRandomError rtl_random_getBytes(
rtlRandomPool Pool,
void * Buffer,
sal_uInt32 Bytes );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Retrieve bytes from a Random Pool.
Parameters
Pool
a Random Pool.
pBuffer
a buffer to receive the random bytes.
nBufLen
the number of bytes to write to the buffer.
Return
rtl_Random_E_None upon success.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.