diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-13 11:45:07 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-13 11:45:07 +0200 |
commit | f2b4cd7b866286b905271283f3646a325417760a (patch) | |
tree | 4ff1287a99734d57a63fb64f524fa168ab2d2ee2 /openbsc/include/openbsc/db.h | |
parent | 0ab535bfc391a6f53b13a565bfe9464e77045165 (diff) |
[GPRS] NS: Start to use rate_ctr_group code from libosmocore
Every NS-VC now has a set of counters for incoming and outgoing
number of packets and bytes.
We also split the VTY part of the gprs_ns.c implementation into gprs_ns_vty.c
to make sure the protocol can actually be used without the VTY code being
present.
Diffstat (limited to 'openbsc/include/openbsc/db.h')
-rw-r--r-- | openbsc/include/openbsc/db.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/db.h b/openbsc/include/openbsc/db.h index d0a1278ef..1782efb50 100644 --- a/openbsc/include/openbsc/db.h +++ b/openbsc/include/openbsc/db.h @@ -66,6 +66,9 @@ int db_apdu_blob_store(struct gsm_subscriber *subscr, u_int8_t *apdu); /* Statistics counter storage */ +struct counter; int db_store_counter(struct counter *ctr); +struct rate_ctr_group; +int db_store_rate_ctr_group(struct rate_ctr_group *ctrg); #endif /* _DB_H */ |