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: protocol.c 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 Page</span></a></li> |
---|
11 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
12 | <li><a href="classes.html"><span>Data 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 Pages</span></a></li> |
---|
15 | </ul></div> |
---|
16 | <div class="tabs"> |
---|
17 | <ul> |
---|
18 | <li><a href="files.html"><span>File List</span></a></li> |
---|
19 | <li><a href="globals.html"><span>Globals</span></a></li> |
---|
20 | </ul></div> |
---|
21 | <h1>protocol.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
22 | |
---|
23 | <p> |
---|
24 | <code>#include <stdio.h></code><br> |
---|
25 | <code>#include <string.h></code><br> |
---|
26 | <code>#include "<a class="el" href="utility_8h-source.html">enet/utility.h</a>"</code><br> |
---|
27 | <code>#include "<a class="el" href="time_8h-source.html">enet/time.h</a>"</code><br> |
---|
28 | <code>#include "<a class="el" href="enet_8h-source.html">enet/enet.h</a>"</code><br> |
---|
29 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
30 | <tr><td></td></tr> |
---|
31 | <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
---|
32 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0dc3ac14ddf12c81cb53d3e662ad277f"></a><!-- doxytag: member="protocol.c::ENET_BUILDING_LIB" ref="0dc3ac14ddf12c81cb53d3e662ad277f" args="" --> |
---|
33 | #define </td><td class="memItemRight" valign="bottom"><b>ENET_BUILDING_LIB</b> 1</td></tr> |
---|
34 | |
---|
35 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
---|
36 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f0a3820cd3fdc56487f0fe700d370c5f"></a><!-- doxytag: member="protocol.c::enet_protocol_command_size" ref="f0a3820cd3fdc56487f0fe700d370c5f" args="(enet_uint8 commandNumber)" --> |
---|
37 | size_t </td><td class="memItemRight" valign="bottom"><b>enet_protocol_command_size</b> (<a class="el" href="types_8h.html#34ce80c65abc6389fe0121a83d757f07">enet_uint8</a> commandNumber)</td></tr> |
---|
38 | |
---|
39 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__host.html#gc8f53bcdbd540043f87e7d59048559fa">enet_host_flush</a> (<a class="el" href="struct__ENetHost.html">ENetHost</a> *host)</td></tr> |
---|
40 | |
---|
41 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sends any queued packets on the host specified to its designated peers. <a href="group__host.html#gc8f53bcdbd540043f87e7d59048559fa"></a><br></td></tr> |
---|
42 | <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__host.html#g6ba501b3ee576e5578c8e6d1694ebd49">enet_host_service</a> (<a class="el" href="struct__ENetHost.html">ENetHost</a> *host, <a class="el" href="struct__ENetEvent.html">ENetEvent</a> *event, <a class="el" href="types_8h.html#5273659ca3c664b8550452732e9e4ae3">enet_uint32</a> timeout)</td></tr> |
---|
43 | |
---|
44 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Waits for events on the host specified and shuttles packets between the host and its peers. <a href="group__host.html#g6ba501b3ee576e5578c8e6d1694ebd49"></a><br></td></tr> |
---|
45 | </table> |
---|
46 | <hr size="1"><address style="align: right;"><small>Generated on Wed Jun 6 14:33:50 2007 for enet by |
---|
47 | <a href="http://www.doxygen.org/index.html"> |
---|
48 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
---|
49 | </body> |
---|
50 | </html> |
---|