24#ifndef _NETSURF_UTILS_HASHTABLE_H_
25#define _NETSURF_UTILS_HASHTABLE_H_
nserror
Enumeration of error codes.
struct hash_table * hash_create(unsigned int chains)
Create a new hash table.
bool hash_add(struct hash_table *ht, const char *key, const char *value)
Adds a key/value pair to a hash table.
nserror hash_add_inline(struct hash_table *ht, const uint8_t *data, size_t size)
Add key/value pairs to a hash table with data from a memory buffer.
nserror hash_add_file(struct hash_table *ht, const char *path)
Add key/value pairs to a hash table with data from a file.
void hash_destroy(struct hash_table *ht)
Destroys a hash table.
const char * hash_get(struct hash_table *ht, const char *key)
Looks up a the value associated with with a key from a specific hash table.
static nserror path(const struct redraw_context *ctx, const plot_style_t *pstyle, const float *p, unsigned int n, const float transform[6])
Plots a path.