aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/hashtbl.h
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2014-12-26 12:37:30 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2014-12-26 12:37:30 +0100
commita5dfdd2b3fa91a2cda4f807c88bd35928e3c7a61 (patch)
tree86bbe5558fe35b7263bd2c7859dfb9b4cb634073 /kernel/include/hashtbl.h
parent8c247352543c50204314efeb988f9f59d84f5019 (diff)
downloadkogata-a5dfdd2b3fa91a2cda4f807c88bd35928e3c7a61.tar.gz
kogata-a5dfdd2b3fa91a2cda4f807c88bd35928e3c7a61.zip
Owning... (old commit)
Diffstat (limited to 'kernel/include/hashtbl.h')
-rw-r--r--kernel/include/hashtbl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/include/hashtbl.h b/kernel/include/hashtbl.h
index 984aa70..16dfefb 100644
--- a/kernel/include/hashtbl.h
+++ b/kernel/include/hashtbl.h
@@ -8,6 +8,9 @@
// Supports adding, seeking, removing
// When adding a binding to the table, the previous binding for same key (if exists) is removed
+// TODO : possibility to allocate the hashtbl structure on any heap
+// (currently uses kmalloc/kfree)
+
struct hashtbl;
typedef struct hashtbl hashtbl_t;