DLM Message

Source Message

dlm_SourceMessage()

Converts a source code to a human-readable source message.

Syntax
#include "dlmdef.h"

DlmMessage dlm_SourceMessage
    (
        DlmSource  source
    );
sourcesource to convert
Description

dlm_SourceMessage() converts a source code to a human-readable source message.

Return Values

dlm_SourceMessage() returns a human-readable source message.

See Also

dlm_DataTagMessage()
dlm_ErrorMessage()
dlm_EventMessage()
dlm_StateMessage()
dlm_StatusMessage()

Example
for (i = dlm_SOURCE_LOCAL; i <= dlm_SOURCE_MAX; i++)
{
    printf("Source: '%s'\n", dlm_SourceMessage(i));
}