diff src/ploki/strhash.h @ 4223:ac0403686959

<oerjan> rm -rf src/ploki; mv ploki src
author HackBot
date Fri, 20 Dec 2013 22:18:50 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ploki/strhash.h	Fri Dec 20 22:18:50 2013 +0000
@@ -0,0 +1,16 @@
+#ifndef STRHASH_H_
+#define STRHASH_H_
+
+#include "config.h"
+
+#include <stddef.h>
+
+typedef struct strhash t_strhash;
+
+t_strhash *sh_new(void (*)(void *));
+void sh_delete(t_strhash *);
+
+void sh_put(t_strhash *, const char *, size_t, void *);
+void *sh_get(t_strhash *, const char *, size_t);
+
+#endif /* STRHASH_H_ */