source: trunk/third/sendmail/sendmail/timers.h @ 19204

Revision 19204, 808 bytes checked in by zacheiss, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r19203, which included commits to RCS files with non-trunk default branches.
Line 
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 1.1.1.1 2003-04-08 15:12:14 zacheiss Exp $
10 *
11 * Contributed by Exactis.com, Inc.
12 *
13 */
14
15#ifndef TIMERS_H
16#define TIMERS_H 1
17
18#define MAXTIMERSTACK   20              /* maximum timer depth */
19
20#define TIMER   struct _timer
21
22TIMER
23{
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 */
28};
29
30extern void     pushtimer __P((TIMER *));
31extern void     poptimer __P((TIMER *));
32extern char     *strtimer __P((TIMER *));
33#endif /* ! TIMERS_H */
Note: See TracBrowser for help on using the repository browser.