2 * Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
4 * Copyright (c) 1983 Eric P. Allman. All rights reserved.
5 * Copyright (c) 1988, 1993
6 * The Regents of the University of California. All rights reserved.
8 * By using this file, you agree to the terms and conditions set
9 * forth in the LICENSE file which can be found at the top level of
10 * the sendmail distribution.
13 * $Id: mailstats.h,v 8.18 2001/11/21 13:39:10 gshapiro Exp $
17 # define STAT_VERSION 4
18 #else /* _FFR_QUARANTINE */
19 # define STAT_VERSION 3
20 #endif /* _FFR_QUARANTINE */
21 #define STAT_MAGIC 0x1B1DE
24 ** Statistics structure.
29 int stat_magic; /* magic number */
30 int stat_version; /* stat file version */
31 time_t stat_itime; /* file initialization time */
32 short stat_size; /* size of this structure */
33 long stat_cf; /* # from connections */
34 long stat_ct; /* # to connections */
35 long stat_cr; /* # rejected connections */
36 long stat_nf[MAXMAILERS]; /* # msgs from each mailer */
37 long stat_bf[MAXMAILERS]; /* kbytes from each mailer */
38 long stat_nt[MAXMAILERS]; /* # msgs to each mailer */
39 long stat_bt[MAXMAILERS]; /* kbytes to each mailer */
40 long stat_nr[MAXMAILERS]; /* # rejects by each mailer */
41 long stat_nd[MAXMAILERS]; /* # discards by each mailer */
43 long stat_nq[MAXMAILERS]; /* # quarantines by each mailer */
44 #endif /* _FFR_QUARANTINE */