diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-11-01 21:52:59 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-11-01 21:52:59 +0000 |
commit | f5544e70b25bbb78e913962322336416a08b152b (patch) | |
tree | e660d8de79cf836546179a65715836751a51a0ed /comsat/comsat.h | |
parent | f2baee42b4cd692b93d8b8521f3a851edaf3a259 (diff) | |
download | mailutils-f5544e70b25bbb78e913962322336416a08b152b.tar.gz mailutils-f5544e70b25bbb78e913962322336416a08b152b.tar.bz2 |
Forgotten to add
Diffstat (limited to 'comsat/comsat.h')
-rw-r--r-- | comsat/comsat.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/comsat/comsat.h b/comsat/comsat.h new file mode 100644 index 000000000..0e04e43a9 --- /dev/null +++ b/comsat/comsat.h @@ -0,0 +1,51 @@ +/* GNU mailutils - a suite of utilities for electronic mail + Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + +#include <unistd.h> +#include <stdlib.h> +#include <stdio.h> + +#include <sys/types.h> +#include <sys/stat.h> +#include <sys/time.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> +#include <signal.h> +#include <errno.h> +#include <termios.h> +#include <syslog.h> +#include <string.h> +#include <pwd.h> +#include <getopt.h> + +#ifndef INADDR_NONE +# define INADDR_NONE -1 +#endif + +unsigned maxrequests; +time_t request_control_interval; +time_t overflow_control_interval; +time_t overflow_delay_time; +int maxlines; + +extern void read_config (char *config_file); +int acl_match (struct sockaddr_in *sa_in); |