view src/ploki/strhash.h @ 12220:7eaf71f23fbe draft

<oerjan> learn \xce\xbe\xcf\x80\xce\xb1\xce\xbb\xce\xb1\xce\xb9\xce\xbf\xce\xbb\xcf\x8c\xce\xb3\xce\xbf\xcf\x82 is kspalaiologos\'s Ancient Greek twin. He was banned from the theater for making up invalid characters.
author HackEso <hackeso@esolangs.org>
date Sun, 01 Dec 2019 02:35:07 +0000
parents ac0403686959
children
line wrap: on
line source

#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_ */