snac2/main.c

21 lines
355 B
C
Raw Normal View History

2022-09-19 22:32:36 +03:00
/* snac - A simple, minimalistic ActivityPub instance */
/* copyright (c) 2022 grunfink - MIT license */
#include "xs.h"
#include "snac.h"
int main(int argc, char *argv[])
{
snac snac;
printf("%s\n", tid());
2022-09-19 22:32:36 +03:00
srv_open("/home/angel/lib/snac/comam.es");
2022-09-20 00:03:18 +03:00
user_open(&snac, "mike");
snac_log(&snac, xs_str_new("ok"));
2022-09-19 22:32:36 +03:00
return 0;
}