1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
4<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
5<code></code>
6<title>MPDLEntryFilterCallback</title>
7</head>
8
9<body>
10<h1>MPDLEntryFilterCallback</h1>
11
12<h2>Syntax</h2>
13<p>
14<dl>
15  <dd><pre><code>#include &lt;revolution/mpdl.h&gt;</code></pre>
16  </dd>
17  <dd><pre><code>typedef BOOL (*MPDLEntryFilterCallback)(const <a href="./MPDLPlayerInfo.html">MPDLPlayerInfo</a> *info);</code></pre>
18  </dd>
19</dl>
20</p>
21
22<h2>Arguments</h2>
23<p>
24<table border="1">
25  <tr>
26    <td valign="top" width="120" bgcolor="#ffffe8"><code><strong><em>MPDLPlayerInfo</em></strong></code></td>
27    <td width="520"><a href="./MPDLPlayerInfo.html"><CODE>MPDLPlayerInfo</CODE></a> structure with information for players who have just connected.<br /> <code>                    </code>However, immediately after connecting, only the <CODE>aid</CODE> and <CODE>mac</CODE> fields are valid.</td>
28  </tr>
29</table>
30</p>
31
32<h2>Return Values</h2>
33
34<P>Return <CODE>TRUE</CODE> to allow this player to connect, and <CODE>FALSE</CODE> to reject.</P>
35
36<h2>Description</h2>
37
38<p>A prototype for the entry permission callback function configured by the <a href="./MPDLSetEntryFilterCallback.html"><CODE>MPDLSetEntryFilterCallback</CODE></a> function.</p>
39
40<h2>See Also</h2>
41<p>
42<a href="./MPDLPlayerInfo.html"><CODE>MPDLPlayerInfo</CODE></a><br /><a href="./MPDLSetEntryFilterCallback.html"><CODE>MPDLSetEntryFilterCallback</CODE></a>
43</p>
44
45<h2>Revision History</h2>
46
47<p>
482008/10/08 Initial version.<br />
49</p>
50
51<hr><p>CONFIDENTIAL</p></body>
52</html>
53