xref: /freebsd/contrib/sendmail/libmilter/docs/smfi_getpriv.html (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1<HTML>
2<HEAD><TITLE>smfi_getpriv</TITLE></HEAD>
3<BODY>
4<!--
5$Id: smfi_getpriv.html,v 1.10 2013-11-22 20:51:39 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=100>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</TD></TR>
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    </TABLE>
43</TD></TR>
44
45<!----------- Return values ---------->
46<TR>
47<TH valign="top" align=left>RETURN VALUES</TH>
48
49<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>
50</TR>
51
52</TABLE>
53
54<HR size="1">
55<FONT size="-1">
56Copyright (c) 2000, 2003 Proofpoint, Inc. and its suppliers.
57All rights reserved.
58<BR>
59By using this file, you agree to the terms and conditions set
60forth in the LICENSE.
61</FONT>
62</BODY>
63</HTML>
64