lgo_ClearStatistics()
Clear the statistics table on a connection.
#include "laygo.h" LResult lgo_ClearStatistics ( LCid cid );
cid | connection to clear statistics on |
If a statistics table is being maintained on the connection, lgo_ClearStatistics() sets all values to zero. LayGO modules do not automatically clear their own statistics tables between connections.
If successful, lgo_ClearStatistics() returns a non-negative value. Otherwise, it returns a negative value indicating the reason it failed. Possible unsuccessful return values are:
lgo_GetStatistics(cid, buffer, bufCapacity); statStrings = lgo_StatisticMessages(lgo_Protocol(cid)); /* display statistics here */ lgo_ClearStatistics(cid);