mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 05:57:20 +00:00
31 lines
990 B
C
31 lines
990 B
C
|
/// \file
|
||
|
/// \brief \b [Internal] A single node in the Huffman Encoding Tree.
|
||
|
///
|
||
|
/// This file is part of RakNet Copyright 2003 Kevin Jenkins.
|
||
|
///
|
||
|
/// Usage of RakNet is subject to the appropriate license agreement.
|
||
|
/// Creative Commons Licensees are subject to the
|
||
|
/// license found at
|
||
|
/// http://creativecommons.org/licenses/by-nc/2.5/
|
||
|
/// Single application licensees are subject to the license found at
|
||
|
/// http://www.jenkinssoftware.com/SingleApplicationLicense.html
|
||
|
/// Custom license users are subject to the terms therein.
|
||
|
/// GPL license users are subject to the GNU General Public
|
||
|
/// License as published by the Free
|
||
|
/// Software Foundation; either version 2 of the License, or (at your
|
||
|
/// option) any later version.
|
||
|
|
||
|
#ifndef __HUFFMAN_ENCODING_TREE_NODE
|
||
|
#define __HUFFMAN_ENCODING_TREE_NODE
|
||
|
|
||
|
struct HuffmanEncodingTreeNode
|
||
|
{
|
||
|
unsigned char value;
|
||
|
unsigned weight;
|
||
|
HuffmanEncodingTreeNode *left;
|
||
|
HuffmanEncodingTreeNode *right;
|
||
|
HuffmanEncodingTreeNode *parent;
|
||
|
};
|
||
|
|
||
|
#endif
|