2 <HEAD><TITLE>smfi_stop</TITLE></HEAD>
5 $Id: smfi_stop.html,v 1.8 2013-11-22 20:51:39 ca Exp $
9 <TABLE border="0" cellspacing=4 cellpadding=4>
10 <!---------- Synopsis ----------->
11 <TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
13 #include <libmilter/mfapi.h>
17 No connections will be accepted after this call.
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>Called from any of the <A href="api.html#Callbacks">Callback</A> routines
26 or any error-handling routines at any time.</TD>
28 <TR align="left" valign=top>
29 <TH width="80">Effects</TH>
30 <TD>The smfi_stop routine prevents that new connections
32 however, it does not wait for existing connections (threads) to terminate.
34 <A href="smfi_main.html">smfi_main</A> to return to the calling program,
35 which may then exit or warm-restart.
41 <!----------- Arguments ---------->
42 <TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
43 <TABLE border="1" cellspacing=0>
44 <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
45 <TR valign="top"><TD>void</TD>
46 <TD>Takes no argument.
51 <!----------- Return values ---------->
53 <TH valign="top" align=left>RETURN VALUES</TH>
55 <TD>smfi_stop always returns SMFI_CONTINUE. But note:
57 <LI>Another internal routine may already have asked the milter to abort.
58 <LI>Another routine may already have asked the milter to stop.
59 <LI>There is no way to cancel the stop process once it has begun.
68 Copyright (c) 2003, 2005 Proofpoint, Inc. and its suppliers.
71 By using this file, you agree to the terms and conditions set