summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-11-25 13:33:13 +0100
committerdefault <nobody@localhost>2022-11-25 13:33:13 +0100
commit2d7c327cbf08a7ebc12df2818289af5d923c48de (patch)
tree600f9ea61567e392fa8fde749a98c58b94af963e /snac.h
parentafeec970a38ad91fc00ab50efaf42723c38cefbf (diff)
New function mtime_nl().
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/snac.h b/snac.h
index aad4697..a9c8606 100644
--- a/snac.h
+++ b/snac.h
@@ -50,7 +50,8 @@ int check_password(char *uid, char *passwd, char *hash);
void srv_archive(char *direction, char *req, char *payload, int p_size,
int status, char *headers, char *body, int b_size);
-double mtime(const char *fn);
+double mtime_nl(const char *fn, int *n_link);
+#define mtime(fn) mtime_nl(fn, NULL)
int index_add(const char *fn, const char *md5);
int index_del(const char *fn, const char *md5);