diff options
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); | |||
| 224 | void job_post(const xs_val *job, int urgent); | 224 | void job_post(const xs_val *job, int urgent); |
| 225 | void job_wait(xs_val **job); | 225 | void job_wait(xs_val **job); |
| 226 | 226 | ||
| 227 | int mastoapi_post_handler(xs_dict *req, char *q_path, char *payload, int p_size, | 227 | int mastoapi_post_handler(const xs_dict *req, const char *q_path, |
| 228 | const char *payload, int p_size, | ||
| 228 | char **body, int *b_size, char **ctype); | 229 | char **body, int *b_size, char **ctype); |
| 229 | int oauth_post_handler(xs_dict *req, char *q_path, char *payload, int p_size, | 230 | int oauth_get_handler(const xs_dict *req, const char *q_path, |
| 231 | char **body, int *b_size, char **ctype); | ||
| 232 | int oauth_post_handler(const xs_dict *req, const char *q_path, | ||
| 233 | const char *payload, int p_size, | ||
| 230 | char **body, int *b_size, char **ctype); | 234 | char **body, int *b_size, char **ctype); |