Global Functions in Global Namespace C++
in Sourcefile random.h
-
rtl_random_addBytes
- extern "C"
rtlRandomError rtl_random_addBytes(
-
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(
-
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(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Destroy a Random Pool.
- Parameters
-
- Return
- none. Pool is invalid.
-
rtl_random_getBytes
- extern "C"
rtlRandomError rtl_random_getBytes(
-
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 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.