aboutsummaryrefslogtreecommitdiff
path: root/src/ht/ft_htget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ht/ft_htget.c')
-rw-r--r--src/ht/ft_htget.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ht/ft_htget.c b/src/ht/ft_htget.c
index 1562eb0..94a4164 100644
--- a/src/ht/ft_htget.c
+++ b/src/ht/ft_htget.c
@@ -13,9 +13,14 @@
#include "libft.h"
#include "libft_ht.h"
+/*
+** Retrieve a value with associated key.
+** Returns NULL if there is no value at `key`.
+*/
+
void *ft_htget(t_ftht *ht, char *key)
{
-
+
t_ftht_digest digest;
t_ftlst *found;