aboutsummaryrefslogtreecommitdiff
path: root/sendmail/libmilter/docs/smfi_main.html
diff options
context:
space:
mode:
Diffstat (limited to 'sendmail/libmilter/docs/smfi_main.html')
-rw-r--r--sendmail/libmilter/docs/smfi_main.html51
1 files changed, 51 insertions, 0 deletions
diff --git a/sendmail/libmilter/docs/smfi_main.html b/sendmail/libmilter/docs/smfi_main.html
new file mode 100644
index 000000000000..a749386512d1
--- /dev/null
+++ b/sendmail/libmilter/docs/smfi_main.html
@@ -0,0 +1,51 @@
+<HTML>
+<HEAD><TITLE>smfi_main</TITLE></HEAD>
+<BODY>
+<!--
+$Id: smfi_main.html,v 1.9 2006/12/21 18:30:35 ca Exp $
+-->
+<H1>smfi_main</H1>
+
+<TABLE border="0" cellspacing=4 cellpadding=4>
+<!---------- Synopsis ----------->
+<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
+<PRE>
+#include &lt;libmilter/mfapi.h&gt;
+int smfi_main(
+);
+</PRE>
+Hand control to libmilter event loop.
+</TD></TR>
+
+<!----------- Description ---------->
+<TR><TH valign="top" align=left>DESCRIPTION</TH><TD>
+<TABLE border="1" cellspacing=1 cellpadding=4>
+<TR align="left" valign=top>
+<TH width="80">Called When</TH>
+<TD>smfi_main is called after a filter's initialization is complete.</TD>
+</TR>
+<TR align="left" valign=top>
+<TH width="80">Effects</TH>
+<TD>smfi_main hands control to the Milter event loop.</TD>
+</TR>
+</TABLE>
+
+<!----------- Return values ---------->
+<TR>
+<TH valign="top" align=left>RETURN VALUES</TH>
+
+<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>
+</TR>
+
+</TABLE>
+
+<HR size="1">
+<FONT size="-1">
+Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
+All rights reserved.
+<BR>
+By using this file, you agree to the terms and conditions set
+forth in the LICENSE.
+</FONT>
+</BODY>
+</HTML>