view src/ploki/strhash.h @ 7352:c20b5590455a

<hppavilion[1]> le/rn lisp/(eq "lisp" (proglang-with (use-lots ["(" ")"]) (paradigm functional) (notation-type prefix)))
author HackBot
date Sun, 03 Apr 2016 20:15:05 +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_ */