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