VCTRLsetClass(3DTM)

NAME
VCTRLsetClass, VCTRLcompareClass - View control class labeling and scanning macros.

SYNOPSIS
#include <sdl.h>

VCTRLsetClass(char *header)

VCTRLcompareClass(char *header)

DESCRIPTION
VCTRLsetClass inserts the message class constant VCTRLclass into the character string header indicating that the data to follow should be considered some form of a view control matrix. The VCTRLclass constant is declared in the file sdl.h, and though it is accessible at all times, it is recommended that the macro VCTRLsetClass be used to correctly insert this message type tag into the header.

VCTRLcompareClass returns a non-zero value if the character string header contains the VCTRLclass constant. Though the constant VCTRLclass is accessible at all times, it is recommended that the macro VCTRLcompareClass to determine whether or not a header indicates a view control matrix.

SEE ALSO
DTM, VCTRLclass

BUGS
VCTRLsetClass has no way of determining if the header contains sufficient space to hold the tag VCTRLclass. The results of attempting to store this information beyond the end of the allocated space are undefined.