diff options
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -224,11 +224,13 @@ int job_fifo_ready(void); void job_post(const xs_val *job, int urgent); void job_wait(xs_val **job); -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_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); + const char *payload, int p_size, + char **body, int *b_size, char **ctype); +int mastoapi_get_handler(const xs_dict *req, const char *q_path, + char **body, int *b_size, char **ctype); +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); |