1 /*
2  * Copyright (c) 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 PLATFORM_EVENT_TEST_H
10 #define PLATFORM_EVENT_TEST_H
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 enum PlatformEventTestCmd {
17     PLAT_EVENT_TEST_INIT_AND_UNINIT = 0,
18     PLAT_EVENT_TEST_POST_AND_WAIT = 1,
19     PLAT_EVENT_TEST_LISTEN_AND_UNLISTEN = 2,
20     PLAT_EVENT_TEST_RELIABILITY = 3,
21     PLAT_EVENT_TEST_CMD_MAX,
22 };
23 
24 int PlatformEventTestExecute(int cmd);
25 void PlatformEventTestExecuteAll(void);
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 #endif /* PLATFORM_EVENT_TEST_H */
31