Current Path : /usr/src/contrib/sendmail/libmilter/docs/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/contrib/sendmail/libmilter/docs/smfi_settimeout.html |
<HTML> <HEAD><TITLE>smfi_settimeout</TITLE></HEAD> <BODY> <!-- $Id: smfi_settimeout.html,v 1.14 2006/12/21 18:30:35 ca Exp $ --> <H1>smfi_settimeout</H1> <TABLE border="0" cellspacing=4 cellpadding=4> <!---------- Synopsis -----------> <TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD> <PRE> #include <libmilter/mfapi.h> int smfi_settimeout( int otimeout ); </PRE> Set the filter's I/O timeout value. </TD></TR> <!----------- Description ----------> <TR><TH valign="top" align=left>DESCRIPTION</TH><TD> <TABLE border="1" cellspacing=1 cellpadding=4> <TR align="left" valign=top> <TH width="80">Called When</TH> <TD>smfi_settimeout should only be called before <A href="smfi_main.html">smfi_main</A>.</TD> </TR> <TR align="left" valign=top> <TH width="80">Effects</TH> <TD>Sets the number of seconds libmilter will wait for an MTA communication (read or write) before timing out. If smfi_settimeout is not called, a default timeout of 7210 seconds is used. </TD> </TR> </TABLE> <!----------- Arguments ----------> <TR><TH valign="top" align=left>ARGUMENTS</TH><TD> <TABLE border="1" cellspacing=0> <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR> <TR valign="top"><TD>otimeout</TD> <TD>The number of seconds to wait before timing out (> 0). Zero means no wait, <B>not</B> "wait forever". </TD></TR> </TABLE> </TD></TR> <!----------- Return values ----------> <TR> <TH valign="top" align=left>RETURN VALUES</TH> <TD>smfi_settimeout always returns MI_SUCCESS.</TD> </TR> </TABLE> <HR size="1"> <FONT size="-1"> Copyright (c) 2000, 2002-2003, 2006 Sendmail, Inc. and its suppliers. All rights reserved. <BR> By using this file, you agree to the terms and conditions set forth in the LICENSE. </FONT> </BODY> </HTML>