S2OPC OPCUA Toolkit
libs2opc_common_internal.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 
29 #ifndef LIBS2OPC_COMMON_INTERNAL_H_
30 #define LIBS2OPC_COMMON_INTERNAL_H_
31 
32 #include <inttypes.h>
33 #include <stdbool.h>
34 
35 #include "sopc_address_space.h"
36 #include "sopc_mutexes.h"
38 #include "sopc_types.h"
39 #include "sopc_user_app_itf.h"
40 
56 SOPC_ReturnStatus SOPC_CommonHelper_SetClientComEvent(SOPC_ComEvent_Fct* clientComEvtCb);
57 
73 SOPC_ReturnStatus SOPC_CommonHelper_SetServerComEvent(SOPC_ComEvent_Fct* serverComEvtCb);
74 
83 char** SOPC_CommonHelper_Copy_Char_Array(size_t nbElts, const char** src);
84 
85 #endif
sopc_types.h
sopc_mutexes.h
A platform independent API to use mutexes and condition variables.
sopc_user_app_itf.h
Contains the types to be used by the user application to use the Toolkit.
SOPC_ComEvent_Fct
void SOPC_ComEvent_Fct(SOPC_App_Com_Event event, uint32_t IdOrStatus, void *param, uintptr_t appContext)
Toolkit communication events application callback type.
Definition: sopc_user_app_itf.h:471
sopc_address_space.h
sopc_toolkit_config_constants.h
Contains the configuration constants used by the Tookit. Those constants could be modified for specif...
SOPC_ReturnStatus
SOPC_ReturnStatus
Definition: libs2opc_client.h:64