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 HDF_ATTRIBUTE_MANAGER_H 10 #define HDF_ATTRIBUTE_MANAGER_H 11 12 #include "hdf_slist.h" 13 14 const struct DeviceResourceNode *HdfGetRootNode(void); 15 bool HdfAttributeManagerGetHostList(struct HdfSList *hostList); 16 struct HdfSList *HdfAttributeManagerGetDeviceList(uint16_t hostId, const char *hostName); 17 bool HdfDeviceListAdd(const char *moduleName, const char *serviceName, const void *privateData); 18 void HdfDeviceListDel(const char *moduleName, const char *serviceName); 19 20 #endif /* HDF_ATTRIBUTE_MANAGER_H */ 21