xref: /freebsd/contrib/sendmail/libmilter/docs/smfi_getpriv.html (revision 4436b51dff5736e74da464946049ea6899a88938)
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
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 Proofpoint, 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