#ifndef HASH_TABLE_H
#define HASH_TABLE_H

#include "hhentry.h"

typedef struct _TreeNode TreeNode;

struct _TreeNode{
  TreeNode *left;
  TreeNode *right;
  HHEntry data;
};

typedef struct _Tree {
  TreeNode *root;
} Tree;

typedef struct _HashTable {
  int n_items;
  HHEntry **list;
}HashTable;
TreeNode *
tree_search_hangul (Tree *tree, unsigned char *hangul);

#endif /* HASH_TABLE_H */
