doc cleanups

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4998 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2010-05-22 19:41:19 +00:00
parent 45258ad514
commit 196c7a44b2
2 changed files with 6 additions and 5 deletions
+3 -3
View File
@@ -298,7 +298,7 @@ enet_range_coder_compress (void * context, const ENetBuffer * inBuffers, size_t
return 0; \
else \
{ \
ENetSymbol * symbol = (predictor).symbols, * child; \
ENetSymbol * symbol = (predictor).symbols; \
for (;;) \
{ \
if (code >= under_ + symbol -> total) \
@@ -451,8 +451,8 @@ enet_range_coder_decompress (void * context, const enet_uint8 * inData, size_t i
return (size_t) (outData - outStart);
}
/** Sets the packet compressor the host should use to the default range compressor.
@param host host to enable or disable compression for
/** Sets the packet compressor the host should use to the default range coder.
@param host host to enable the range coder for
@returns 0 on success, < 0 on failure
*/
int
+3 -2
View File
@@ -305,7 +305,7 @@ typedef enet_uint32 (ENET_CALLBACK * ENetChecksumCallback) (const ENetBuffer * b
/** An ENet host for communicating with peers.
*
* No fields should be modified.
* No fields should be modified unless otherwise stated.
@sa enet_host_create()
@sa enet_host_destroy()
@@ -314,6 +314,7 @@ typedef enet_uint32 (ENET_CALLBACK * ENetChecksumCallback) (const ENetBuffer * b
@sa enet_host_flush()
@sa enet_host_broadcast()
@sa enet_host_compress()
@sa enet_host_compress_with_range_coder()
@sa enet_host_channel_limit()
@sa enet_host_bandwidth_limit()
@sa enet_host_bandwidth_throttle()
@@ -340,7 +341,7 @@ typedef struct _ENetHost
size_t commandCount;
ENetBuffer buffers [ENET_BUFFER_MAXIMUM];
size_t bufferCount;
ENetChecksumCallback checksum;
ENetChecksumCallback checksum; /**< callback the user can set to enable packet checksums for this host */
ENetCompressor compressor;
enet_uint8 packetData [2][ENET_PROTOCOL_MAXIMUM_MTU];
ENetAddress receivedAddress;