• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_DRIVER_INSTALLER_H
10 #define HDF_DRIVER_INSTALLER_H
11 
12 #include "hdf_object.h"
13 
14 struct IDriverInstaller {
15     struct HdfObject object;
16     int (*StartDeviceHost)(uint32_t, const char *, bool);
17     int (*StopDeviceHost)(uint32_t, const char *);
18 };
19 
20 struct DriverInstaller {
21     struct IDriverInstaller super;
22 };
23 
24 struct HdfObject *DriverInstallerCreate(void);
25 struct IDriverInstaller *DriverInstallerGetInstance(void);
26 
27 #endif /* HDF_DRIVER_INSTALLER_H */
28