S2OPC OPCUA Toolkit
libs2opc_common_config.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 
26 #ifndef LIBS2OPC_COMMON_CONFIG_H_
27 #define LIBS2OPC_COMMON_CONFIG_H_
28 
29 #include <stdbool.h>
30 
31 #include "sopc_common.h"
32 #include "sopc_encodeabletype.h"
33 #include "sopc_types.h"
34 #include "sopc_user_app_itf.h"
35 
41 typedef enum
42 {
49 
60 
66 
75 
84 
92 
101 
102 #endif
sopc_common.h
sopc_types.h
SOPC_CommonHelper_GetConfiguration
SOPC_S2OPC_Config * SOPC_CommonHelper_GetConfiguration(void)
Retrieve the S2OPC Client/Server configuration. It should be called after call to SOPC_CommonHelper_I...
SOPC_CommonHelper_GetInitialized
bool SOPC_CommonHelper_GetInitialized(void)
Retrieve the S2OPC Client/Server frontend "initialized" state.
SOPC_SecurityPolicy_Aes256Sha256RsaPss
@ SOPC_SecurityPolicy_Aes256Sha256RsaPss
Definition: libs2opc_common_config.h:47
SOPC_S2OPC_Config
S2OPC configuration.
Definition: sopc_user_app_itf.h:370
SOPC_SecurityPolicy_None
@ SOPC_SecurityPolicy_None
Definition: libs2opc_common_config.h:43
SOPC_SecurityPolicy_Basic256Sha256
@ SOPC_SecurityPolicy_Basic256Sha256
Definition: libs2opc_common_config.h:45
SOPC_Log_Configuration
Defines logging configuration.
Definition: sopc_log_manager.h:96
sopc_encodeabletype.h
EncodeableType and services on encodeable object.
SOPC_CommonHelper_GetBuildInfo
SOPC_Toolkit_Build_Info SOPC_CommonHelper_GetBuildInfo(void)
Retrieve the S2OPC Client/Server frontend library build info (version, date, etc.)....
SOPC_CommonHelper_Clear
void SOPC_CommonHelper_Clear(void)
Clear the S2OPC Client/Server frontend library (stop threads, clear common configuration,...
sopc_user_app_itf.h
Contains the types to be used by the user application to use the Toolkit.
SOPC_Toolkit_Build_Info
Toolkit build information.
Definition: sopc_user_app_itf.h:483
SOPC_SecurityPolicy_Aes128Sha256RsaOaep
@ SOPC_SecurityPolicy_Aes128Sha256RsaOaep
Definition: libs2opc_common_config.h:46
SOPC_SecurityPolicyUriToCstring
const char * SOPC_SecurityPolicyUriToCstring(SOPC_SecurityPolicy_URI secuUri)
Returns the C string matching the security policy URI enum value.
SOPC_SecurityPolicy_Basic256
@ SOPC_SecurityPolicy_Basic256
Definition: libs2opc_common_config.h:44
SOPC_SecurityPolicy_URI
SOPC_SecurityPolicy_URI
Enumerated values authorized for use with SOPC_EndpointConfig_AddSecurityConfig or SOPC_ClientConfigH...
Definition: libs2opc_common_config.h:42
SOPC_CommonHelper_Initialize
SOPC_ReturnStatus SOPC_CommonHelper_Initialize(SOPC_Log_Configuration *optLogConfig)
Initialize the S2OPC Client/Server frontend library (start threads, initialize configuration,...
SOPC_ReturnStatus
SOPC_ReturnStatus
Definition: libs2opc_client.h:64