#ifndef HASH_TABLE_H
#define HASH_TABLE_H

#include "hhentry.h"

typedef struct _TreeNode TreeNode;

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

typedef struct _Tree {
  TreeNode *root;
} Tree;

#if 0
typedef struct _HashTable {
  int n_items;
  HHEntry **list;
}HashTable;
#endif

TreeNode *
tree_search_hangul (Tree *tree, unsigned char *hangul);

#endif /* HASH_TABLE_H */
