diff options
| author | 2026-01-12 14:27:05 +0100 | |
|---|---|---|
| committer | 2026-01-12 14:27:05 +0100 | |
| commit | 3ffdf91a4c6e90b0738a767d75b80941500713e0 (patch) | |
| tree | c716b2fc1121c97a4ee82f3993d97ed41e63a7ad /snac.h | |
| parent | Revert "Updated documentation." (diff) | |
| parent | Implement metadata stripping for uploaded videos (diff) | |
| download | snac2-3ffdf91a4c6e90b0738a767d75b80941500713e0.tar.gz snac2-3ffdf91a4c6e90b0738a767d75b80941500713e0.tar.xz snac2-3ffdf91a4c6e90b0738a767d75b80941500713e0.zip | |
Merge pull request 'Implement metadata stripping for uploaded photos and videos' (#515) from draga79/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/515
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -105,6 +105,9 @@ int validate_uid(const char *uid); | |||
| 105 | xs_str *hash_password(const char *uid, const char *passwd, const char *nonce); | 105 | xs_str *hash_password(const char *uid, const char *passwd, const char *nonce); |
| 106 | int check_password(const char *uid, const char *passwd, const char *hash); | 106 | int check_password(const char *uid, const char *passwd, const char *hash); |
| 107 | 107 | ||
| 108 | int strip_media(const char *fn); | ||
| 109 | int check_strip_tool(void); | ||
| 110 | |||
| 108 | void srv_archive(const char *direction, const char *url, xs_dict *req, | 111 | void srv_archive(const char *direction, const char *url, xs_dict *req, |
| 109 | const char *payload, int p_size, | 112 | const char *payload, int p_size, |
| 110 | int status, xs_dict *headers, | 113 | int status, xs_dict *headers, |