summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authorGravatar default2023-04-22 01:21:09 +0200
committerGravatar default2023-04-22 01:21:09 +0200
commit88042277980edb34f5bc495dfc8b20a05cfe71c2 (patch)
tree670cbaebc367a6bc669c866f3e68ab4cc1cb7f2b /snac.h
parentUse static_get_meta() when preparing the attachment. (diff)
downloadsnac2-88042277980edb34f5bc495dfc8b20a05cfe71c2.tar.gz
snac2-88042277980edb34f5bc495dfc8b20a05cfe71c2.tar.xz
snac2-88042277980edb34f5bc495dfc8b20a05cfe71c2.zip
New function mastoapi_put_handler().
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 090809a..e4689a1 100644
--- a/snac.h
+++ b/snac.h
@@ -248,3 +248,6 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
248int mastoapi_post_handler(const xs_dict *req, const char *q_path, 248int 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);
251int 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);