HeaderTypes/Is_Format_Item [ Functions ]

FUNCTION

Tells wether this item should be formatted by the browser SYNPOPSIS

INPUTS

item_type -- Type of item (also the index to the item name)

RESULT

TRUE -- Item should be formatted by the browser FALSE -- Item should be left alone

SOURCE

{
    unsigned int        i;

    // Lookup if item should be formatted by the browser
    for ( i = 0; i < configuration.format_items.number; ++i )
    {
        if ( !strcmp
             ( configuration.format_items.names[i],
               configuration.items.names[item_type] ) )
        {
            // Item name match, it sould be formatted by the browser
            return TRUE;
        }
    }

    // Leave item alone
    return FALSE;
}