smfi_main.html revision 90792
1262569Simp<html> 2262569Simp<head><title>smfi_main</title></head> 3262569Simp<body> 4262569Simp<h1>smfi_main</h1> 5262569Simp 6262569Simp<table border="0" cellspacing=4 cellpadding=4> 7262569Simp<!---------- Synopsis -----------> 8262569Simp<tr><th valign="top" align=left width=150>SYNOPSIS</th><td> 9262569Simp<pre> 10262569Simp#include <libmilter/mfapi.h> 11262569Simpint smfi_main( 12262569Simp); 13262569Simp</pre> 14262569SimpHand control to libmilter event loop. 15262569Simp</td></tr> 16262569Simp 17262569Simp<!----------- Description ----------> 18262569Simp<tr><th valign="top" align=left>DESCRIPTION</th><td> 19262569Simp<table border="1" cellspacing=1 cellpadding=4> 20262569Simp<tr align="left" valign=top> 21262569Simp<th width="80">Called When</th> 22262569Simp<td>smfi_main is called after a filter's initialization is complete.</td> 23262569Simp</tr> 24262569Simp<tr align="left" valign=top> 25262569Simp<th width="80">Effects</th> 26262569Simp<td>smfi_main hands control to the Milter event loop.</td> 27262569Simp</tr> 28262569Simp</table> 29262569Simp 30262569Simp<!----------- Return values ----------> 31262569Simp<tr> 32262569Simp<th valign="top" align=left>RETURN VALUES</th> 33262569Simp 34262569Simp<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> 35262569Simp</tr> 36262569Simp 37262569Simp</table> 38262569Simp 39262569Simp<hr size="1"> 40262569Simp<font size="-1"> 41262569SimpCopyright (c) 2000 Sendmail, Inc. and its suppliers. 42262569SimpAll rights reserved. 43262569Simp<br> 44262569SimpBy using this file, you agree to the terms and conditions set 45262569Simpforth in the <a href="LICENSE.txt">LICENSE</a>. 46262569Simp</font> 47262569Simp</body> 48262569Simp</html> 49262569Simp