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_TOKEN_H
10 #define HDF_DEVICE_TOKEN_H
11 
12 #include "device_token_if.h"
13 #include "hdf_object.h"
14 #include "hdf_slist.h"
15 
16 struct HdfDeviceToken {
17     struct IHdfDeviceToken super;
18     struct HdfSListNode node;
19 };
20 
21 struct HdfObject *HdfDeviceTokenCreate(void);
22 void HdfDeviceTokenRelease(struct HdfObject *object);
23 struct IHdfDeviceToken *HdfDeviceTokenNewInstance(void);
24 void HdfDeviceTokenFreeInstance(struct IHdfDeviceToken *token);
25 
26 #endif /* HDF_DEVICE_TOKEN_H */
27