1<html> 2<head><title>smfi_main</title></head> 3<body> 4<h1>smfi_main</h1> 5 6<table border="0" cellspacing=4 cellpadding=4> 7<!---------- Synopsis -----------> 8<tr><th valign="top" align=left width=150>SYNOPSIS</th><td> 9<pre> 10#include <libmilter/mfapi.h> 11int smfi_main( 12); 13</pre> 14Hand control to libmilter event loop. 15</td></tr> 16 17<!----------- Description ----------> 18<tr><th valign="top" align=left>DESCRIPTION</th><td> 19<table border="1" cellspacing=1 cellpadding=4> 20<tr align="left" valign=top> 21<th width="80">Called When</th> 22<td>smfi_main is called after a filter's initialization is complete.</td> 23</tr> 24<tr align="left" valign=top> 25<th width="80">Effects</th> 26<td>smfi_main hands control to the Milter event loop.</td> 27</tr> 28</table> 29 30<!----------- Return values ----------> 31<tr> 32<th valign="top" align=left>RETURN VALUES</th> 33 34<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> 35</tr> 36 37</table> 38 39<hr size="1"> 40<font size="-1"> 41Copyright (c) 2000 Sendmail, Inc. and its suppliers. 42All rights reserved. 43<br> 44By using this file, you agree to the terms and conditions set 45forth in the <a href="LICENSE.txt">LICENSE</a>. 46</font> 47</body> 48</html> 49