From 087fcff9a5342f7a10c9f378bd4130f409657001 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 13 May 2010 12:16:17 +0200 Subject: rate_ctr: Store the numeric index as part of 'rate_ctr_group' --- include/osmocore/rate_ctr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/osmocore/rate_ctr.h b/include/osmocore/rate_ctr.h index c6a1ace2..47fd5a36 100644 --- a/include/osmocore/rate_ctr.h +++ b/include/osmocore/rate_ctr.h @@ -49,6 +49,7 @@ struct rate_ctr_group { struct llist_head list; /* Pointer to the counter group class */ const struct rate_ctr_group_desc *desc; + unsigned int idx; /* The name prefix generated from desc->group_prefix_fmt and index */ char *name_prefix; /* Actual counter structures below */ -- cgit v1.2.3