1 /* 2 * Copyright (c) 2020-2021 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 HCS_MACRO_CASES_H 10 #define HCS_MACRO_CASES_H 11 12 #ifdef __cplusplus 13 #if __cplusplus 14 extern "C" { 15 #endif 16 #endif /* __cplusplus */ 17 18 int HcsMacroGetOneNode(void); 19 int HcsMacroCheckNodeExists(void); 20 int HcsMacroCheckNodeNotExists(void); 21 int HcsMacroCheckPropExists(void); 22 int HcsMacroCheckPropNotExists(void); 23 int HcsMacroGetOneNodeProp(void); 24 int HcsMacroTraversalOneNode(void); 25 int HcsMacroGetArraySize(void); 26 int HcsMacroGetArrayElement(void); 27 int HcsMacroTraversalOneArray(void); 28 int HcsMacroTraversalAllArray(void); 29 int HcsMacroTraversalOneNodeChild(void); 30 int HcsMacroTraversalOneNodeChildVargs(void); 31 int HcsMacroGetOneFile(void); 32 33 #ifdef __cplusplus 34 #if __cplusplus 35 } 36 #endif 37 #endif /* __cplusplus */ 38 39 #endif /* HCS_MACRO_CASES_H */ 40