Przeglądaj źródła

Added listfile prototypes to snac.h.

default 3 lat temu
rodzic
commit
180c3405a0
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      snac.h

+ 5 - 0
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);