Back to index

courier  0.68.2
esmtpconfig.c
Go to the documentation of this file.
00001 /*
00002 ** Copyright 1998 - 1999 Double Precision, Inc.
00003 ** See COPYING for distribution information.
00004 */
00005 
00006 #if    HAVE_CONFIG_H
00007 #include      "config.h"
00008 #endif
00009 #include      "esmtpconfig.h"
00010 #include      "comreadtime.h"
00011 
00012 time_t config_time_esmtptimeout()
00013 {
00014        return (config_readtime("esmtptimeout", 60 * 10));
00015 }
00016 
00017 time_t config_time_esmtpkeepalive()
00018 {
00019        return (config_readtime("esmtptimeoutkeepalive", 60));
00020 }
00021 
00022 time_t config_time_esmtpkeepaliveping()
00023 {
00024        return (config_readtime("esmtptimeoutkeepaliveping", 0));
00025 }
00026 
00027 time_t config_time_esmtphelo()
00028 {
00029        return (config_readtime("esmtptimeouthelo", 5 * 60));
00030 }
00031 
00032 time_t config_time_esmtpquit()
00033 {
00034        return (config_readtime("esmtptimeoutquit", 10));
00035 }
00036 
00037 time_t config_time_esmtpconnect()
00038 {
00039        return (config_readtime("esmtptimeoutconnect", 60));
00040 }
00041 
00042 time_t config_time_esmtpdata()
00043 {
00044        return (config_readtime("esmtptimeoutdata", 60 * 5));
00045 }
00046 
00047 time_t config_time_esmtpdelay()
00048 {
00049        return (config_readtime("esmtpdelay", 60 * 5));
00050 }