1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* 3 * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. 4 */ 5 6 #ifndef LOG_STATUS_H 7 #define LOG_STATUS_H 8 9 #include <stdint.h> 10 11 typedef int32_t log_status_t; 12 13 #define LOG_STATUS_SUCCESS ((log_status_t)0) 14 #define LOG_STATUS_GENERIC_ERROR ((log_status_t)-1) 15 #define LOG_STATUS_INVALID_PARAMETER ((log_status_t)-2) 16 17 #endif /* LOG_STATUS_H */ 18