#include <sys/types.h>
#include "my_alloc.h"
#include "my_sys.h"
Go to the source code of this file.
|
int | completion_hash_init (HashTable *ht, uint nSize) |
|
int | completion_hash_update (HashTable *ht, const char *arKey, uint nKeyLength, const char *str) |
|
int | hash_exists (HashTable *ht, char *arKey) |
|
Bucket * | find_all_matches (HashTable *ht, const char *str, uint length, uint *res_length) |
|
Bucket * | find_longest_match (HashTable *ht, char *str, uint length, uint *res_length) |
|
void | add_word (HashTable *ht, const char *str) |
|
void | completion_hash_clean (HashTable *ht) |
|
int | completion_hash_exists (HashTable *ht, char *arKey, uint nKeyLength) |
|
void | completion_hash_free (HashTable *ht) |
|
◆ FAILURE
◆ SUCCESS
◆ Bucket
◆ entry
◆ HashTable
◆ add_word()
void add_word |
( |
HashTable * |
ht, |
|
|
const char * |
str |
|
) |
| |
◆ completion_hash_clean()
◆ completion_hash_exists()
int completion_hash_exists |
( |
HashTable * |
ht, |
|
|
char * |
arKey, |
|
|
uint |
nKeyLength |
|
) |
| |
◆ completion_hash_free()
◆ completion_hash_init()
◆ completion_hash_update()
int completion_hash_update |
( |
HashTable * |
ht, |
|
|
const char * |
arKey, |
|
|
uint |
nKeyLength, |
|
|
const char * |
str |
|
) |
| |
◆ find_all_matches()
◆ find_longest_match()
◆ hash_exists()
int hash_exists |
( |
HashTable * |
ht, |
|
|
char * |
arKey |
|
) |
| |