~ubuntu-branches/ubuntu/trusty/postfix/trusty-proposed

« back to all changes in this revision

Viewing changes to src/util/watchdog.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-02-27 09:33:07 UTC
  • Revision ID: james.westby@ubuntu.com-20050227093307-cn789t27ibnlh6tf
Tags: upstream-2.1.5
ImportĀ upstreamĀ versionĀ 2.1.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _WATCHDOG_H_INCLUDED_
 
2
#define _WATCHDOG_H_INCLUDED_
 
3
 
 
4
/*++
 
5
/* NAME
 
6
/*      watchdog 3h
 
7
/* SUMMARY
 
8
/*      watchdog timer
 
9
/* SYNOPSIS
 
10
/*      #include "watchdog.h"
 
11
 DESCRIPTION
 
12
 .nf
 
13
 
 
14
 /*
 
15
  * External interface.
 
16
  */
 
17
typedef struct WATCHDOG WATCHDOG;
 
18
typedef void (*WATCHDOG_FN) (WATCHDOG *, char *);
 
19
extern WATCHDOG *watchdog_create(unsigned, WATCHDOG_FN, char *);
 
20
extern void watchdog_start(WATCHDOG *);
 
21
extern void watchdog_stop(WATCHDOG *);
 
22
extern void watchdog_destroy(WATCHDOG *);
 
23
extern void watchdog_pat(void);
 
24
 
 
25
/* LICENSE
 
26
/* .ad
 
27
/* .fi
 
28
/*      The Secure Mailer license must be distributed with this software.
 
29
/* AUTHOR(S)
 
30
/*      Wietse Venema
 
31
/*      IBM T.J. Watson Research
 
32
/*      P.O. Box 704
 
33
/*      Yorktown Heights, NY 10598, USA
 
34
/*--*/
 
35
 
 
36
#endif