summaryrefslogtreecommitdiff
path: root/ecp/src/ecp/htable/hashtable.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-04-08 04:41:46 +0200
committerUros Majstorovic <majstor@majstor.org>2022-04-08 04:41:46 +0200
commiteb4833fc5dddd755c974f5ac7a8b4829c95ffa7b (patch)
treeb7afa21ea22a94519e0c0628b0330a05d66d9c3a /ecp/src/ecp/htable/hashtable.h
parentd09e20a8a46a17524df0b737d85e9684006a4c74 (diff)
connection exire added
Diffstat (limited to 'ecp/src/ecp/htable/hashtable.h')
-rwxr-xr-xecp/src/ecp/htable/hashtable.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/ecp/src/ecp/htable/hashtable.h b/ecp/src/ecp/htable/hashtable.h
index a0b1949..8faeafc 100755
--- a/ecp/src/ecp/htable/hashtable.h
+++ b/ecp/src/ecp/htable/hashtable.h
@@ -94,24 +94,18 @@ unsigned int
hashtable_prime_size(unsigned int minsize);
/*****************************************************************************/
-/* hashtable_iterator_key
- * - return the key of the (key,value) pair at the current position */
+/* hashtable_entry_key
+ * - return the key of the (key,value) pair from hash table entry */
-extern inline void *
-hashtable_entry_key(struct entry *e)
-{
- return e->v;
-}
+void *
+hashtable_entry_key(struct entry *e);
/*****************************************************************************/
-/* hashtable_iterator_value
- * - return the value of the (key,value) pair at the current position */
+/* hashtable_entry_value
+ * - return the value of the (key,value) pair from hash table entry */
-extern inline void *
-hashtable_entry_value(struct entry *e)
-{
- return e->v;
-}
+void *
+hashtable_entry_value(struct entry *e);
/*****************************************************************************
* hashtable_insert