snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit e0c01956166c9fe14b734750e82f7c209ffcf499
parent 0cdd193be9962023172e0c6bbb320e18b088241a
Author: default <nobody@localhost>
Date:   Tue, 27 Sep 2022 09:07:07 +0200

[html.c] new file.

Diffstat:
MMakefile | 2+-
Ahtml.c | 9+++++++++
2 files changed, 10 insertions(+), 1 deletion(-)

diff --git 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 @@ -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" +