Release notes for v0.8.
[shell-fm.git] / source / include / hash.h
blobaf2610c5dd01e04b3bd94cd8c8e2191704ef9d01
1 /*
2 vim:syntax=c tabstop=2 shiftwidth=2 noexpandtab
3 */
5 #ifndef SHELLFM_HASH
6 #define SHELLFM_HASH
8 struct pair {
9 char * key, * value;
12 struct hash {
13 unsigned size;
14 struct pair * content;
17 extern void set(struct hash *, const char *, const char *);
18 extern const char * value(struct hash *, const char *);
19 extern void unset(struct hash *, const char *);
20 extern int haskey(struct hash *, const char *);
21 extern void empty(struct hash *);
23 #endif