acl  3.5.3.0
acl_watchdog.h
浏览该文件的文档.
1 #ifndef ACL_WATCHDOG_INCLUDE_H
2 #define ACL_WATCHDOG_INCLUDE_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #include "../acl_define.h"
9 
10 #ifdef ACL_UNIX
11 
12  /*
13  * External interface.
14  */
15 typedef struct ACL_WATCHDOG ACL_WATCHDOG;
16 typedef void (*ACL_WATCHDOG_FN) (ACL_WATCHDOG *, char *);
17 extern ACL_WATCHDOG *acl_watchdog_create(unsigned, ACL_WATCHDOG_FN, char *);
18 extern void acl_watchdog_start(ACL_WATCHDOG *);
19 extern void acl_watchdog_stop(ACL_WATCHDOG *);
20 extern void acl_watchdog_destroy(ACL_WATCHDOG *);
21 extern void acl_watchdog_pat(void);
22 
23 #endif /* ACL_UNIX*/
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif
30