diff options
| author | 2023-04-22 01:21:09 +0200 | |
|---|---|---|
| committer | 2023-04-22 01:21:09 +0200 | |
| commit | 88042277980edb34f5bc495dfc8b20a05cfe71c2 (patch) | |
| tree | 670cbaebc367a6bc669c866f3e68ab4cc1cb7f2b /snac.h | |
| parent | Use static_get_meta() when preparing the attachment. (diff) | |
| download | snac2-88042277980edb34f5bc495dfc8b20a05cfe71c2.tar.gz snac2-88042277980edb34f5bc495dfc8b20a05cfe71c2.tar.xz snac2-88042277980edb34f5bc495dfc8b20a05cfe71c2.zip | |
New function mastoapi_put_handler().
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -248,3 +248,6 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, | |||
| 248 | int mastoapi_post_handler(const xs_dict *req, const char *q_path, | 248 | int mastoapi_post_handler(const xs_dict *req, const char *q_path, |
| 249 | const char *payload, int p_size, | 249 | const char *payload, int p_size, |
| 250 | char **body, int *b_size, char **ctype); | 250 | char **body, int *b_size, char **ctype); |
| 251 | int mastoapi_put_handler(const xs_dict *req, const char *q_path, | ||
| 252 | const char *payload, int p_size, | ||
| 253 | char **body, int *b_size, char **ctype); | ||