S2OPC OPCUA Toolkit
|
A platform independent API to retrieve random data from platform. More...
#include "sopc_buffer.h"
Go to the source code of this file.
Functions | |
SOPC_ReturnStatus | SOPC_GetRandom (SOPC_Buffer *buffer, uint32_t length) |
Retrieve random data and put it in a buffer. More... | |
A platform independent API to retrieve random data from platform.
SOPC_ReturnStatus SOPC_GetRandom | ( | SOPC_Buffer * | buffer, |
uint32_t | length | ||
) |
Retrieve random data and put it in a buffer.
buffer | The buffer which will receive the data. Needs to be allocated (with SOPC_Buffer_Create()) before calling the function. |
length | Length of the random data wanted. |