summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-23 20:28:23 +0200
committerdefault <nobody@localhost>2022-09-23 20:28:23 +0200
commit1d694a245a56bb4fd90fd917ad3648c2c5449746 (patch)
treecb96eb621ca84ebfdfba40cf859af477639f75d6 /snac.h
parentbbf5471039a973fed918441150ef76ff0db7682a (diff)
xs_httpd_request() also returns the payload.
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 166806b..f876363 100644
--- a/snac.h
+++ b/snac.h
@@ -85,3 +85,6 @@ int actor_request(snac *snac, char *actor, d_char **data);
int send_to_inbox(snac *snac, char *inbox, char *msg, d_char **payload, int *p_size);
int send_to_actor(snac *snac, char *actor, char *msg, d_char **payload, int *p_size);
void process_queue(snac *snac);
+int activitypub_post_handler(d_char *req, char *q_path,
+ char *payload, int p_size,
+ char **body, int *b_size, char **ctype);