diff options
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -183,7 +183,7 @@ int check_signature(snac *snac, xs_dict *req, xs_str **err); | |||
| 183 | 183 | ||
| 184 | void httpd(void); | 184 | void httpd(void); |
| 185 | 185 | ||
| 186 | int webfinger_request(char *qs, char **actor, char **user); | 186 | int webfinger_request(const char *qs, char **actor, char **user); |
| 187 | int webfinger_get_handler(d_char *req, char *q_path, | 187 | int webfinger_get_handler(d_char *req, char *q_path, |
| 188 | char **body, int *b_size, char **ctype); | 188 | char **body, int *b_size, char **ctype); |
| 189 | 189 | ||
| @@ -201,8 +201,8 @@ d_char *msg_delete(snac *snac, char *id); | |||
| 201 | d_char *msg_actor(snac *snac); | 201 | d_char *msg_actor(snac *snac); |
| 202 | xs_dict *msg_update(snac *snac, xs_dict *object); | 202 | xs_dict *msg_update(snac *snac, xs_dict *object); |
| 203 | 203 | ||
| 204 | int activitypub_request(snac *snac, char *url, d_char **data); | 204 | int activitypub_request(snac *snac, const char *url, xs_dict **data); |
| 205 | int actor_request(snac *snac, char *actor, d_char **data); | 205 | int actor_request(snac *snac, const char *actor, xs_dict **data); |
| 206 | int send_to_inbox_raw(const char *keyid, const char *seckey, | 206 | int send_to_inbox_raw(const char *keyid, const char *seckey, |
| 207 | const xs_str *inbox, const xs_dict *msg, | 207 | const xs_str *inbox, const xs_dict *msg, |
| 208 | xs_val **payload, int *p_size, int timeout); | 208 | xs_val **payload, int *p_size, int timeout); |