Import sendmail 8.13.4 into a new contrib directory as the first step
[dragonfly.git] / contrib / sendmail-8.13.4 / sendmail / timers.h
blobd7faee19a7794b8da780fdd323c82486e554c12d
1 /*
2 * Copyright (c) 1999-2000 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
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.
9 * $Id: timers.h,v 8.6 2001/04/03 01:53:18 gshapiro Exp $
11 * Contributed by Exactis.com, Inc.
15 #ifndef TIMERS_H
16 #define TIMERS_H 1
18 #define MAXTIMERSTACK 20 /* maximum timer depth */
20 #define TIMER struct _timer
22 TIMER
24 long ti_wall_sec; /* wall clock seconds */
25 long ti_wall_usec; /* ... microseconds */
26 long ti_cpu_sec; /* cpu time seconds */
27 long ti_cpu_usec; /* ... microseconds */
30 extern void pushtimer __P((TIMER *));
31 extern void poptimer __P((TIMER *));
32 extern char *strtimer __P((TIMER *));
33 #endif /* ! TIMERS_H */