PageRenderTime 24ms CodeModel.GetById 13ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/src/middleware/enet/docs/win32_8h.html

https://bitbucket.org/vivkin/gam3b00bs/
HTML | 88 lines | 85 code | 2 blank | 1 comment | 0 complexity | e0c784204ee177b182e059caf35be2c0 MD5 | raw file
 1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 2<html xmlns="http://www.w3.org/1999/xhtml">
 3<head>
 4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 5<title>enet: win32.h File Reference</title>
 6<link href="tabs.css" rel="stylesheet" type="text/css"/>
 7<link href="doxygen.css" rel="stylesheet" type="text/css"/>
 8</head>
 9<body>
10<!-- Generated by Doxygen 1.7.1 -->
11<div class="navigation" id="top">
12  <div class="tabs">
13    <ul class="tablist">
14      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
15      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16      <li><a href="modules.html"><span>Modules</span></a></li>
17      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
18      <li class="current"><a href="files.html"><span>Files</span></a></li>
19    </ul>
20  </div>
21  <div class="tabs2">
22    <ul class="tablist">
23      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
24      <li><a href="globals.html"><span>Globals</span></a></li>
25    </ul>
26  </div>
27</div>
28<div class="header">
29  <div class="summary">
30<a href="#nested-classes">Data Structures</a> &#124;
31<a href="#define-members">Defines</a> &#124;
32<a href="#typedef-members">Typedefs</a> &#124;
33<a href="#enum-members">Enumerations</a>  </div>
34  <div class="headertitle">
35<h1>win32.h File Reference</h1>  </div>
36</div>
37<div class="contents">
38
39<p>ENet Win32 header.  
40<a href="#_details">More...</a></p>
41<code>#include &lt;stdlib.h&gt;</code><br/>
42<code>#include &lt;winsock2.h&gt;</code><br/>
43
44<p><a href="win32_8h_source.html">Go to the source code of this file.</a></p>
45<table class="memberdecls">
46<tr><td colspan="2"><h2><a name="nested-classes"></a>
47Data Structures</h2></td></tr>
48<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structENetBuffer.html">ENetBuffer</a></td></tr>
49<tr><td colspan="2"><h2><a name="define-members"></a>
50Defines</h2></td></tr>
51<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ede48cf4612d407ac6b6f064e3117bc"></a><!-- doxytag: member="win32.h::ENET_HOST_TO_NET_16" ref="a4ede48cf4612d407ac6b6f064e3117bc" args="(value)" -->
52#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_HOST_TO_NET_16</b>(value)&nbsp;&nbsp;&nbsp;(htons (value))</td></tr>
53<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7bbe3d7e47fd45dda29c0e4a94abe131"></a><!-- doxytag: member="win32.h::ENET_HOST_TO_NET_32" ref="a7bbe3d7e47fd45dda29c0e4a94abe131" args="(value)" -->
54#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_HOST_TO_NET_32</b>(value)&nbsp;&nbsp;&nbsp;(htonl (value))</td></tr>
55<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75c464a36d2ebb47c6034a10c56eb4d1"></a><!-- doxytag: member="win32.h::ENET_NET_TO_HOST_16" ref="a75c464a36d2ebb47c6034a10c56eb4d1" args="(value)" -->
56#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_NET_TO_HOST_16</b>(value)&nbsp;&nbsp;&nbsp;(ntohs (value))</td></tr>
57<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6fdfe9a0019e06da5931f10263f14d59"></a><!-- doxytag: member="win32.h::ENET_NET_TO_HOST_32" ref="a6fdfe9a0019e06da5931f10263f14d59" args="(value)" -->
58#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_NET_TO_HOST_32</b>(value)&nbsp;&nbsp;&nbsp;(ntohl (value))</td></tr>
59<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62eafc38d284aacbbd8f4104fdcd0cc2"></a><!-- doxytag: member="win32.h::ENET_CALLBACK" ref="a62eafc38d284aacbbd8f4104fdcd0cc2" args="" -->
60#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_CALLBACK</b>&nbsp;&nbsp;&nbsp;__cdecl</td></tr>
61<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a687ffc6acf6d30c9ecde1b2ce209879c"></a><!-- doxytag: member="win32.h::ENET_API" ref="a687ffc6acf6d30c9ecde1b2ce209879c" args="" -->
62#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_API</b>&nbsp;&nbsp;&nbsp;extern</td></tr>
63<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada38c37a943326446cb4ba8be0b27469"></a><!-- doxytag: member="win32.h::ENET_SOCKETSET_EMPTY" ref="ada38c37a943326446cb4ba8be0b27469" args="(sockset)" -->
64#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_SOCKETSET_EMPTY</b>(sockset)&nbsp;&nbsp;&nbsp;FD_ZERO (&amp; (sockset))</td></tr>
65<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5003a9b55c900605b6a81ea37d382ee"></a><!-- doxytag: member="win32.h::ENET_SOCKETSET_ADD" ref="ad5003a9b55c900605b6a81ea37d382ee" args="(sockset, socket)" -->
66#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_SOCKETSET_ADD</b>(sockset, socket)&nbsp;&nbsp;&nbsp;FD_SET (socket, &amp; (sockset))</td></tr>
67<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3316bc3b3db9371322a549d8f87bc30a"></a><!-- doxytag: member="win32.h::ENET_SOCKETSET_REMOVE" ref="a3316bc3b3db9371322a549d8f87bc30a" args="(sockset, socket)" -->
68#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_SOCKETSET_REMOVE</b>(sockset, socket)&nbsp;&nbsp;&nbsp;FD_CLEAR (socket, &amp; (sockset))</td></tr>
69<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a455101a0de016782efa63810d47ee898"></a><!-- doxytag: member="win32.h::ENET_SOCKETSET_CHECK" ref="a455101a0de016782efa63810d47ee898" args="(sockset, socket)" -->
70#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_SOCKETSET_CHECK</b>(sockset, socket)&nbsp;&nbsp;&nbsp;FD_ISSET (socket, &amp; (sockset))</td></tr>
71<tr><td colspan="2"><h2><a name="typedef-members"></a>
72Typedefs</h2></td></tr>
73<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf990406be53b36b6700caff8c9193f2"></a><!-- doxytag: member="win32.h::ENetSocket" ref="aaf990406be53b36b6700caff8c9193f2" args="" -->
74typedef SOCKET&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetSocket</b></td></tr>
75<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8c03b0a5df283d329adf245e1f96622"></a><!-- doxytag: member="win32.h::ENetSocketSet" ref="ab8c03b0a5df283d329adf245e1f96622" args="" -->
76typedef fd_set&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetSocketSet</b></td></tr>
77<tr><td colspan="2"><h2><a name="enum-members"></a>
78Enumerations</h2></td></tr>
79<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <b>ENET_SOCKET_NULL</b> =  INVALID_SOCKET
80 }</td></tr>
81</table>
82<hr/><a name="_details"></a><h2>Detailed Description</h2>
83</div>
84<hr class="footer"/><address class="footer"><small>Generated on Wed Feb 9 2011 21:31:05 for enet by&nbsp;
85<a href="http://www.doxygen.org/index.html">
86<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
87</body>
88</html>