diff options
| author | 2022-11-25 13:33:13 +0100 | |
|---|---|---|
| committer | 2022-11-25 13:33:13 +0100 | |
| commit | 2d7c327cbf08a7ebc12df2818289af5d923c48de (patch) | |
| tree | 600f9ea61567e392fa8fde749a98c58b94af963e /snac.h | |
| parent | Also call object_del() on a renewed actor in actor_request(). (diff) | |
| download | snac2-2d7c327cbf08a7ebc12df2818289af5d923c48de.tar.gz snac2-2d7c327cbf08a7ebc12df2818289af5d923c48de.tar.xz snac2-2d7c327cbf08a7ebc12df2818289af5d923c48de.zip | |
New function mtime_nl().
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -50,7 +50,8 @@ int check_password(char *uid, char *passwd, char *hash); | |||
| 50 | void srv_archive(char *direction, char *req, char *payload, int p_size, | 50 | void srv_archive(char *direction, char *req, char *payload, int p_size, |
| 51 | int status, char *headers, char *body, int b_size); | 51 | int status, char *headers, char *body, int b_size); |
| 52 | 52 | ||
| 53 | double mtime(const char *fn); | 53 | double mtime_nl(const char *fn, int *n_link); |
| 54 | #define mtime(fn) mtime_nl(fn, NULL) | ||
| 54 | 55 | ||
| 55 | int index_add(const char *fn, const char *md5); | 56 | int index_add(const char *fn, const char *md5); |
| 56 | int index_del(const char *fn, const char *md5); | 57 | int index_del(const char *fn, const char *md5); |