aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-16 17:53:23 +0200
committerIvan Kluchnikov <kluchnikovi@gmail.com>2013-10-28 12:52:15 +0400
commit964ddb6aa0e5d5875728c657b6bcf51a71788fc7 (patch)
tree40ea7437971296b7a22c0e6ef2602402bfe9ed4e /src/tbf.h
parent9e21d84f1ecde655cda32cf077dbf1a91b395e94 (diff)
tbf: Move the code to close all timeslots into the tbf class
Move the code out of the sysmocom_socket (as this is only required to talk to our hardware) and into the TBF class that actually knows what a TBF is.
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index cf2481de..b73d0b8f 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -87,6 +87,10 @@ extern struct llist_head gprs_rlcmac_sbas; /* list of single block allocs */
struct gprs_rlcmac_tbf {
+
+ static void free_all(struct gprs_rlcmac_trx *trx);
+
+
struct llist_head list;
enum gprs_rlcmac_tbf_state state;
uint32_t state_flags;