xref: /titanic_50/usr/src/cmd/sendmail/src/timers.h (revision 10d63b7db37a83b39c7f511cf9426c9d03ea0760)
1 /*
2  * Copyright (c) 1999-2000 Sendmail, Inc. and its suppliers.
3  *	All rights reserved.
4  *
5  * By using this file, you agree to the terms and conditions set
6  * forth in the LICENSE file which can be found at the top level of
7  * the sendmail distribution.
8  *
9  *	$Id: timers.h,v 8.6 2001/04/03 01:53:18 gshapiro Exp $
10  *
11  * Contributed by Exactis.com, Inc.
12  *
13  */
14 
15 #pragma ident	"%Z%%M%	%I%	%E% SMI"
16 
17 #ifndef TIMERS_H
18 #define TIMERS_H 1
19 
20 #define MAXTIMERSTACK	20		/* maximum timer depth */
21 
22 #define TIMER	struct _timer
23 
24 TIMER
25 {
26 	long	ti_wall_sec;		/* wall clock seconds */
27 	long	ti_wall_usec;		/* ... microseconds */
28 	long	ti_cpu_sec;		/* cpu time seconds */
29 	long	ti_cpu_usec;		/* ... microseconds */
30 };
31 
32 extern void	pushtimer __P((TIMER *));
33 extern void	poptimer __P((TIMER *));
34 extern char	*strtimer __P((TIMER *));
35 #endif /* ! TIMERS_H */
36