diff options
author | default <nobody@localhost> | 2023-07-13 17:58:18 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-07-13 17:58:18 +0200 |
commit | 137f7756059bfcbf74ff551e72f2210e4e77789f (patch) | |
tree | 5d4e3e7d24302757bc3a166359326aa933717335 /activitypub.c | |
parent | 5ddde84eaac284a65a1828036123d54d6e21b5ac (diff) |
Minor prototype tweak.
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index 9fe293c..e871c8d 100644 --- a/activitypub.c +++ b/activitypub.c @@ -296,7 +296,7 @@ int send_to_inbox(snac *snac, const xs_str *inbox, const xs_dict *msg, } -d_char *get_actor_inbox(snac *snac, const char *actor) +xs_str *get_actor_inbox(snac *snac, const char *actor) /* gets an actor's inbox */ { xs *data = NULL; @@ -316,7 +316,8 @@ d_char *get_actor_inbox(snac *snac, const char *actor) } -int send_to_actor(snac *snac, char *actor, char *msg, d_char **payload, int *p_size, int timeout) +int send_to_actor(snac *snac, const char *actor, const char *msg, + xs_val **payload, int *p_size, int timeout) /* sends a message to an actor */ { int status = 400; |