Back to index

im-sdk  12.3.91
Classes | Typedefs | Functions
tree.h File Reference
#include "hhentry.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _TreeNode
struct  _Tree
struct  _HashTable

Typedefs

typedef struct _TreeNode
typedef struct _Tree Tree
typedef struct _HashTable HashTable

Functions

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

Class Documentation

struct _TreeNode

Definition at line 8 of file tree.h.

Collaboration diagram for _TreeNode:
Class Members
HHEntry data
HHItem * data
TreeNode * left
TreeNode * right
struct _Tree

Definition at line 14 of file tree.h.

Class Members
TreeNode * root
struct _HashTable

Definition at line 18 of file tree.h.

Collaboration diagram for _HashTable:
Class Members
HHEntry ** list
int n_items

Typedef Documentation

typedef struct _TreeNode

Definition at line 6 of file tree.h.

typedef struct _HashTable HashTable
typedef struct _Tree Tree

Function Documentation

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

Definition at line 43 of file tree.c.

{
  TreeNode *ret_node = NULL;
  ret_node = _tree_search_hangul (tree->root, hangul);
  return ret_node;
}