PageRenderTime 35ms CodeModel.GetById 14ms app.highlight 13ms RepoModel.GetById 1ms app.codeStats 0ms

/src/middleware/enet/docs/packet_8c.html

https://bitbucket.org/vivkin/gam3b00bs/
HTML | 63 lines | 61 code | 1 blank | 1 comment | 0 complexity | cf6ca09d59a3c0c1b186200bfbc5e6d3 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: packet.c 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="#define-members">Defines</a> &#124;
31<a href="#func-members">Functions</a>  </div>
32  <div class="headertitle">
33<h1>packet.c File Reference</h1>  </div>
34</div>
35<div class="contents">
36
37<p>ENet packet management functions.  
38<a href="#_details">More...</a></p>
39<code>#include &lt;string.h&gt;</code><br/>
40<code>#include &quot;<a class="el" href="enet_8h_source.html">enet/enet.h</a>&quot;</code><br/>
41<table class="memberdecls">
42<tr><td colspan="2"><h2><a name="define-members"></a>
43Defines</h2></td></tr>
44<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0dc3ac14ddf12c81cb53d3e662ad277f"></a><!-- doxytag: member="packet.c::ENET_BUILDING_LIB" ref="a0dc3ac14ddf12c81cb53d3e662ad277f" args="" -->
45#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>ENET_BUILDING_LIB</b>&nbsp;&nbsp;&nbsp;1</td></tr>
46<tr><td colspan="2"><h2><a name="func-members"></a>
47Functions</h2></td></tr>
48<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct__ENetPacket.html">ENetPacket</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Packet.html#gaac61b251aebbf9f5e5e313eca51339ea">enet_packet_create</a> (const void *data, size_t dataLength, <a class="el" href="types_8h.html#a5273659ca3c664b8550452732e9e4ae3">enet_uint32</a> flags)</td></tr>
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a packet that may be sent to a peer.  <a href="group__Packet.html#gaac61b251aebbf9f5e5e313eca51339ea"></a><br/></td></tr>
50<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Packet.html#gab58895376ee4ade8f4e13761a44ba263">enet_packet_destroy</a> (<a class="el" href="struct__ENetPacket.html">ENetPacket</a> *packet)</td></tr>
51<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroys the packet and deallocates its data.  <a href="group__Packet.html#gab58895376ee4ade8f4e13761a44ba263"></a><br/></td></tr>
52<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Packet.html#ga0aee7f8c7e2d2c4b64f6d68d930155a8">enet_packet_resize</a> (<a class="el" href="struct__ENetPacket.html">ENetPacket</a> *packet, size_t dataLength)</td></tr>
53<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attempts to resize the data in the packet to length specified in the dataLength parameter.  <a href="group__Packet.html#ga0aee7f8c7e2d2c4b64f6d68d930155a8"></a><br/></td></tr>
54<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga015ce0307049901852c54dd2def532e2"></a><!-- doxytag: member="packet.c::enet_crc32" ref="ga015ce0307049901852c54dd2def532e2" args="(const ENetBuffer *buffers, size_t bufferCount)" -->
55<a class="el" href="types_8h.html#a5273659ca3c664b8550452732e9e4ae3">enet_uint32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>enet_crc32</b> (const <a class="el" href="structENetBuffer.html">ENetBuffer</a> *buffers, size_t bufferCount)</td></tr>
56</table>
57<hr/><a name="_details"></a><h2>Detailed Description</h2>
58</div>
59<hr class="footer"/><address class="footer"><small>Generated on Wed Feb 9 2011 21:31:05 for enet by&nbsp;
60<a href="http://www.doxygen.org/index.html">
61<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
62</body>
63</html>