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_DEVICE_NODE_EXT_H 10 #define HDF_DEVICE_NODE_EXT_H 11 12 #include "hdf_io_service.h" 13 #include "hdf_device_node.h" 14 15 struct DeviceNodeExt { 16 struct HdfDeviceNode super; 17 struct HdfIoService *ioService; 18 }; 19 20 struct HdfObject *DeviceNodeExtCreate(void); 21 void DeviceNodeExtRelease(struct HdfObject *object); 22 23 #endif /* HDF_DEVICE_NODE_EXT_H */ 24 25