[dovecot-cvs] dovecot/src/lib hash.c,1.19,1.20
cras at procontrol.fi
cras at procontrol.fi
Wed Dec 3 15:16:32 EET 2003
Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv25672
Modified Files:
hash.c
Log Message:
cleanup
Index: hash.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/hash.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- hash.c 3 Dec 2003 00:40:21 -0000 1.19
+++ hash.c 3 Dec 2003 13:16:29 -0000 1.20
@@ -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)
@@ -318,12 +324,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)
{
More information about the dovecot-cvs
mailing list