From 9034899b3e8158cb35d3d62a64082ce67c72d669 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 4 Jan 2025 00:02:56 +0100 Subject: Call c from zig --- lib/hashtable.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lib/hashtable.h (limited to 'lib/hashtable.h') diff --git a/lib/hashtable.h b/lib/hashtable.h new file mode 100644 index 0000000..5bdcb08 --- /dev/null +++ b/lib/hashtable.h @@ -0,0 +1,16 @@ +#ifndef __HASHTABLE_H__ +#define __HASHTABLE_H__ + +void typedef *HashTable; + +HashTable hashtable_init(); + +int hashtable_deinit(HashTable*); + +int hashtable_put(HashTable, char*, void*); + +int hashtable_remove(HashTable, char*); + +void* hashtable_get(HashTable, char*); + +#endif -- cgit 1.4.1