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_Size Bytes );
- extern "C"
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 );
- extern "C"
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 );
- extern "C"
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_Size Bytes );
- extern "C"
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
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.