aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-26 17:56:15 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:11 +0100
commitaf8094d7995daccd5255b6f7450c3faef6409ef1 (patch)
treeb1a8ee3b6228200ba758636c2731660b60668162 /src/tbf.h
parentaa9c326d7e78d30ff366402a664eeb052711fd4a (diff)
tbf: Move the handle tineout into the tbf class
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tbf.h b/src/tbf.h
index bf70b2e..5742032 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -102,6 +102,7 @@ struct gprs_rlcmac_tbf {
int rlcmac_diag();
int update();
+ void handle_timeout();
struct llist_head list;
uint32_t state_flags;
@@ -240,9 +241,6 @@ 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);
-
-
inline bool gprs_rlcmac_tbf::state_is(enum gprs_rlcmac_tbf_state rhs) const
{
return state == rhs;