From 180c3405a048ecb16096ccc5c3188d2b9c7fad46 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 23 Nov 2022 20:50:35 +0100 Subject: [PATCH] Added listfile prototypes to snac.h. --- snac.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/snac.h b/snac.h index 00110f9..ba8651e 100644 --- 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);