Esempio n. 1
0
Rlist *RlistParseString(const char *string)
{
    Rlist *newlist = NULL;
    if (LaunchParsingMachine(string, &newlist))
    {
        return NULL;
    }

    return newlist;
}
Esempio n. 2
0
File: rlist.c Progetto: cduclos/core
Rlist *RlistParseString(const char *string)
{
    Rlist *newlist = NULL;
    int ret;

    ret = LaunchParsingMachine(string, &newlist);

    if (!ret)
    {
        return newlist;
    }
    else
    {
        return NULL;
    }
}