Headers/RB_Skip_Remark_Marker [ Functions ]

NAME

RB_Skip_Remark_Marker

SYNOPSIS

char               *RB_Skip_Remark_Marker(
    char *lline_buffer )

FUNCTION

Scan and search for a recognized remark marker; skip past the marker to the body of the text

SOURCE

{
    unsigned int        marker, found;
    char               *cur_char, *cur_mchar;

    found = FALSE;
    cur_char = NULL;
    for ( marker = 0;
          ( marker < configuration.remark_markers.number ) && !found;
          marker++ )
    {
        cur_mchar = configuration.remark_markers.names[marker];
        for ( found = TRUE, cur_char = lline_buffer;
              *cur_mchar && *cur_char && found; cur_mchar++, cur_char++ )
        {
            if ( tolower( *cur_mchar ) != tolower( *cur_char ) )
            {
                found = FALSE;
            }
        }
    }
    return ( cur_char );
}