HTML Tidy  5.7.0
The HTACG Tidy HTML Project
Message Muting

Detailed Description

Message types included in the mute option will be be printed in messageOut().

Data Structures

struct  TidyMutedMessages
 Maintains a list of messages not to display. More...
 

Functions

void TY_❪DefineMutedMessage❫ (TidyDocImpl *doc, const TidyOptionImpl *opt, ctmbstr name)
 Adds a new message ID to the list of muted messages. More...
 
void TY_❪FreeMutedMessageList❫ (TidyDocImpl *doc)
 Frees the list of muted messages. More...
 
TidyIterator TY_❪getMutedMessageList❫ (TidyDocImpl *doc)
 Start an iterator for muted messages. More...
 
ctmbstr TY_❪getNextMutedMessage❫ (TidyDocImpl *doc, TidyIterator *iter)
 Get the next priority attribute. More...
 

Data Structure Documentation

struct TidyMutedMessages

Maintains a list of messages not to display.

Data Fields
uint capacity Current capacity of the list.
uint count Current count of the list.
tidyStrings * list A list of messages that won't be output.

Function Documentation

void TY_❪DefineMutedMessage❫ ( TidyDocImpl *  doc,
const TidyOptionImpl *  opt,
ctmbstr  name 
)

Adds a new message ID to the list of muted messages.

Parameters
docThe Tidy document.
optThe option that is defining the muted message.
nameThe message code as a string.
void TY_❪FreeMutedMessageList❫ ( TidyDocImpl *  doc)

Frees the list of muted messages.

Parameters
docThe Tidy document.
TidyIterator TY_❪getMutedMessageList❫ ( TidyDocImpl *  doc)

Start an iterator for muted messages.

Parameters
docThe Tidy document.
Returns
Returns an iterator token.
ctmbstr TY_❪getNextMutedMessage❫ ( TidyDocImpl *  doc,
TidyIterator *  iter 
)

Get the next priority attribute.

Parameters
docThe Tidy document.
iterThe iterator token.
Returns
The next priority attribute.