]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/sendmail/src/mailstats.h
This commit was generated by cvs2svn to compensate for changes in r53024,
[FreeBSD/FreeBSD.git] / contrib / sendmail / src / mailstats.h
1 /*
2  * Copyright (c) 1998 Sendmail, Inc.  All rights reserved.
3  * Copyright (c) 1983 Eric P. Allman.  All rights reserved.
4  * Copyright (c) 1988, 1993
5  *      The Regents of the University of California.  All rights reserved.
6  *
7  * By using this file, you agree to the terms and conditions set
8  * forth in the LICENSE file which can be found at the top level of
9  * the sendmail distribution.
10  *
11  *
12  *      @(#)mailstats.h 8.8 (Berkeley) 5/19/1998
13  */
14
15 #define STAT_VERSION    2
16 #define STAT_MAGIC      0x1B1DE
17
18 /*
19 **  Statistics structure.
20 */
21
22 struct statistics
23 {
24         int     stat_magic;             /* magic number */
25         int     stat_version;           /* stat file version */
26         time_t  stat_itime;             /* file initialization time */
27         short   stat_size;              /* size of this structure */
28         long    stat_nf[MAXMAILERS];    /* # msgs from each mailer */
29         long    stat_bf[MAXMAILERS];    /* kbytes from each mailer */
30         long    stat_nt[MAXMAILERS];    /* # msgs to each mailer */
31         long    stat_bt[MAXMAILERS];    /* kbytes to each mailer */
32         long    stat_nr[MAXMAILERS];    /* # rejects by each mailer */
33         long    stat_nd[MAXMAILERS];    /* # discards by each mailer */
34 };