• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  * Description:   system log messages
15  * Author:
16  * Create:
17  */
18 
19 #ifndef LOG_SYSTEM_MESSAGES_H
20 #define LOG_SYSTEM_MESSAGES_H
21 
22 #include "log_common.h"
23 
24 /**
25  * @addtogroup connectivity_libs_log
26  * @{
27  */
28 typedef struct {
29     uint32_t counter;  // !< Number of missed messages.
30 } log_system_missed_message_t;
31 
32 typedef enum {
33     LOG_SYSTEM_MISSED_MESSAGE_BUFFER,  // missed messages due to shared memeory being full
34 } log_system_message_id_t;
35 
36 typedef enum {
37     LOG_SYSTEM_MODULE_LOG,  // logging
38 } log_system_module_t;
39 
40 /**
41  * @}
42  */
43 #endif