| you.chen | 5ef374a | 2023-12-26 17:25:16 +0800 | [diff] [blame^] | 1 | #ifndef _LYNQ_ALARM_H_ | 
| 2 | #define _LYNQ_ALARM_H_ | ||||
| 3 | |||||
| 4 | |||||
| 5 | #include<stdio.h> | ||||
| 6 | #include<stdlib.h> | ||||
| 7 | #include<regex.h> | ||||
| 8 | #include<stdbool.h> | ||||
| 9 | #include<time.h> | ||||
| 10 | #include<string.h> | ||||
| 11 | |||||
| 12 | #ifdef __cplusplus | ||||
| 13 | extern "C" { | ||||
| 14 | #endif | ||||
| 15 | |||||
| 16 | |||||
| 17 | ssize_t wakealarm(char *buffer); | ||||
| 18 | |||||
| 19 | ssize_t poweralarm(char *buffer); | ||||
| 20 | |||||
| 21 | int cancel_wakealarm(void); | ||||
| 22 | |||||
| 23 | #ifdef __cplusplus | ||||
| 24 | } | ||||
| 25 | #endif | ||||
| 26 | |||||
| 27 | #endif | ||||