commit | 087fcff9a5342f7a10c9f378bd4130f409657001 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Thu May 13 12:16:17 2010 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Thu May 13 12:16:17 2010 +0200 |
tree | 35ec23d57187fe940262be48ca6924f0c66f1d42 | |
parent | 7b45d608872f17ab8b71d53a2d87e5f8d621b007 [diff] [blame] |
rate_ctr: Store the numeric index as part of 'rate_ctr_group'
diff --git a/include/osmocore/rate_ctr.h b/include/osmocore/rate_ctr.h index c6a1ace..47fd5a3 100644 --- a/include/osmocore/rate_ctr.h +++ b/include/osmocore/rate_ctr.h
@@ -49,6 +49,7 @@ 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 */