~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/my_hash.h

  • Committer: Brian Aker
  • Date: 2011-04-22 22:25:59 UTC
  • mfrom: (2281.4.5 prune)
  • Revision ID: brian@tangent.org-20110422222559-nn0sccwahwc0isav
Prune + abort() if programmer mistake.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
           hash_free_key free_element, uint32_t flags);
74
74
#define hash_init(A,B,C,D,E,F,G,H) _hash_init(A,0,B,C,D,E,F,G,H)
75
75
void hash_free(HASH *tree);
76
 
unsigned char *hash_element(HASH *hash,uint32_t idx);
77
76
unsigned char *hash_search(const HASH *info, const unsigned char *key,
78
77
                           size_t length);
79
 
unsigned char *hash_first(const HASH *info, const unsigned char *key,
80
 
                          size_t length, HASH_SEARCH_STATE *state);
81
 
unsigned char *hash_next(const HASH *info, const unsigned char *key,
82
 
                         size_t length, HASH_SEARCH_STATE *state);
 
78
unsigned char *hash_first(const HASH *info, const unsigned char *key, size_t length, HASH_SEARCH_STATE *state);
83
79
bool my_hash_insert(HASH *info,const unsigned char *data);
84
80
bool hash_delete(HASH *hash,unsigned char *record);
85
81