Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/enet-1.1/docs/html/win32_8h.html @ 13

Last change on this file since 13 was 13, checked in by landauf, 17 years ago

added enet

File size: 4.4 KB
RevLine 
[13]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>enet: win32.h File Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.1 -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
13    <li id="current"><a href="files.html"><span>Files</span></a></li>
14    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
15  </ul></div>
16<div class="tabs">
17  <ul>
18    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
19    <li><a href="globals.html"><span>Globals</span></a></li>
20  </ul></div>
21<h1>win32.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
22
23<p>
24<code>#include &lt;stdlib.h&gt;</code><br>
25<code>#include &lt;winsock2.h&gt;</code><br>
26
27<p>
28<a href="win32_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
29<tr><td></td></tr>
30<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
31<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetBuffer</b></td></tr>
32
33<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
34<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4ede48cf4612d407ac6b6f064e3117bc"></a><!-- doxytag: member="win32.h::ENET_HOST_TO_NET_16" ref="4ede48cf4612d407ac6b6f064e3117bc" args="(value)" -->
35#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_HOST_TO_NET_16</b>(value)&nbsp;&nbsp;&nbsp;(htons (value))</td></tr>
36
37<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7bbe3d7e47fd45dda29c0e4a94abe131"></a><!-- doxytag: member="win32.h::ENET_HOST_TO_NET_32" ref="7bbe3d7e47fd45dda29c0e4a94abe131" args="(value)" -->
38#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_HOST_TO_NET_32</b>(value)&nbsp;&nbsp;&nbsp;(htonl (value))</td></tr>
39
40<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75c464a36d2ebb47c6034a10c56eb4d1"></a><!-- doxytag: member="win32.h::ENET_NET_TO_HOST_16" ref="75c464a36d2ebb47c6034a10c56eb4d1" args="(value)" -->
41#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_NET_TO_HOST_16</b>(value)&nbsp;&nbsp;&nbsp;(ntohs (value))</td></tr>
42
43<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6fdfe9a0019e06da5931f10263f14d59"></a><!-- doxytag: member="win32.h::ENET_NET_TO_HOST_32" ref="6fdfe9a0019e06da5931f10263f14d59" args="(value)" -->
44#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_NET_TO_HOST_32</b>(value)&nbsp;&nbsp;&nbsp;(ntohl (value))</td></tr>
45
46<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62eafc38d284aacbbd8f4104fdcd0cc2"></a><!-- doxytag: member="win32.h::ENET_CALLBACK" ref="62eafc38d284aacbbd8f4104fdcd0cc2" args="" -->
47#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_CALLBACK</b>&nbsp;&nbsp;&nbsp;__cdecl</td></tr>
48
49<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="687ffc6acf6d30c9ecde1b2ce209879c"></a><!-- doxytag: member="win32.h::ENET_API" ref="687ffc6acf6d30c9ecde1b2ce209879c" args="" -->
50#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_API</b>&nbsp;&nbsp;&nbsp;extern</td></tr>
51
52<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
53<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af990406be53b36b6700caff8c9193f2"></a><!-- doxytag: member="win32.h::ENetSocket" ref="af990406be53b36b6700caff8c9193f2" args="" -->
54typedef SOCKET&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetSocket</b></td></tr>
55
56<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
57<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <b>ENET_SOCKET_NULL</b> =  INVALID_SOCKET
58 }</td></tr>
59
60</table>
61<hr size="1"><address style="align: right;"><small>Generated on Wed Jun 6 14:33:50 2007 for enet by&nbsp;
62<a href="http://www.doxygen.org/index.html">
63<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
64</body>
65</html>
Note: See TracBrowser for help on using the repository browser.