Configuration/Find_Parameter_Char [ Functions ]

FUNCTION

Checks for the existence of a given configuration parameter (Character match)

SOURCE

char               *Find_Parameter_Char(
    struct Parameters *params,
    char param )
{
    unsigned int        i;

    for ( i = 0; i < params->number; i++ )
    {
        if ( params->names[i][0] == param )
        {
            // found it
            return params->names[i];
        }
    }

    // parameter not found
    return NULL;
}