diff options
author | default <nobody@localhost> | 2023-04-08 09:09:43 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-04-08 09:09:43 +0200 |
commit | 4964a564560fb81a505179ae7d9730d2231a743c (patch) | |
tree | f8061836eec76123af0b325f3b59e2b215e2a21f /snac.h | |
parent | eba6987fd55c2cc94393c61e6bbd86514e14993b (diff) |
More mastoapi work.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -224,7 +224,11 @@ int job_fifo_ready(void); void job_post(const xs_val *job, int urgent); void job_wait(xs_val **job); -int mastoapi_post_handler(xs_dict *req, char *q_path, char *payload, int p_size, +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 oauth_post_handler(xs_dict *req, char *q_path, char *payload, int p_size, +int oauth_get_handler(const xs_dict *req, const char *q_path, + char **body, int *b_size, char **ctype); +int oauth_post_handler(const xs_dict *req, const char *q_path, + const char *payload, int p_size, char **body, int *b_size, char **ctype); |