Merge from vendor branch CVS:
[dragonfly.git] / contrib / sendmail / libmilter / docs / xxfi_abort.html
1 <html>
2 <head><title>xxfi_abort</title></head>
3 <body>
4 <h1>xxfi_abort</h1>
5
6 <table border="0" cellspacing=4 cellpadding=4>
7 <!---------- Synopsis ----------->
8 <tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
9 <pre>
10 #include &lt;libmilter/mfapi.h&gt;
11 sfsistat (*xxfi_abort)(
12         SMFICTX * ctx
13 );
14 </pre>
15 Handle the current message's being aborted.
16 </td></tr>
17
18 <!----------- Description ---------->
19 <tr><th valign="top" align=left>DESCRIPTION</th><td>
20 <table border="1" cellspacing=1 cellpadding=4>
21 <tr align="left" valign=top>
22 <th width="80">Called When</th>
23 <td>xxfi_abort may be called at any time during message processing (i.e. between some message-oriented routine and <a href="xxfi_eom.html">xxfi_eom</a>).</td>
24 </tr>
25 <tr align="left" valign=top>
26 <th>Default Behavior</th>
27 <td>Do nothing; return SMFIS_CONTINUE.</td>
28 </tr>
29 </table>
30
31 <!----------- Arguments ---------->
32 <tr><th valign="top" align=left>ARGUMENTS</th><td>
33     <table border="1" cellspacing=0>
34     <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
35     <tr valign="top"><td>ctx</td>
36         <td>Opaque context structure.
37         </td></tr>
38     </table>
39 </td></tr>
40
41 <!----------- Notes ---------->
42 <tr>
43 <th valign="top" align=left>NOTES</th> 
44 <td>
45 <ul>
46 <li>xxfi_abort must reclaim any resources allocated on a per-message
47 basis, and must be tolerant of being called between any two
48 message-oriented callbacks.
49
50 <li>Calls to xxfi_abort and <a href="xxfi_eom.html">xxfi_eom</a> are
51 mutually exclusive.
52
53 <li>xxfi_abort is not responsible for reclaiming connection-specific
54 data, since <a href="xxfi_close.html">xxfi_close</a> is always called
55 when a connection is closed.
56
57 <li>Since the current message is already being aborted, the return
58 value is currently ignored.
59
60 <li>xxfi_abort is only called if the message is aborted outside the
61 filter's control <b>and</b> the filter has not completed its
62 message-oriented processing.  For example, if a filter has already
63 returned SMFIS_ACCEPT, SMFIS_REJECT, or SMFIS_DISCARD from a
64 message-oriented routine, xxfi_abort will not be called even if the
65 message is later aborted outside its control.
66 </ul>
67 </td>
68 </tr>
69 </table>
70
71 <hr size="1">
72 <font size="-1">
73 Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
74 All rights reserved.
75 <br>
76 By using this file, you agree to the terms and conditions set
77 forth in the LICENSE.
78 </font>
79 </body>
80 </html>