DLM Message

Event Message

dlm_EventMessage()

Converts an event code to a human-readable event message.

Syntax
#include "dlmdef.h"

DlmMessage dlm_EventMessage
    (
        DlmEventType  event
    );
eventevent to convert
Description

dlm_EventMessage() converts an event code to a human-readable event message.

Return Values

dlm_EventMessage() returns a human-readable event message.

See Also

dlm_DataTagMessage()
dlm_ErrorMessage()
dlm_SourceMessage()
dlm_StateMessage()
dlm_StatusMessage()

Example
for (i = dlm_EVENT_DATA; i <= dlm_EVENT_MAX; i++)
{
    printf("Event: '%s'\n", dlm_EventMessage(i));
}