summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-27 09:07:07 +0200
committerdefault <nobody@localhost>2022-09-27 09:07:07 +0200
commite0c01956166c9fe14b734750e82f7c209ffcf499 (patch)
tree586e1ac640f524975176ed0bfdf1b498551b1796
parent0cdd193be9962023172e0c6bbb320e18b088241a (diff)
[html.c] new file.
-rw-r--r--Makefile2
-rw-r--r--html.c9
2 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 246bbfd..df5c2ce 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CFLAGS=-g -Wall
all: snac
-snac: snac.o main.o data.o http.o httpd.o webfinger.o activitypub.o
+snac: snac.o main.o data.o http.o httpd.o webfinger.o activitypub.o html.o
$(CC) -L/usr/local/lib *.o -lcurl -lcrypto -o $@
.c.o:
diff --git a/html.c b/html.c
new file mode 100644
index 0000000..2646e7d
--- /dev/null
+++ b/html.c
@@ -0,0 +1,9 @@
+/* snac - A simple, minimalistic ActivityPub instance */
+/* copyright (c) 2022 grunfink - MIT license */
+
+#include "xs.h"
+#include "xs_io.h"
+#include "xs_json.h"
+
+#include "snac.h"
+