# tibemsMsgType

Type

## Purpose

Enumerated constants representing message body types.

## C Declaration

    typedef enum {
        TIBEMS_MESSAGE_UNKNOWN,
        TIBEMS_MESSAGE,
        TIBEMS_BYTES_MESSAGE,
        TIBEMS_MAP_MESSAGE,
        TIBEMS_OBJECT_MESSAGE,
        TIBEMS_STREAM_MESSAGE,
        TIBEMS_TEXT_MESSAGE,
        TIBEMS_MESSAGE_UNDEFINED
    } tibemsMsgType;

## COBOL

    01  TIBEMS-MSG-TYPES.
        05 tibemsMsgType           			PIC S9(8) BINARY.
            88  TIBEMS-MESSAGE-UNKNOWN    VALUE     0.
            88  TIBEMS-MESSAGE            VALUE     1.
            88  TIBEMS-BYTES-MESSAGE      VALUE     2.
            88  TIBEMS-MAP-MESSAGE        VALUE     3.
            88  TIBEMS-OBJECT-MESSAGE     VALUE     4.
            88  TIBEMS-STREAM-MESSAGE     VALUE     5.
            88  TIBEMS-TEXT-MESSAGE       VALUE     6.
            88  TIBEMS-MESSAGE-UNDEFINED  VALUE   256.

## See Also

`tibemsMsg_GetBodyType`

Copyright © Cloud Software Group, Inc. All rights reserved.