diff options
author | default <nobody@localhost> | 2023-04-09 20:34:05 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-04-09 20:34:05 +0200 |
commit | 4ced03bac14b57504cf6d3ca4d4770efc25dbfad (patch) | |
tree | ae55996e94cc4734a7a2146ae8930c7f87364997 /snac.h | |
parent | 752058bf662ce4025fd1a445625c012ab83b1edd (diff) |
OAuth login now works.
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); |