2007-04-09 01:38:51 +00:00
< HTML >
< HEAD > < TITLE > smfi_main< / TITLE > < / HEAD >
< BODY >
2004-08-01 01:04:57 +00:00
<!--
2007-04-09 01:38:51 +00:00
$Id: smfi_main.html,v 1.9 2006/12/21 18:30:35 ca Exp $
2004-08-01 01:04:57 +00:00
-->
2007-04-09 01:38:51 +00:00
< H1 > smfi_main< / H1 >
2002-02-17 21:56:45 +00:00
2007-04-09 01:38:51 +00:00
< TABLE border = "0" cellspacing = 4 cellpadding = 4 >
2002-02-17 21:56:45 +00:00
<!-- - - - - - - - - Synopsis - - - - - - - - - -->
2007-04-09 01:38:51 +00:00
< TR > < TH valign = "top" align = left width = 100 > SYNOPSIS< / TH > < TD >
< PRE >
2002-02-17 21:56:45 +00:00
#include < libmilter/mfapi.h>
int smfi_main(
);
2007-04-09 01:38:51 +00:00
< / PRE >
2002-02-17 21:56:45 +00:00
Hand control to libmilter event loop.
2007-04-09 01:38:51 +00:00
< / TD > < / TR >
2002-02-17 21:56:45 +00:00
<!-- - - - - - - - - - Description - - - - - - - - -->
2007-04-09 01:38:51 +00:00
< 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 >
2002-02-17 21:56:45 +00:00
<!-- - - - - - - - - - Return values - - - - - - - - -->
2007-04-09 01:38:51 +00:00
< TR >
< TH valign = "top" align = left > RETURN VALUES< / TH >
2002-02-17 21:56:45 +00:00
2007-04-09 01:38:51 +00:00
< 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 >
2002-02-17 21:56:45 +00:00
2007-04-09 01:38:51 +00:00
< / TABLE >
2002-02-17 21:56:45 +00:00
2007-04-09 01:38:51 +00:00
< HR size = "1" >
< FONT size = "-1" >
2003-03-29 19:12:53 +00:00
Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
2002-02-17 21:56:45 +00:00
All rights reserved.
2007-04-09 01:38:51 +00:00
< BR >
2002-02-17 21:56:45 +00:00
By using this file, you agree to the terms and conditions set
2003-03-29 19:12:53 +00:00
forth in the LICENSE.
2007-04-09 01:38:51 +00:00
< / FONT >
< / BODY >
< / HTML >