diff options
| author | grunfink <grunfink@noreply.codeberg.org> | 2026-01-12 14:27:05 +0100 |
|---|---|---|
| committer | grunfink <grunfink@noreply.codeberg.org> | 2026-01-12 14:27:05 +0100 |
| commit | 3ffdf91a4c6e90b0738a767d75b80941500713e0 (patch) | |
| tree | c716b2fc1121c97a4ee82f3993d97ed41e63a7ad /snac.h | |
| parent | 9a5f67bd30511291f7ac9a13a56fb5611b4350cf (diff) | |
| parent | 03d270a56b751bc53b83381d9fef21da8d4cbb91 (diff) | |
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); xs_str *hash_password(const char *uid, const char *passwd, const char *nonce); int check_password(const char *uid, const char *passwd, const char *hash); +int strip_media(const char *fn); +int check_strip_tool(void); + void srv_archive(const char *direction, const char *url, xs_dict *req, const char *payload, int p_size, int status, xs_dict *headers, |