Interpreting Return Codes

Statistic Messages

lgo_StatisticMessages()

Retrieve a set of human-readable strings describing the statistics kept by a protocol.

Syntax
#include "laygomsg.h"

LMessageTable   lgo_StatisticMessages
        (
                LProtocol    protocol
        );
protocolprotocol to retrieve statistics descriptions for
Description

lgo_StatisticMessages() retrieves a set of human-readable strings describing the statistics kept by a protocol.

Return Values

All calls to lgo_StatisticMessages() are successful. If the protocol code is not defined, a NULL is returned.

See Also

lgo_GetStatistics()
lgo_Protocol()

Example
if ((bytes = lgo_GetStatistics(cid, buffer, size) > 0)
{
    statStrings =
        lgo_StatisticMessages(lgo_Protocol(cid));
    if (statStrings != NULL)
    {
        /* dislplay statistics here */
    }
}

lgo_ClearStatistics(cid);