aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-27 16:39:36 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:13 +0100
commitbd449f57a7914f3929a6b5be1cb31271db2ed1c0 (patch)
treee0ff7c89b8684f6e7427a622ee050c44d27e8c3b /src/tbf.h
parent870c601f1d7079ee1d0a1bf2a1bc1ccccbe4327b (diff)
tbf: Create tbf_name and use it in log statements
This is like gsm_lchan_name and should be used in log statements. This way we can easily change the information that is printed and we know how to search things. The other part is that direct use of tfi/tlli is removed which will allow us to make them private and at the same time start to resolve the "tlli" updated in many places. Not old log statements are changed yet. This will done whenever a bad log statement is seen on the console...
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 e6981bce..83b36487 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -257,3 +257,5 @@ inline void gprs_rlcmac_tbf::set_state(enum gprs_rlcmac_tbf_state new_state)
{
state = new_state;
}
+
+const char *tbf_name(gprs_rlcmac_tbf *tbf);