Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / util / watchdog.h
blob2472e3d410cc35c32b3bf2d49d367556a02c9a54
1 /* $NetBSD$ */
3 #ifndef _WATCHDOG_H_INCLUDED_
4 #define _WATCHDOG_H_INCLUDED_
6 /*++
7 /* NAME
8 /* watchdog 3h
9 /* SUMMARY
10 /* watchdog timer
11 /* SYNOPSIS
12 /* #include "watchdog.h"
13 DESCRIPTION
14 .nf
17 * External interface.
19 typedef struct WATCHDOG WATCHDOG;
20 typedef void (*WATCHDOG_FN) (WATCHDOG *, char *);
21 extern WATCHDOG *watchdog_create(unsigned, WATCHDOG_FN, char *);
22 extern void watchdog_start(WATCHDOG *);
23 extern void watchdog_stop(WATCHDOG *);
24 extern void watchdog_destroy(WATCHDOG *);
25 extern void watchdog_pat(void);
27 /* LICENSE
28 /* .ad
29 /* .fi
30 /* The Secure Mailer license must be distributed with this software.
31 /* AUTHOR(S)
32 /* Wietse Venema
33 /* IBM T.J. Watson Research
34 /* P.O. Box 704
35 /* Yorktown Heights, NY 10598, USA
36 /*--*/
38 #endif