DTMsetClass(3DTM)

NAME
DTMsetClass, DTMcompareClass - DTM generic class labeling and scanning macros.

SYNOPSIS
#include <dtm.h>

DTMsetClass(char *header)

DTMcompareClass(char *header)

DESCRIPTION
DTMsetClass inserts the message class constant DTMclass into the character string header, indicating that the data to follow should be considered a generic DTM message. The DTMclass constant is declared in the file dtm.h, and though it is accessible at all times, it is recommended that the macro DTMsetClass be used to correctly insert this message type tag into the header.

DTMcompareClass returns a non-zero value if the character string header contains the DTMclass constant. Though the constant DTMclass is accessible at all times, users should use the macro DTMcompareClass to determine whether or not a header indicates this generic class.

SEE ALSO
DTM, DTMclass

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