smfi_settimeout.html revision 90792
190075Sobrien<html> 2169689Skan<head><title>smfi_settimeout</title></head> 390075Sobrien<body> 490075Sobrien<h1>smfi_settimeout</h1> 590075Sobrien 690075Sobrien<table border="0" cellspacing=4 cellpadding=4> 790075Sobrien<!---------- Synopsis -----------> 890075Sobrien<tr><th valign="top" align=left width=150>SYNOPSIS</th><td> 990075Sobrien<pre> 1090075Sobrien#include <libmilter/mfapi.h> 1190075Sobrienint smfi_settimeout( 1290075Sobrien int otimeout 1390075Sobrien); 1490075Sobrien</pre> 1590075SobrienSet the filter's connection timeout value. 1690075Sobrien</td></tr> 1790075Sobrien 18169689Skan<!----------- Description ----------> 19169689Skan<tr><th valign="top" align=left>DESCRIPTION</th><td> 2090075Sobrien<table border="1" cellspacing=1 cellpadding=4> 21169689Skan<tr align="left" valign=top> 22169689Skan<th width="80">Called When</th> 23117395Skan<td>smfi_settimeout should only be called before <a href="smfi_main.html">smfi_main</a>.</td> 24169689Skan</tr> 2590075Sobrien<tr align="left" valign=top> 26132718Skan<th width="80">Effects</th> 2790075Sobrien<td>Sets the number of seconds libmilter will wait for an MTA connection before timing out a socket. If smfi_settimeout is not called, a default timeout of 1800 seconds is used.</td> 28132718Skan</tr> 29132718Skan</table> 30169689Skan 31132718Skan<!----------- Arguments ----------> 32132718Skan<tr><th valign="top" align=left>ARGUMENTS</th><td> 33132718Skan <table border="1" cellspacing=0> 34169689Skan <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr> 35169689Skan <tr valign="top"><td>otimeout</td> 36169689Skan <td>The number of seconds to wait before timing out (> 0). Zero means 37169689Skanno wait, <b>not</b> "wait forever". 38169689Skan </td></tr> 39 </table> 40</td></tr> 41 42<!----------- Return values ----------> 43<tr> 44<th valign="top" align=left>RETURN VALUES</th> 45 46<td>smfi_settimeout always returns MI_SUCCESS.</td> 47</tr> 48 49</table> 50 51<hr size="1"> 52<font size="-1"> 53Copyright (c) 2000 Sendmail, Inc. and its suppliers. 54All rights reserved. 55<br> 56By using this file, you agree to the terms and conditions set 57forth in the <a href="LICENSE.txt">LICENSE</a>. 58</font> 59</body> 60</html> 61