aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-06 05:04:26 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-20 23:52:52 +0200
commitf5dfbf6e8be018199c4d57375935fd1f5f3c93bb (patch)
treec9c64a2bbc3cb207eb3b80ccfbf0556d46b004fb
parentfa4745b4bac682f0a265b956a90bb7a84ef51192 (diff)
Add cftw
POSIX functions ftw(3) and nftw(3) do not allow passing an opaque pointer to the callback they call, so it forces the use of statically allocated data. ctfw (from "custom ftw") is a custom implementation that solves this, while also removing unneeded stuff. This function will be used by future commits.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7001c0b..e29c8ac 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ DEPS = $(OBJECTS:.o=.d)
OBJECTS = \
auth.o \
base64.o \
+ cftw.o \
handler.o \
html.o \
http.o \