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 9 #ifndef PLATFORM_LISTENER_COMMON_H 10 #define PLATFORM_LISTENER_COMMON_H 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif /* __cplusplus */ 15 16 enum PlatformListenerEventID { 17 PLATFORM_LISTENER_EVENT_GPIO_INT_NOTIFY, 18 PLATFORM_LISTENER_EVENT_TIMER_NOTIFY, 19 PLATFORM_LISTENER_EVENT_RTC_ALARM_NOTIFY, 20 PLATFORM_LISTENER_EVENT_PCIE_NOTIFY, 21 }; 22 23 #define LISTENER_MATCH_INFO_LEN 256 24 #ifdef __cplusplus 25 } 26 #endif /* __cplusplus */ 27 28 #endif /* PLATFORM_LISTENER_COMMON_H */ 29