Deleted Added
full compact
smfi_main.html (132943) smfi_main.html (168515)
1<html>
2<head><title>smfi_main</title></head>
3<body>
1<HTML>
2<HEAD><TITLE>smfi_main</TITLE></HEAD>
3<BODY>
4<!--
4<!--
5$Id: smfi_main.html,v 1.7 2003/03/05 19:57:54 ca Exp $
5$Id: smfi_main.html,v 1.9 2006/12/21 18:30:35 ca Exp $
6-->
6-->
7<h1>smfi_main</h1>
7<H1>smfi_main</H1>
8
8
9<table border="0" cellspacing=4 cellpadding=4>
9<TABLE border="0" cellspacing=4 cellpadding=4>
10<!---------- Synopsis ----------->
10<!---------- Synopsis ----------->
11<tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
12<pre>
11<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
12<PRE>
13#include &lt;libmilter/mfapi.h&gt;
14int smfi_main(
15);
13#include &lt;libmilter/mfapi.h&gt;
14int smfi_main(
15);
16</pre>
16</PRE>
17Hand control to libmilter event loop.
17Hand control to libmilter event loop.
18</td></tr>
18</TD></TR>
19
20<!----------- Description ---------->
19
20<!----------- Description ---------->
21<tr><th valign="top" align=left>DESCRIPTION</th><td>
22<table border="1" cellspacing=1 cellpadding=4>
23<tr align="left" valign=top>
24<th width="80">Called When</th>
25<td>smfi_main is called after a filter's initialization is complete.</td>
26</tr>
27<tr align="left" valign=top>
28<th width="80">Effects</th>
29<td>smfi_main hands control to the Milter event loop.</td>
30</tr>
31</table>
21<TR><TH valign="top" align=left>DESCRIPTION</TH><TD>
22<TABLE border="1" cellspacing=1 cellpadding=4>
23<TR align="left" valign=top>
24<TH width="80">Called When</TH>
25<TD>smfi_main is called after a filter's initialization is complete.</TD>
26</TR>
27<TR align="left" valign=top>
28<TH width="80">Effects</TH>
29<TD>smfi_main hands control to the Milter event loop.</TD>
30</TR>
31</TABLE>
32
33<!----------- Return values ---------->
32
33<!----------- Return values ---------->
34<tr>
35<th valign="top" align=left>RETURN VALUES</th>
34<TR>
35<TH valign="top" align=left>RETURN VALUES</TH>
36
36
37<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>
38</tr>
37<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>
38</TR>
39
39
40</table>
40</TABLE>
41
41
42<hr size="1">
43<font size="-1">
42<HR size="1">
43<FONT size="-1">
44Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
45All rights reserved.
44Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
45All rights reserved.
46<br>
46<BR>
47By using this file, you agree to the terms and conditions set
48forth in the LICENSE.
47By using this file, you agree to the terms and conditions set
48forth in the LICENSE.
49</font>
50</body>
51</html>
49</FONT>
50</BODY>
51</HTML>