summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2022-11-23 20:50:35 +0100
committerGravatar default2022-11-23 20:50:35 +0100
commit180c3405a048ecb16096ccc5c3188d2b9c7fad46 (patch)
tree196dd052488e4c2df6aeeb5190dd0b87da4e272b
parentSome tweaks to the new listfile functions. (diff)
downloadsnac2-180c3405a048ecb16096ccc5c3188d2b9c7fad46.tar.gz
snac2-180c3405a048ecb16096ccc5c3188d2b9c7fad46.tar.xz
snac2-180c3405a048ecb16096ccc5c3188d2b9c7fad46.zip
Added listfile prototypes to snac.h.
-rw-r--r--snac.h5
1 files changed, 5 insertions, 0 deletions
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,
52 52
53double mtime(char *fn); 53double mtime(char *fn);
54 54
55int listfile_add_md5(const char *fn, const char *md5);
56int listfile_del_md5(const char *fn, const char *md5);
57d_char *listfile_get_n(const char *fn, int max);
58d_char *listfile_get_inv_n(const char *fn, int max);
59
55int follower_add(snac *snac, char *actor, char *msg); 60int follower_add(snac *snac, char *actor, char *msg);
56int follower_del(snac *snac, char *actor); 61int follower_del(snac *snac, char *actor);
57int follower_check(snac *snac, char *actor); 62int follower_check(snac *snac, char *actor);