smfi_main.html revision 112810
190792Sgshapiro<html> 290792Sgshapiro<head><title>smfi_main</title></head> 390792Sgshapiro<body> 490792Sgshapiro<h1>smfi_main</h1> 590792Sgshapiro 690792Sgshapiro<table border="0" cellspacing=4 cellpadding=4> 790792Sgshapiro<!---------- Synopsis -----------> 890792Sgshapiro<tr><th valign="top" align=left width=150>SYNOPSIS</th><td> 990792Sgshapiro<pre> 1090792Sgshapiro#include <libmilter/mfapi.h> 1190792Sgshapiroint smfi_main( 1290792Sgshapiro); 1390792Sgshapiro</pre> 1490792SgshapiroHand control to libmilter event loop. 1590792Sgshapiro</td></tr> 1690792Sgshapiro 1790792Sgshapiro<!----------- Description ----------> 1890792Sgshapiro<tr><th valign="top" align=left>DESCRIPTION</th><td> 1990792Sgshapiro<table border="1" cellspacing=1 cellpadding=4> 2090792Sgshapiro<tr align="left" valign=top> 2190792Sgshapiro<th width="80">Called When</th> 2290792Sgshapiro<td>smfi_main is called after a filter's initialization is complete.</td> 2390792Sgshapiro</tr> 2490792Sgshapiro<tr align="left" valign=top> 2590792Sgshapiro<th width="80">Effects</th> 2690792Sgshapiro<td>smfi_main hands control to the Milter event loop.</td> 2790792Sgshapiro</tr> 2890792Sgshapiro</table> 2990792Sgshapiro 3090792Sgshapiro<!----------- Return values ----------> 3190792Sgshapiro<tr> 3290792Sgshapiro<th valign="top" align=left>RETURN VALUES</th> 3390792Sgshapiro 3490792Sgshapiro<td>smfi_main will return MI_FAILURE if it fails to establish a connection. This may occur for any of a variety of reasons (e.g. invalid address passed to <a href="smfi_setconn.html">smfi_setconn</a>). The reason for the failure will be logged. Otherwise, smfi_main will return MI_SUCCESS.</td> 3590792Sgshapiro</tr> 3690792Sgshapiro 3790792Sgshapiro</table> 3890792Sgshapiro 3990792Sgshapiro<hr size="1"> 4090792Sgshapiro<font size="-1"> 41112810SgshapiroCopyright (c) 2000, 2003 Sendmail, Inc. and its suppliers. 4290792SgshapiroAll rights reserved. 4390792Sgshapiro<br> 4490792SgshapiroBy using this file, you agree to the terms and conditions set 45112810Sgshapiroforth in the LICENSE. 4690792Sgshapiro</font> 4790792Sgshapiro</body> 4890792Sgshapiro</html> 49