fw_cfg_state
free(fw_cfg_state.data);
fw_cfg_state.offset = 0;
fw_cfg_state.size = 0;
fw_cfg_state.data = NULL;
if ((fw_cfg_state.data = malloc(len)) == NULL) {
memcpy(fw_cfg_state.data, data, len);
fw_cfg_state.size = len;
fw_cfg_state.offset = 0;
if (fw_cfg_state.offset < fw_cfg_state.size)
len = fw_cfg_state.size - fw_cfg_state.offset;
fw_cfg_state.data + fw_cfg_state.offset, len)) {
fw_cfg_state.offset += len;
if (fw_cfg_state.offset == fw_cfg_state.size)
if (fw_cfg_state.offset < fw_cfg_state.size) {
fw_cfg_state.data[fw_cfg_state.offset++]);
if (fw_cfg_state.offset == fw_cfg_state.size)
} fw_cfg_state;