diff options
author | Greg <gmp@wow.st> | 2016-12-27 12:23:51 -0500 |
---|---|---|
committer | Greg <gmp@wow.st> | 2016-12-27 12:23:51 -0500 |
commit | fdb1aae3a98d94da90b2ee36bd5ae4423e3b213b (patch) | |
tree | 16973c4b6b975cd6849845afb5133102c78cd690 /src/hashmap.h | |
parent | 540069551da7a9c56874e568c449cfa3d72e4af4 (diff) |
Move lookup_variable into hashmap.c / hashmap.h
Diffstat (limited to 'src/hashmap.h')
-rw-r--r-- | src/hashmap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hashmap.h b/src/hashmap.h index e8fa819..9206737 100644 --- a/src/hashmap.h +++ b/src/hashmap.h @@ -117,4 +117,9 @@ extern ssize_t hashmap_search (hashmap_t map, const char *key); */ extern ssize_t hashmap_remove (hashmap_t map, const char *key); +/* + * Look up the value for a variable. + */ +extern char *lookup_variable (hashmap_t map, const char *varname); + #endif /* _HASHMAP_H */ |