2 <head><title>smfi_main
</title></head>
5 $Id: smfi_main.html,v 1.7 2003/03/05 19:57:54 ca Exp $
9 <table border=
"0" cellspacing=
4 cellpadding=
4>
10 <!---------- Synopsis ----------->
11 <tr><th valign=
"top" align=left width=
150>SYNOPSIS
</th><td>
13 #include
<libmilter/mfapi.h
>
17 Hand control to libmilter event loop.
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>
27 <tr align=
"left" valign=top
>
28 <th width=
"80">Effects
</th>
29 <td>smfi_main hands control to the Milter event loop.
</td>
33 <!----------- Return values ---------->
35 <th valign=
"top" align=left
>RETURN VALUES
</th>
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>
44 Copyright (c)
2000,
2003 Sendmail, Inc. and its suppliers.
47 By using this file, you agree to the terms and conditions set