freebsd_amp_hwpstate/libmilter/docs/smfi_quarantine.html

74 lines
1.9 KiB
HTML
Raw Normal View History

2007-04-09 01:38:51 +00:00
<HTML>
<HEAD><TITLE>smfi_quarantine</TITLE></HEAD>
<BODY>
2004-08-01 01:04:57 +00:00
<!--
2007-04-09 01:38:51 +00:00
$Id: smfi_quarantine.html,v 1.5 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_quarantine</H1>
2004-08-01 01:04:57 +00:00
2007-04-09 01:38:51 +00:00
<TABLE border="0" cellspacing=4 cellpadding=4>
2004-08-01 01:04:57 +00:00
<!---------- Synopsis ----------->
2007-04-09 01:38:51 +00:00
<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
<PRE>
2004-08-01 01:04:57 +00:00
#include &lt;libmilter/mfapi.h&gt;
int smfi_quarantine(
SMFICTX *ctx;
char *reason;
);
2007-04-09 01:38:51 +00:00
</PRE>
2004-08-01 01:04:57 +00:00
Quarantine the message using the given reason.
2007-04-09 01:38:51 +00:00
</TD></TR>
2004-08-01 01:04:57 +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>Called only from <A href="xxfi_eom.html">xxfi_eom</A>.</TD>
</TR>
<TR align="left" valign=top>
<TH width="80">Effects</TH>
<TD>smfi_quarantine quarantines the message using the given reason.</TD>
</TR>
</TABLE>
2004-08-01 01:04:57 +00:00
<!----------- Arguments ---------->
2007-04-09 01:38:51 +00:00
<TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
<TABLE border="1" cellspacing=0>
<TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
<TR valign="top"><TD>ctx</TD>
<TD>Opaque context structure.
</TD></TR>
<TR valign="top"><TD>reason</TD>
<TD>The quarantine reason, a non-NULL and non-empty null-terminated string.
</TD></TR>
</TABLE>
</TD></TR>
2004-08-01 01:04:57 +00:00
<!----------- Return values ---------->
2007-04-09 01:38:51 +00:00
<TR>
<TH valign="top" align=left>RETURN VALUES</TH>
2004-08-01 01:04:57 +00:00
2007-04-09 01:38:51 +00:00
<TD>smfi_quarantine will fail and return MI_FAILURE if:
<UL>
<LI>reason is NULL or empty.
<LI>A network error occurs.
<LI>SMFIF_QUARANTINE was not set when <A href="smfi_register.html">smfi_register</A> was called.
</UL>
2004-08-01 01:04:57 +00:00
Otherwise, it will return MI_SUCCESS
2007-04-09 01:38:51 +00:00
</TD>
</TR>
2004-08-01 01:04:57 +00:00
2007-04-09 01:38:51 +00:00
</TABLE>
2004-08-01 01:04:57 +00:00
2007-04-09 01:38:51 +00:00
<HR size="1">
<FONT size="-1">
2004-08-01 01:04:57 +00:00
Copyright (c) 2002-2003 Sendmail, Inc. and its suppliers.
All rights reserved.
2007-04-09 01:38:51 +00:00
<BR>
2004-08-01 01:04:57 +00:00
By using this file, you agree to the terms and conditions set
forth in the LICENSE.
2007-04-09 01:38:51 +00:00
</FONT>
</BODY>
</HTML>