summaryrefslogtreecommitdiff
path: root/src/gib_hash.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-05-04 18:54:13 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-05-04 18:57:00 +0200
commit68037c4d220302a9f7ab250b3a220a5f64217244 (patch)
treef7c200119ab5f9ed30dd1d861d985dfee99a5bf3 /src/gib_hash.h
parentc7d0afa8cde1d351cedc09c111b0f872fbcae15e (diff)
strip unneded parts from giblib, part 1
Not all functions were examined yet. Also TODO: * check strdup / malloc calls (some are apparently unchecked in giblib), maybe use estrdup / emalloc for those * Check includes and update dependency list if needed
Diffstat (limited to 'src/gib_hash.h')
-rw-r--r--src/gib_hash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gib_hash.h b/src/gib_hash.h
index 480ef6e..58506c8 100644
--- a/src/gib_hash.h
+++ b/src/gib_hash.h
@@ -61,9 +61,12 @@ void gib_hash_free_and_data(gib_hash *hash);
void gib_hash_set(gib_hash *hash, char *key, void *data);
void *gib_hash_get(gib_hash *hash, char *key);
+
+/* unused
void gib_hash_remove(gib_hash *hash, char *key);
void gib_hash_foreach(gib_hash *hash, void (*foreach_cb)(gib_hash_node *node, void *data), void *data);
+*/
#ifdef __cplusplus
}