summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-22 01:21:09 +0200
committerdefault <nobody@localhost>2023-04-22 01:21:09 +0200
commit88042277980edb34f5bc495dfc8b20a05cfe71c2 (patch)
tree670cbaebc367a6bc669c866f3e68ab4cc1cb7f2b /snac.h
parent66d5acc8226ee9a2b2c047ad62b96a865894ce96 (diff)
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,
int mastoapi_post_handler(const xs_dict *req, const char *q_path,
const char *payload, int p_size,
char **body, int *b_size, char **ctype);
+int mastoapi_put_handler(const xs_dict *req, const char *q_path,
+ const char *payload, int p_size,
+ char **body, int *b_size, char **ctype);