aboutsummaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-23 19:07:45 +0200
committerdefault <nobody@localhost>2022-09-23 19:07:45 +0200
commitcf59d68491bb4bf0954e8370354ba34994b6436f (patch)
tree9429b80983f243964bda9db6f2533bb1fcf3b714 /snac.h
parent6586be50a0297de0e9b7e6cd66ce3b25eccf7e5c (diff)
New functions send_to_inbox() and send_to_actor().
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 76a1afe..a10169e 100644
--- a/snac.h
+++ b/snac.h
@@ -82,3 +82,5 @@ int webfinger_get_handler(d_char *req, char *q_path,
int activitypub_request(snac *snac, char *url, d_char **data);
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);