Commit f5544e70 f5544e70b25bbb78e913962322336416a08b152b by Sergey Poznyakoff

Forgotten to add

1 parent f2baee42
1 /* GNU mailutils - a suite of utilities for electronic mail
2 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
17
18 #ifdef HAVE_CONFIG_H
19 # include <config.h>
20 #endif
21
22 #include <unistd.h>
23 #include <stdlib.h>
24 #include <stdio.h>
25
26 #include <sys/types.h>
27 #include <sys/stat.h>
28 #include <sys/time.h>
29 #include <sys/socket.h>
30 #include <netinet/in.h>
31 #include <arpa/inet.h>
32 #include <signal.h>
33 #include <errno.h>
34 #include <termios.h>
35 #include <syslog.h>
36 #include <string.h>
37 #include <pwd.h>
38 #include <getopt.h>
39
40 #ifndef INADDR_NONE
41 # define INADDR_NONE -1
42 #endif
43
44 unsigned maxrequests;
45 time_t request_control_interval;
46 time_t overflow_control_interval;
47 time_t overflow_delay_time;
48 int maxlines;
49
50 extern void read_config (char *config_file);
51 int acl_match (struct sockaddr_in *sa_in);