You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
651 B
28 lines
651 B
4 months ago
|
/*
|
||
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2020. All rights reserved.
|
||
|
* Description: dftevent common header.
|
||
|
* Author: Hisilicon
|
||
|
* Create: 2022-03-15
|
||
|
*/
|
||
|
|
||
|
#ifndef DFT_COMMON_H
|
||
|
#define DFT_COMMON_H
|
||
|
|
||
|
#define SUCCESS (0)
|
||
|
#define FAILURE (-1)
|
||
|
#define INVALID_HANDLE (0xffffffff)
|
||
|
|
||
|
typedef enum DfteventPriority {
|
||
|
DFTEVENT_PRIORITY_UNKNOWN = 0,
|
||
|
DFTEVENT_PRIORITY_DEFAULT,
|
||
|
DFTEVENT_PRIORITY_VERBOSE,
|
||
|
DFTEVENT_PRIORITY_DEBUG,
|
||
|
DFTEVENT_PRIORITY_INFO,
|
||
|
DFTEVENT_PRIORITY_WARN,
|
||
|
DFTEVENT_PRIORITY_ERROR,
|
||
|
DFTEVENT_PRIORITY_FATAL,
|
||
|
DFTEVENT_PRIORITY_SILENT,
|
||
|
} DfteventPriority;
|
||
|
|
||
|
#endif
|