Deleted Added
full compact
smfi_addrcpt.html (132943) smfi_addrcpt.html (168515)
1<html>
2<head><title>smfi_addrcpt</title></head>
3<body>
1<HTML>
2<HEAD><TITLE>smfi_addrcpt</TITLE></HEAD>
3<BODY>
4<!--
4<!--
5$Id: smfi_addrcpt.html,v 1.9 2003/10/08 17:55:00 gshapiro Exp $
5$Id: smfi_addrcpt.html,v 1.11 2006/12/21 18:30:35 ca Exp $
6-->
6-->
7<h1>smfi_addrcpt</h1>
7<H1>smfi_addrcpt</H1>
8
8
9<table border="0" cellspacing=4 cellpadding=4>
9<TABLE border="0" cellspacing=4 cellpadding=4>
10<!---------- Synopsis ----------->
10<!---------- Synopsis ----------->
11<tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
12<pre>
11<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
12<PRE>
13#include &lt;libmilter/mfapi.h&gt;
14int smfi_addrcpt(
15 SMFICTX *ctx,
16 char *rcpt
17);
13#include &lt;libmilter/mfapi.h&gt;
14int smfi_addrcpt(
15 SMFICTX *ctx,
16 char *rcpt
17);
18</pre>
18</PRE>
19Add a recipient for the current message.
19Add a recipient for the current message.
20</td></tr>
20</TD></TR>
21
22<!----------- Description ---------->
21
22<!----------- Description ---------->
23<tr><th valign="top" align=left>DESCRIPTION</th><td>
24<table border="1" cellspacing=1 cellpadding=4>
25<tr align="left" valign=top>
26<th width="80">Called When</th>
27<td>Called only from <a href="xxfi_eom.html">xxfi_eom</a>.</td>
28</tr>
29<tr align="left" valign=top>
30<th width="80">Effects</th>
31<td>Add a recipient to the message envelope.</td>
32</tr>
33</table>
23<TR><TH valign="top" align=left>DESCRIPTION</TH><TD>
24<TABLE border="1" cellspacing=1 cellpadding=4>
25<TR align="left" valign=top>
26<TH width="80">Called When</TH>
27<TD>Called only from <A href="xxfi_eom.html">xxfi_eom</A>.</TD>
28</TR>
29<TR align="left" valign=top>
30<TH width="80">Effects</TH>
31<TD>Add a recipient to the message envelope.</TD>
32</TR>
33</TABLE>
34
35<!----------- Arguments ---------->
34
35<!----------- Arguments ---------->
36<tr><th valign="top" align=left>ARGUMENTS</th><td>
37 <table border="1" cellspacing=0>
38 <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
39 <tr valign="top"><td>ctx</td>
40 <td>Opaque context structure.
41 </td></tr>
42 <tr valign="top"><td>rcpt</td>
43 <td>The new recipient's address.
44 </td></tr>
45 </table>
46</td></tr>
36<TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
37 <TABLE border="1" cellspacing=0>
38 <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
39 <TR valign="top"><TD>ctx</TD>
40 <TD>Opaque context structure.
41 </TD></TR>
42 <TR valign="top"><TD>rcpt</TD>
43 <TD>The new recipient's address.
44 </TD></TR>
45 </TABLE>
46</TD></TR>
47
48<!----------- Return values ---------->
47
48<!----------- Return values ---------->
49<tr>
50<th valign="top" align=left>RETURN VALUES</th>
49<TR>
50<TH valign="top" align=left>RETURN VALUES</TH>
51
51
52<td>smfi_addrcpt will fail and return MI_FAILURE if:
53<ul><li>rcpt is NULL.
54 <li>Adding recipients in the current connection state is invalid.
55 <li>A network error occurs.
56 <li>SMFIF_ADDRCPT was not set when <a href="smfi_register.html">smfi_register</a> was called.
57</ul>
52<TD>smfi_addrcpt will fail and return MI_FAILURE if:
53<UL><LI>rcpt is NULL.
54 <LI>Adding recipients in the current connection state is invalid.
55 <LI>A network error occurs.
56 <LI>SMFIF_ADDRCPT was not set when <A href="smfi_register.html">smfi_register</A> was called.
57</UL>
58Otherwise, it will return MI_SUCCESS.
58Otherwise, it will return MI_SUCCESS.
59</td>
60</tr>
59</TD>
60</TR>
61
62<!----------- Notes ---------->
61
62<!----------- Notes ---------->
63<tr align="left" valign=top>
64<th>NOTES</th>
65<td>
63<TR align="left" valign=top>
64<TH>NOTES</TH>
65<TD>
66A filter which calls smfi_addrcpt must have set the SMFIF_ADDRCPT flag
67in the smfiDesc_str passed to
66A filter which calls smfi_addrcpt must have set the SMFIF_ADDRCPT flag
67in the smfiDesc_str passed to
68<a href="smfi_register.html">smfi_register</a>.
69</td>
70</tr>
68<A href="smfi_register.html">smfi_register</A>.
69</TD>
70</TR>
71
71
72</table>
72</TABLE>
73
73
74<hr size="1">
75<font size="-1">
74<HR size="1">
75<FONT size="-1">
76Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
77All rights reserved.
76Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
77All rights reserved.
78<br>
78<BR>
79By using this file, you agree to the terms and conditions set
80forth in the LICENSE.
79By using this file, you agree to the terms and conditions set
80forth in the LICENSE.
81</font>
82</body>
83</html>
81</FONT>
82</BODY>
83</HTML>