diff options
| author | 2024-03-11 06:00:21 +0100 | |
|---|---|---|
| committer | 2024-03-11 06:00:21 +0100 | |
| commit | 60c2a50ed9a0efc8bbbdbeb48b4a96a1eb80f946 (patch) | |
| tree | 70e577d7064b3f1f52138d984e0a693d8e161b6c /snac.h | |
| parent | Replaced all xs_dict_iter() with xs_dict_next(). (diff) | |
| download | snac2-60c2a50ed9a0efc8bbbdbeb48b4a96a1eb80f946.tar.gz snac2-60c2a50ed9a0efc8bbbdbeb48b4a96a1eb80f946.tar.xz snac2-60c2a50ed9a0efc8bbbdbeb48b4a96a1eb80f946.zip | |
New function content_check().
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -204,6 +204,8 @@ int is_instance_blocked(const char *instance); | |||
| 204 | int instance_block(const char *instance); | 204 | int instance_block(const char *instance); |
| 205 | int instance_unblock(const char *instance); | 205 | int instance_unblock(const char *instance); |
| 206 | 206 | ||
| 207 | int content_check(const char *file, const xs_dict *msg); | ||
| 208 | |||
| 207 | void enqueue_input(snac *snac, const xs_dict *msg, const xs_dict *req, int retries); | 209 | void enqueue_input(snac *snac, const xs_dict *msg, const xs_dict *req, int retries); |
| 208 | void enqueue_shared_input(const xs_dict *msg, const xs_dict *req, int retries); | 210 | void enqueue_shared_input(const xs_dict *msg, const xs_dict *req, int retries); |
| 209 | void enqueue_output_raw(const char *keyid, const char *seckey, | 211 | void enqueue_output_raw(const char *keyid, const char *seckey, |