summary refs log tree commit diff
path: root/src/hashtable.h
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-02 15:28:06 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-03 01:03:24 +0100
commite37092c768ed6820641c0884e73e0c38dd00e9e8 (patch)
tree7ab40736601961da194c9f3629312fcc6b71e626 /src/hashtable.h
downloadc-hashtable-e37092c768ed6820641c0884e73e0c38dd00e9e8.tar.gz
c-hashtable-e37092c768ed6820641c0884e73e0c38dd00e9e8.tar.bz2
c-hashtable-e37092c768ed6820641c0884e73e0c38dd00e9e8.zip
Initial commit
Diffstat (limited to 'src/hashtable.h')
-rw-r--r--src/hashtable.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/hashtable.h b/src/hashtable.h
new file mode 100644
index 0000000..2a31204
--- /dev/null
+++ b/src/hashtable.h
@@ -0,0 +1,14 @@
+#ifndef __HASHTABLE_H__
+#define __HASHTABLE_H__
+
+void typedef *HashTable;
+
+HashTable hashtable_init();
+
+int hashtable_deinit(HashTable*);
+
+int hashtable_put(HashTable, char, void*);
+
+void* hashtable_get(HashTable, char);
+
+#endif