~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/trie.c

  • Committer: Brian Aker
  • Date: 2008-07-13 18:27:33 UTC
  • Revision ID: brian@tangent.org-20080713182733-3u1et5nrmofi8a8n
my_bool cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
 
102
102
/*
103
103
  SYNOPSIS
104
 
    my_bool trie_insert (TRIE *trie, const uchar *key, uint keylen);
 
104
    bool trie_insert (TRIE *trie, const uchar *key, uint keylen);
105
105
    trie - valid pointer to `TRIE'
106
106
    key - valid pointer to key to insert
107
107
    keylen - non-0 key length
118
118
    However it can be freed with trie_free().
119
119
*/
120
120
 
121
 
my_bool trie_insert (TRIE *trie, const uchar *key, uint keylen)
 
121
bool trie_insert (TRIE *trie, const uchar *key, uint keylen)
122
122
{
123
123
  TRIE_NODE *node;
124
124
  TRIE_NODE *next;
169
169
 
170
170
/*
171
171
  SYNOPSIS
172
 
    my_bool trie_prepare (TRIE *trie);
 
172
    bool trie_prepare (TRIE *trie);
173
173
    trie - valid pointer to `TRIE'
174
174
 
175
175
  DESCRIPTION
180
180
    `TRUE' is returned.
181
181
*/
182
182
 
183
 
my_bool ac_trie_prepare (TRIE *trie)
 
183
bool ac_trie_prepare (TRIE *trie)
184
184
{
185
185
  TRIE_NODE **tmp_nodes;
186
186
  TRIE_NODE *node;