HeaderTypes/Is_Preformatted_Item [ Functions ]
FUNCTION
Tells wether this item should be automatically preformatted in the output. SYNPOPSIS
INPUTS
item_type -- Type of item (also the index to the item name)
RESULT
TRUE -- Item should be automatically preformatted FALSE -- Item should NOT be automatically preformatted
SOURCE
{ unsigned int i; // Lookup if item should be preformatted for ( i = 0; i < configuration.preformatted_items.number; ++i ) { if ( !strcmp ( configuration.preformatted_items.names[i], configuration.items.names[item_type] ) ) { // Item name match, it sould be preformatted return TRUE; } } // Do not automatically preformat item return FALSE; }