CResponse::PICS

The CResponse::PICS function adds a value to the PICS label field of the header.

int PICS(
chchar * headerValue // points to a string containing the PICS label value in the header
);



Return Type

int
Upon successful completion, zero is returned. Otherwise, a value of non-zero is returned.


Parameters


headerValue
A string containing the PICS label value in the header.


Remarks

This function adds a value to the PICS label field of the header. It inserts any string in the header, whether or not it represents a valid PICS label.

If a single page includes multiple tags containing this function, each instance will replace the PICS label set by the previous one. As a result, the PICS label will be set to the value specified by the last instance of this function in the page.

Because PICS labels contain quotes, the author must add a backslash before each quote.

For more details on the PICS standard, see http://www.w3.org/Pics/.


See Also

CResponse

Example