Mercurial > dovecot > original-hg > dovecot-1.2
changeset 1898:54e60d63a942 HEAD
cleanup
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 03 Dec 2003 15:16:29 +0200 |
parents | 1e6ed8045f2b |
children | 1bfe23d94647 |
files | src/lib/hash.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/hash.c Wed Dec 03 02:40:21 2003 +0200 +++ b/src/lib/hash.c Wed Dec 03 15:16:29 2003 +0200 @@ -30,6 +30,12 @@ hash_cmp_callback_t *key_compare_cb; }; +struct hash_iterate_context { + struct hash_table *table; + struct hash_node *next; + size_t pos; +}; + static int hash_resize(struct hash_table *table, int grow); static int direct_cmp(const void *p1, const void *p2) @@ -319,12 +325,6 @@ return table->nodes_count; } -struct hash_iterate_context { - struct hash_table *table; - struct hash_node *next; - size_t pos; -}; - struct hash_iterate_context *hash_iterate_init(struct hash_table *table) { struct hash_iterate_context *ctx;