2 <head><title>smfi_settimeout</title></head>
5 $Id: smfi_settimeout.html,v 1.11 2003/03/05 19:57:54 ca Exp $
7 <h1>smfi_settimeout</h1>
9 <table border="0" cellspacing=4 cellpadding=4>
10 <!---------- Synopsis ----------->
11 <tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
13 #include <libmilter/mfapi.h>
18 Set the filter's connection timeout value.
21 <!----------- Description ---------->
22 <tr><th valign="top" align=left>DESCRIPTION</th><td>
23 <table border="1" cellspacing=1 cellpadding=4>
24 <tr align="left" valign=top>
25 <th width="80">Called When</th>
26 <td>smfi_settimeout should only be called before <a href="smfi_main.html">smfi_main</a>.</td>
28 <tr align="left" valign=top>
29 <th width="80">Effects</th>
30 <td>Sets the number of seconds libmilter will wait for an MTA connection before
32 If smfi_settimeout is not called, a default timeout of 7210 seconds is used.
37 <!----------- Arguments ---------->
38 <tr><th valign="top" align=left>ARGUMENTS</th><td>
39 <table border="1" cellspacing=0>
40 <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
41 <tr valign="top"><td>otimeout</td>
42 <td>The number of seconds to wait before timing out (> 0). Zero means
43 no wait, <b>not</b> "wait forever".
48 <!----------- Return values ---------->
50 <th valign="top" align=left>RETURN VALUES</th>
52 <td>smfi_settimeout always returns MI_SUCCESS.</td>
59 Copyright (c) 2000, 2002-2003 Sendmail, Inc. and its suppliers.
62 By using this file, you agree to the terms and conditions set