smfi_getpriv.html revision 132943
1<html>
2<head><title>smfi_getpriv</title></head>
3<body>
4<!--
5$Id: smfi_getpriv.html,v 1.7 2003/03/05 19:57:54 ca Exp $
6-->
7<h1>smfi_getpriv</h1>
8
9<table border="0" cellspacing=4 cellpadding=4>
10<!---------- Synopsis ----------->
11<tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
12<pre>
13#include &lt;libmilter/mfapi.h&gt;
14void* smfi_getpriv(
15	SMFICTX *ctx
16);
17</pre>
18Get the connection-specific data pointer for this connection.
19</td></tr>
20
21<!----------- Description ---------->
22<tr><th valign="top" align=left>DESCRIPTION</th><td>
23<table border="1" cellspacing=1 cellpadding=4>
24<tr align="left" valign=top>
25<th width="80">Called When</th>
26<td>smfi_getpriv may be called in any of the xxfi_* callbacks.</td>
27</tr>
28<tr align="left" valign=top>
29<th width="80">Effects</th>
30<td>None.</td>
31</tr>
32</table>
33
34<!----------- Arguments ---------->
35<tr><th valign="top" align=left>ARGUMENTS</th><td>
36    <table border="1" cellspacing=0>
37    <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
38    <tr valign="top"><td>ctx</td>
39	<td>Opaque context structure.
40	</td></tr>
41    </table>
42</td></tr>
43
44<!----------- Return values ---------->
45<tr>
46<th valign="top" align=left>RETURN VALUES</th> 
47
48<td>smfi_getpriv returns the private data pointer stored by a prior call to <a href="smfi_setpriv.html">smfi_setpriv</a>, or NULL if none has been set.</td>
49</tr>
50
51</table>
52
53<hr size="1">
54<font size="-1">
55Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
56All rights reserved.
57<br>
58By using this file, you agree to the terms and conditions set
59forth in the LICENSE.
60</font>
61</body>
62</html>
63