aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index 9a5b570a..507c79fb 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -106,9 +106,19 @@ public:
struct gprs_rlcmac_bts *bts_data();
+ /** TODO: change the number to unsigned */
+ void set_current_frame_number(int frame_number);
+ int current_frame_number() const;
+
private:
+ int m_cur_fn;
struct gprs_rlcmac_bts m_bts;
};
+
+inline int BTS::current_frame_number() const
+{
+ return m_cur_fn;
+}
#endif
#ifdef __cplusplus