1 /* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef OHOS_HDI_COMMON_H 10 #define OHOS_HDI_COMMON_H 11 12 namespace OHOS { 13 namespace HDI { 14 constexpr const char *MAX_BUFF_SIZE_MACRO = "HDI_BUFF_MAX_SIZE"; 15 constexpr const char *MAX_BUFF_SIZE_VALUE = "1024 * 200"; // 200KB 16 constexpr const char *CHECK_VALUE_RETURN_MACRO = "HDI_CHECK_VALUE_RETURN"; 17 constexpr const char *CHECK_VALUE_RET_GOTO_MACRO = "HDI_CHECK_VALUE_RET_GOTO"; 18 } 19 } 20 21 #endif // OHOS_HDI_COMMON_H 22