summaryrefslogtreecommitdiff
path: root/libhashtable/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhashtable/example.c')
-rw-r--r--libhashtable/example.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhashtable/example.c b/libhashtable/example.c
index bc42a67..919d75c 100644
--- a/libhashtable/example.c
+++ b/libhashtable/example.c
@@ -19,5 +19,7 @@ int main(int argc,char *argv[]) {
free(name);
}
printf("PATH='%s'\n",ht_getvalue(&ht,"PATH"));
+ //if you want to get a whole entry struct use ht_getnode();
+ //getentry() just returns the first struct in the linked list in that bucket.
return 0;
}