1 /*
2 * Copyright (c) 2022 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 #include "platform_dumper.h"
9
PlatformDumperCreate(const char * name)10 struct PlatformDumper *PlatformDumperCreate(const char *name)
11 {
12 (void)name;
13 return NULL;
14 }
15
PlatformDumperDestroy(struct PlatformDumper * dumper)16 void PlatformDumperDestroy(struct PlatformDumper *dumper)
17 {
18 (void)dumper;
19 }
20
PlatformDumperDump(struct PlatformDumper * dumper)21 int32_t PlatformDumperDump(struct PlatformDumper *dumper)
22 {
23 (void)dumper;
24 return HDF_SUCCESS;
25 }
26
PlatformDumperAddData(struct PlatformDumper * dumper,const struct PlatformDumperData * data)27 int32_t PlatformDumperAddData(struct PlatformDumper *dumper, const struct PlatformDumperData *data)
28 {
29 (void)dumper;
30 (void)data;
31 return HDF_SUCCESS;
32 }
33
PlatformDumperAddDatas(struct PlatformDumper * dumper,struct PlatformDumperData datas[],int size)34 int32_t PlatformDumperAddDatas(struct PlatformDumper *dumper, struct PlatformDumperData datas[], int size)
35 {
36 (void)dumper;
37 (void)datas;
38 (void)size;
39 return HDF_SUCCESS;
40 }
41
PlatformDumperSetMethod(struct PlatformDumper * dumper,struct PlatformDumperMethod * ops)42 int32_t PlatformDumperSetMethod(struct PlatformDumper *dumper, struct PlatformDumperMethod *ops)
43 {
44 (void)dumper;
45 (void)ops;
46 return HDF_SUCCESS;
47 }
48
PlatformDumperDelData(struct PlatformDumper * dumper,const char * name,enum PlatformDumperDataType type)49 int32_t PlatformDumperDelData(struct PlatformDumper *dumper, const char *name, enum PlatformDumperDataType type)
50 {
51 (void)dumper;
52 (void)name;
53 (void)type;
54 return HDF_SUCCESS;
55 }
56
PlatformDumperClearDatas(struct PlatformDumper * dumper)57 int32_t PlatformDumperClearDatas(struct PlatformDumper *dumper)
58 {
59 (void)dumper;
60 return HDF_SUCCESS;
61 }
62