Commit dbf5d3f0 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(name): Handle STAT_CONFS and STAT_PERSONS.

(read_stat_value): New function.
parent 7a344979
......@@ -412,6 +412,12 @@ name(enum stat_type st)
case STAT_TEXTS:
return "texts";
case STAT_CONFS:
return "confs";
case STAT_PERSONS:
return "persons";
case STAT_SEND_QUEUE:
return "send-queue-bytes";
......@@ -425,6 +431,12 @@ name(enum stat_type st)
abort();
}
long
read_stat_value(enum stat_type st)
{
return status[st][VT_AVG].value;
}
extern Success
get_stats_description(Stats_description *result)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment