static int ftp_features(FTPContext *s)

{

    static const char *feat_command        = "FEAT\r\n";

    static const char *enable_utf8_command = "OPTS UTF8 ON\r\n";

    static const int feat_codes[] = {211, 0};

    static const int opts_codes[] = {200, 451};

    char *feat;



    if (ftp_send_command(s, feat_command, feat_codes, &feat) == 211) {

        if (av_stristr(feat, "UTF8"))

            ftp_send_command(s, enable_utf8_command, opts_codes, NULL);

    }

    return 0;

}

static int ftp_features(FTPContext *s)

{

    static const char *feat_command        = "FEAT\r\n";

    static const char *enable_utf8_command = "OPTS UTF8 ON\r\n";

    static const int feat_codes[] = {211, 0};

    static const int opts_codes[] = {200, 451};

    char *feat;



    if (ftp_send_command(s, feat_command, feat_codes, &feat) == 211) {

        if (av_stristr(feat, "UTF8"))

            ftp_send_command(s, enable_utf8_command, opts_codes, NULL);

    }

    return 0;

}

    char *feat;
static int FUNC_0(FTPContext *VAR_0)

{

    static const char *VAR_1        = "FEAT\r\n";

    static const char *VAR_2 = "OPTS UTF8 ON\r\n";

    static const int VAR_3[] = {211, 0};

    static const int VAR_4[] = {200, 451};

    char *VAR_5;



    if (ftp_send_command(VAR_0, VAR_1, VAR_3, &VAR_5) == 211) {

        if (av_stristr(VAR_5, "UTF8"))

            ftp_send_command(VAR_0, VAR_2, VAR_4, NULL);

    }

    return 0;

}

static int FUNC_0(FTPContext *VAR_0)
{ static const char *VAR_1        = "FEAT\r\n"; static const char *VAR_2 = "OPTS UTF8 ON\r\n"; static const int VAR_3[] = {211, 0}; static const int VAR_4[] = {200, 451}; char *VAR_5; if (ftp_send_command(VAR_0, VAR_1, VAR_3, &VAR_5) == 211) { if (av_stristr(VAR_5, "UTF8"))
ftp_send_command(VAR_0, VAR_2, VAR_4, NULL); } return 0; }