pico-http/hashtable/hashtable.h
Andrew Gundersen 9904bd2212 init commit
2022-05-02 08:00:44 -05:00

24 lines
302 B
C

#ifndef _HASHTABLE_H_
#define _HASHTABLE_H_
#include "llist.h"
typedef struct
{
int size;
int entries;
LL** store;
}
HT;
HT* ht_create(void);
int ht_put(HT* ht, char* key, void* data);
void* ht_get(HT* ht, char* key);
void* ht_delete(HT* ht, char* key);
int ht_free(HT* ht);
#endif