xref: /freebsd/contrib/sendmail/libmilter/docs/smfi_getpriv.html (revision c98323078dede7579020518ec84cdcb478e5c142)
1<html>
2<head><title>smfi_getpriv</title></head>
3<body>
4<h1>smfi_getpriv</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;
11void* smfi_getpriv(
12	SMFICTX *ctx
13);
14</pre>
15Get the connection-specific data pointer for this connection.
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>smfi_getpriv may be called in any of the xxfi_* callbacks.</td>
24</tr>
25<tr align="left" valign=top>
26<th width="80">Effects</th>
27<td>None.</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<!----------- Return values ---------->
42<tr>
43<th valign="top" align=left>RETURN VALUES</th>
44
45<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>
46</tr>
47
48</table>
49
50<hr size="1">
51<font size="-1">
52Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
53All rights reserved.
54<br>
55By using this file, you agree to the terms and conditions set
56forth in the LICENSE.
57</font>
58</body>
59</html>
60