aboutsummaryrefslogtreecommitdiffstats
path: root/libosmocore/include/osmocore
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-13 12:55:56 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-13 12:55:56 +0200
commit8d80d066ecfb44e6a90b114ac416bf9fa735817a (patch)
treebb22f8eea8dc94cd2f900422a028ae6370a45cae /libosmocore/include/osmocore
parentc1919866912d8106b522b9092641022ddaf31137 (diff)
parentcf734784b0433dfa6b77909f83cc3620e523f5d7 (diff)
Merge commit 'cf734784b0433dfa6b77909f83cc3620e523f5d7'
Diffstat (limited to 'libosmocore/include/osmocore')
-rw-r--r--libosmocore/include/osmocore/rate_ctr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libosmocore/include/osmocore/rate_ctr.h b/libosmocore/include/osmocore/rate_ctr.h
index c6a1ace2f..88c9de5a6 100644
--- a/libosmocore/include/osmocore/rate_ctr.h
+++ b/libosmocore/include/osmocore/rate_ctr.h
@@ -33,8 +33,8 @@ struct rate_ctr_desc {
/* Describe a counter group class */
struct rate_ctr_group_desc {
- /* The prefix / format string to be used for all counters */
- char *group_prefix_fmt;
+ /* The prefix to the name of all counters in this group */
+ char *group_name_prefix;
/* The human-readable description of the group */
char *group_description;
/* The number of counters in this group */
@@ -49,8 +49,8 @@ struct rate_ctr_group {
struct llist_head list;
/* Pointer to the counter group class */
const struct rate_ctr_group_desc *desc;
- /* The name prefix generated from desc->group_prefix_fmt and index */
- char *name_prefix;
+ /* The index of this ctr_group within its class */
+ unsigned int idx;
/* Actual counter structures below */
struct rate_ctr ctr[0];
};