view src/ploki/strhash.h @ 4225:4c30f3005bab

<oerjan> addquote <Taneb> Well, get him <Phantom_Hoover> her! <Taneb> Well, get her <Taneb> Hang on <Taneb> Since when is Liam Neeson a "her"/ <Phantom_Hoover> oh i thought you meant my dad\'s godmother
author HackBot
date Wed, 25 Dec 2013 13:31:15 +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_ */