aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-13 20:45:40 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-19 21:26:43 +0100
commit58db60c68ebf137ae2a886ec3bd1188431c84721 (patch)
tree7f7ad8e152d20fdd338e6ccf0ebeb2df8096d9ee /src/tbf.h
parentc3d5325fc85eba3110f229546bc2b4fe91e3e1c2 (diff)
rlc: Start to move things out of the tbf into the rlc
Add remarks of possible broken behavior inside the tbf routines. Move the preparation (and init) into the new rlc.cpp file.
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index bf5f32d6..e95ed204 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -86,6 +86,8 @@ enum gprs_rlcmac_tbf_direction {
#define GPRS_RLCMAC_FLAG_TO_MASK 0xf0 /* timeout bits */
struct gprs_rlc_data {
+ uint8_t *prepare(size_t block_data_length);
+
/* block history */
uint8_t block[RLC_MAX_LEN];
/* block len of history */