S2OPC OPCUA Toolkit
sopc_common.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 
20 #ifndef SOPC_COMMON_H_
21 #define SOPC_COMMON_H_
22 
23 #include "sopc_enums.h"
24 
25 #include <inttypes.h>
26 #include "sopc_log_manager.h"
27 
34 
46 
50 void SOPC_Common_Clear(void);
51 
59 
68 
69 #endif /* SOPC_COMMON_H_ */
SOPC_Common_IsInitialized
bool SOPC_Common_IsInitialized(void)
return Common module initialization status
SOPC_Log_Configuration
Defines logging configuration.
Definition: sopc_log_manager.h:103
SOPC_Common_SetLogLevel
SOPC_ReturnStatus SOPC_Common_SetLogLevel(SOPC_Log_Level level)
set general log level
sopc_enums.h
SOPC_Log_Level
SOPC_Log_Level
Definition: libs2opc_client.h:79
sopc_log_manager.h
Provide circular logging.
SOPC_Common_Clear
void SOPC_Common_Clear(void)
clear common library (including logs)
SOPC_Common_GetDefaultLogConfiguration
SOPC_Log_Configuration SOPC_Common_GetDefaultLogConfiguration(void)
retrieve the default log configuration
SOPC_Common_Initialize
SOPC_ReturnStatus SOPC_Common_Initialize(SOPC_Log_Configuration logConfiguration)
Initializes Common module.
SOPC_ReturnStatus
SOPC_ReturnStatus
Definition: libs2opc_client.h:64