snac2

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

commit 180c3405a048ecb16096ccc5c3188d2b9c7fad46
parent 1bd69bc6111ad750b422cfc0e9be04200d2e6e73
Author: default <nobody@localhost>
Date:   Wed, 23 Nov 2022 20:50:35 +0100

Added listfile prototypes to snac.h.

Diffstat:
Msnac.h | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/snac.h b/snac.h @@ -52,6 +52,11 @@ void srv_archive(char *direction, char *req, char *payload, int p_size, double mtime(char *fn); +int listfile_add_md5(const char *fn, const char *md5); +int listfile_del_md5(const char *fn, const char *md5); +d_char *listfile_get_n(const char *fn, int max); +d_char *listfile_get_inv_n(const char *fn, int max); + int follower_add(snac *snac, char *actor, char *msg); int follower_del(snac *snac, char *actor); int follower_check(snac *snac, char *actor);