diff options
author | default <nobody@localhost> | 2023-06-29 08:07:10 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-06-29 08:07:10 +0200 |
commit | 61957a86da212cb0784dfc3de7bfcafe3dc7589b (patch) | |
tree | 6523ebbfcff60189b30e3402e10f3065fde0830a /snac.h | |
parent | 090c7cc166809ef9f9eb5cb40d97046002c1a305 (diff) |
Added instance blocking to data storage.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -161,6 +161,10 @@ void inbox_add(const char *inbox); void inbox_add_by_actor(const xs_dict *actor); xs_list *inbox_list(void); +int is_instance_blocked(const char *instance); +int instance_block(const char *instance); +int instance_unblock(const char *instance); + void enqueue_input(snac *snac, const xs_dict *msg, const xs_dict *req, int retries); void enqueue_output_raw(const char *keyid, const char *seckey, xs_dict *msg, xs_str *inbox, int retries); |