int fw_cfg_add_i32(FWCfgState *s, uint16_t key, uint32_t value)

{

    uint32_t *copy;



    copy = g_malloc(sizeof(value));

    *copy = cpu_to_le32(value);

    return fw_cfg_add_bytes(s, key, (uint8_t *)copy, sizeof(value));

}

int fw_cfg_add_i32(FWCfgState *s, uint16_t key, uint32_t value)

{

    uint32_t *copy;



    copy = g_malloc(sizeof(value));

    *copy = cpu_to_le32(value);

    return fw_cfg_add_bytes(s, key, (uint8_t *)copy, sizeof(value));

}

    return fw_cfg_add_bytes(s, key, (uint8_t *)copy, sizeof(value)); int fw_cfg_add_i32(FWCfgState *s, uint16_t key, uint32_t value)     return fw_cfg_add_bytes(s, key, (uint8_t *)copy, sizeof(value));     return fw_cfg_add_bytes(s, key, (uint8_t *)copy, sizeof(value));
int FUNC_0(FWCfgState *VAR_0, uint16_t VAR_1, uint32_t VAR_2)

{

    uint32_t *copy;



    copy = g_malloc(sizeof(VAR_2));

    *copy = cpu_to_le32(VAR_2);

    return fw_cfg_add_bytes(VAR_0, VAR_1, (uint8_t *)copy, sizeof(VAR_2));

}

int FUNC_0(FWCfgState *VAR_0, uint16_t VAR_1, uint32_t VAR_2)
{ uint32_t *copy; copy = g_malloc(sizeof(VAR_2)); *copy = cpu_to_le32(VAR_2); return fw_cfg_add_bytes(VAR_0, VAR_1, (uint8_t *)copy, sizeof(VAR_2)); }