/* * 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