smfi_main.html revision 303975
138032Speter<HTML> 238032Speter<HEAD><TITLE>smfi_main</TITLE></HEAD> 3261370Sgshapiro<BODY> 464562Sgshapiro<!-- 538032Speter$Id: smfi_main.html,v 1.10 2013-11-22 20:51:39 ca Exp $ 638032Speter--> 738032Speter<H1>smfi_main</H1> 838032Speter 938032Speter<TABLE border="0" cellspacing=4 cellpadding=4> 1038032Speter<!---------- Synopsis -----------> 1138032Speter<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD> 1238032Speter<PRE> 1338032Speter#include <libmilter/mfapi.h> 1438032Speterint smfi_main( 1538032Speter); 1638032Speter</PRE> 17266711SgshapiroHand control to libmilter event loop. 1838032Speter</TD></TR> 1964562Sgshapiro 2038032Speter<!----------- Description ----------> 2138032Speter<TR><TH valign="top" align=left>DESCRIPTION</TH><TD> 2238032Speter<TABLE border="1" cellspacing=1 cellpadding=4> 2338032Speter<TR align="left" valign=top> 2438032Speter<TH width="80">Called When</TH> 2538032Speter<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 ----------> 34<TR> 35<TH valign="top" align=left>RETURN VALUES</TH> 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> 39 40</TABLE> 41 42<HR size="1"> 43<FONT size="-1"> 44Copyright (c) 2000, 2003 Proofpoint, Inc. and its suppliers. 45All rights reserved. 46<BR> 47By using this file, you agree to the terms and conditions set 48forth in the LICENSE. 49</FONT> 50</BODY> 51</HTML> 52