94 uint8_t *block_buffer,
void(* golioth_set_cb_fn)(struct golioth_client *client, enum golioth_status status, const struct golioth_coap_rsp_code *coap_rsp_code, const char *path, void *arg)
golioth_content_type
Golioth Content Type.
enum golioth_status(* stream_read_block_cb)(uint32_t block_idx, uint8_t *block_buffer, size_t *block_size, bool *is_last, void *arg)
enum golioth_status golioth_stream_set_async(struct golioth_client *client, const char *path, enum golioth_content_type content_type, const uint8_t *buf, size_t buf_len, golioth_set_cb_fn callback, void *callback_arg)
enum golioth_status golioth_stream_set_blockwise_sync(struct golioth_client *client, const char *path, enum golioth_content_type content_type, stream_read_block_cb cb, void *arg)
enum golioth_status golioth_stream_set_sync(struct golioth_client *client, const char *path, enum golioth_content_type content_type, const uint8_t *buf, size_t buf_len, int32_t timeout_s)