dlm_StateMessage()
Converts a state code to a human-readable state message.
#include "dlmdef.h" DlmMessage dlm_StateMessage ( DlmState state );
state | state to convert |
dlm_StateMessage() converts a state code to a human-readable state message.
dlm_StateMessage() returns a human-readable state message.
for (i = dlm_STATE_CLOSED; i <= dlm_STATE_MAX; i++) { printf("State: '%s'\n", dlm_StateMessage(i)); }