path: root/src/tbf.h
diff options
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-16 18:09:19 +0200
committerIvan Kluchnikov <kluchnikovi@gmail.com>2013-10-28 12:53:49 +0400
commit7380babdba39faa090e5dff442e2afbeec202c16 (patch)
tree823f3d948455e1b31136c61936d4467461f4b71f /src/tbf.h
parent0946f99b08f0f8dd08f42be4e9b2ed0b70e8500b (diff)
tbf: Move the tbf_timer_cb into the tbf class
Introduce the first instance method for printing out diagonistic about itself and create a jump function for it.
Diffstat (limited to 'src/tbf.h')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 74df237..d2aead2 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -91,6 +91,7 @@ struct gprs_rlcmac_tbf {
static void free_all(struct gprs_rlcmac_trx *trx);
static void free_all(struct gprs_rlcmac_pdch *pdch);
+ int rlcmac_diag();
struct llist_head list;
enum gprs_rlcmac_tbf_state state;
@@ -229,3 +230,5 @@ void tbf_timer_start(struct gprs_rlcmac_tbf *tbf, unsigned int T,
void tbf_timer_stop(struct gprs_rlcmac_tbf *tbf);
+void tbf_timer_cb(void *_tbf);