static int ftp_restart(FTPContext *s, int64_t pos)

{

    char command[CONTROL_BUFFER_SIZE];

    const int rest_codes[] = {350, 0};



    snprintf(command, sizeof(command), "REST %"PRId64"\r\n", pos);

    if (!ftp_send_command(s, command, rest_codes, NULL))

        return AVERROR(EIO);



    return 0;

}

static int ftp_restart(FTPContext *s, int64_t pos)

{

    char command[CONTROL_BUFFER_SIZE];

    const int rest_codes[] = {350, 0};



    snprintf(command, sizeof(command), "REST %"PRId64"\r\n", pos);

    if (!ftp_send_command(s, command, rest_codes, NULL))

        return AVERROR(EIO);



    return 0;

}

static int FUNC_0(FTPContext *VAR_0, int64_t VAR_1)

{

    char VAR_2[CONTROL_BUFFER_SIZE];

    const int VAR_3[] = {350, 0};



    snprintf(VAR_2, sizeof(VAR_2), "REST %"PRId64"\r\n", VAR_1);

    if (!ftp_send_command(VAR_0, VAR_2, VAR_3, NULL))

        return AVERROR(EIO);



    return 0;

}

static int FUNC_0(FTPContext *VAR_0, int64_t VAR_1)
{ char VAR_2[CONTROL_BUFFER_SIZE]; const int VAR_3[] = {350, 0}; snprintf(VAR_2, sizeof(VAR_2), "REST %"PRId64"\r\n", VAR_1); if (!ftp_send_command(VAR_0, VAR_2, VAR_3, NULL))
return AVERROR(EIO); return 0; }