2 <head><title>smfi_settimeout
</title></head>
4 <h1>smfi_settimeout
</h1>
6 <table border=
"0" cellspacing=
4 cellpadding=
4>
7 <!---------- Synopsis ----------->
8 <tr><th valign=
"top" align=left width=
150>SYNOPSIS
</th><td>
10 #include
<libmilter/mfapi.h
>
15 Set the filter's connection timeout value.
18 <!----------- Description ---------->
19 <tr><th valign=
"top" align=left
>DESCRIPTION
</th><td>
20 <table border=
"1" cellspacing=
1 cellpadding=
4>
21 <tr align=
"left" valign=top
>
22 <th width=
"80">Called When
</th>
23 <td>smfi_settimeout should only be called before
<a href=
"smfi_main.html">smfi_main
</a>.
</td>
25 <tr align=
"left" valign=top
>
26 <th width=
"80">Effects
</th>
27 <td>Sets the number of seconds libmilter will wait for an MTA connection before
29 If smfi_settimeout is not called, a default timeout of
7210 seconds is used.
34 <!----------- Arguments ---------->
35 <tr><th valign=
"top" align=left
>ARGUMENTS
</th><td>
36 <table border=
"1" cellspacing=
0>
37 <tr bgcolor=
"#dddddd"><th>Argument
</th><th>Description
</th></tr>
38 <tr valign=
"top"><td>otimeout
</td>
39 <td>The number of seconds to wait before timing out (
> 0). Zero means
40 no wait,
<b>not
</b> "wait forever".
45 <!----------- Return values ---------->
47 <th valign=
"top" align=left
>RETURN VALUES
</th>
49 <td>smfi_settimeout always returns MI_SUCCESS.
</td>
56 Copyright (c)
2000,
2002-
2003 Sendmail, Inc. and its suppliers.
59 By using this file, you agree to the terms and conditions set