diff options
| author | 2022-11-23 20:50:35 +0100 | |
|---|---|---|
| committer | 2022-11-23 20:50:35 +0100 | |
| commit | 180c3405a048ecb16096ccc5c3188d2b9c7fad46 (patch) | |
| tree | 196dd052488e4c2df6aeeb5190dd0b87da4e272b | |
| parent | Some tweaks to the new listfile functions. (diff) | |
| download | snac2-180c3405a048ecb16096ccc5c3188d2b9c7fad46.tar.gz snac2-180c3405a048ecb16096ccc5c3188d2b9c7fad46.tar.xz snac2-180c3405a048ecb16096ccc5c3188d2b9c7fad46.zip | |
Added listfile prototypes to snac.h.
| -rw-r--r-- | snac.h | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -52,6 +52,11 @@ void srv_archive(char *direction, char *req, char *payload, int p_size, | |||
| 52 | 52 | ||
| 53 | double mtime(char *fn); | 53 | double mtime(char *fn); |
| 54 | 54 | ||
| 55 | int listfile_add_md5(const char *fn, const char *md5); | ||
| 56 | int listfile_del_md5(const char *fn, const char *md5); | ||
| 57 | d_char *listfile_get_n(const char *fn, int max); | ||
| 58 | d_char *listfile_get_inv_n(const char *fn, int max); | ||
| 59 | |||
| 55 | int follower_add(snac *snac, char *actor, char *msg); | 60 | int follower_add(snac *snac, char *actor, char *msg); |
| 56 | int follower_del(snac *snac, char *actor); | 61 | int follower_del(snac *snac, char *actor); |
| 57 | int follower_check(snac *snac, char *actor); | 62 | int follower_check(snac *snac, char *actor); |