FreeRDP
LOMHash.c File Reference
#include <stdio.h>

Typedefs

typedef unsigned short UINT16
 
typedef unsigned char BYTE
 

Functions

UINT16 hash (UINT16 key)
 
BYTE minihash (UINT16 key)
 
void buildhashtable (void)
 
BYTE getvalue (UINT16 huff)
 
 main ()
 

Variables

static UINT16 HuffCodeLOM []
 
UINT16 HashTable [32] = { [0 ... 31] = 0xffff }
 
BYTE tab [4] = { 0, 4, 10, 19 }
 

Typedef Documentation

typedef unsigned char BYTE
typedef unsigned short UINT16

Function Documentation

void buildhashtable ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

BYTE getvalue ( UINT16  huff)

Here is the call graph for this function:

Here is the caller graph for this function:

UINT16 hash ( UINT16  key)

Here is the caller graph for this function:

main ( )

Here is the call graph for this function:

BYTE minihash ( UINT16  key)

Here is the caller graph for this function:

Variable Documentation

UINT16 HashTable[32] = { [0 ... 31] = 0xffff }
UINT16 HuffCodeLOM[]
static
Initial value:
=
{
0x0001, 0x0000, 0x0002, 0x0009, 0x0006, 0x0005, 0x000d, 0x000b, 0x0003, 0x001b, 0x0007, 0x0017, 0x0037,
0x000f, 0x004f, 0x006f, 0x002f, 0x00ef, 0x001f, 0x005f, 0x015f, 0x009f, 0x00df, 0x01df, 0x003f, 0x013f, 0x00bf,
0x01bf, 0x007f, 0x017f, 0x00ff, 0x01ff
}
BYTE tab[4] = { 0, 4, 10, 19 }