2 <head><title>smfi_main</title></head>
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>
14 Hand control to libmilter event loop.
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>
24 <tr align="left" valign=top>
25 <th width="80">Effects</th>
26 <td>smfi_main hands control to the Milter event loop.</td>
30 <!----------- Return values ---------->
32 <th valign="top" align=left>RETURN VALUES</th>
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>
41 Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
44 By using this file, you agree to the terms and conditions set