diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-02 14:06:12 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-08 09:39:07 +0200 |
commit | 17214bb06de4a1d8b626dab0f695017b0c74b358 (patch) | |
tree | bafc8bfd8401df8001f9db1104c4997856cf16ac /src/gprs_ms_storage.h | |
parent | befc760f8677d794e5a0dbc1f02f8ac85b649aa0 (diff) |
ms: Add back pointer to BTS
Since more functionality will be moved to the GprsMs class, a pointer
to the current BTS object is added to allow access to configuration
data and other methods.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gprs_ms_storage.h')
-rw-r--r-- | src/gprs_ms_storage.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gprs_ms_storage.h b/src/gprs_ms_storage.h index fff9638b..35526025 100644 --- a/src/gprs_ms_storage.h +++ b/src/gprs_ms_storage.h @@ -26,9 +26,11 @@ #include <stdint.h> #include <stddef.h> +struct BTS; + class GprsMsStorage : public GprsMs::Callback { public: - GprsMsStorage(); + GprsMsStorage(BTS *bts); ~GprsMsStorage(); virtual void ms_idle(class GprsMs *); @@ -38,5 +40,6 @@ public: GprsMs *create_ms(uint32_t tlli, enum gprs_rlcmac_tbf_direction dir); private: + BTS *m_bts; LListHead<GprsMs> m_list; }; |