9#ifndef ANJAY_INCLUDE_ANJAY_SIM_BOOTSTRAP_H
10#define ANJAY_INCLUDE_ANJAY_SIM_BOOTSTRAP_H
12#include <avsystem/commons/avs_stream.h>
13#include <avsystem/commons/avs_stream_md5.h>
21#ifdef ANJAY_WITH_MODULE_SIM_BOOTSTRAP
67 size_t *out_response_size);
86 void *perform_command_cb_arg);
117 void *perform_command_cb_arg) {
118 avs_error_t err = avs_errno(AVS_EIO);
119 avs_stream_t *stream =
121 perform_command_cb_arg);
124 avs_stream_cleanup(&stream);
143 uint8_t (*md5)[AVS_COMMONS_MD5_LENGTH]);
avs_error_t anjay_bootstrapper(anjay_t *anjay, avs_stream_t *data_stream)
struct anjay_struct anjay_t
Definition core.h:45
int anjay_sim_bootstrap_perform_command_cb_t(void *arg, const void *cmd, size_t cmd_length, void *out_buf, size_t out_buf_size, size_t *out_response_size)
Definition sim_bootstrap.h:62
avs_stream_t * anjay_sim_bootstrap_stream_create(anjay_sim_bootstrap_perform_command_cb_t *perform_command_cb, void *perform_command_cb_arg)
static avs_error_t anjay_sim_bootstrap_perform(anjay_t *anjay, anjay_sim_bootstrap_perform_command_cb_t *perform_command_cb, void *perform_command_cb_arg)
Definition sim_bootstrap.h:114
avs_error_t anjay_sim_bootstrap_calculate_md5(avs_stream_t *stream, uint8_t(*md5)[AVS_COMMONS_MD5_LENGTH])