S2OPC OPCUA Toolkit
sopc_random.h
Go to the documentation of this file.
1 /*
2  * Licensed to Systerel under one or more contributor license
3  * agreements. See the NOTICE file distributed with this work
4  * for additional information regarding copyright ownership.
5  * Systerel licenses this file to you under the Apache
6  * License, Version 2.0 (the "License"); you may not use this
7  * file except in compliance with the License. You may obtain
8  * a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  * KIND, either express or implied. See the License for the
16  * specific language governing permissions and limitations
17  * under the License.
18  */
19 
28 #ifndef SOPC_RANDOM_H_
29 #define SOPC_RANDOM_H_
30 
31 #include "sopc_buffer.h"
32 
43 SOPC_ReturnStatus SOPC_GetRandom(SOPC_Buffer* buffer, uint32_t length);
44 
45 #endif /* SOPC_RANDOM_H_ */
SOPC_Buffer
Bytes buffer structure.
Definition: sopc_buffer.h:38
SOPC_GetRandom
SOPC_ReturnStatus SOPC_GetRandom(SOPC_Buffer *buffer, uint32_t length)
Retrieve random data and put it in a buffer.
sopc_buffer.h
A buffer of bytes with a maximum size, length and position.
SOPC_ReturnStatus
SOPC_ReturnStatus
Definition: libs2opc_client.h:64