diff options
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -223,3 +223,14 @@ int resetpwd(snac *snac); int job_fifo_ready(void); void job_post(const xs_val *job, int urgent); void job_wait(xs_val **job); + +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); +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); |