diff options
author | Max <msuraev@sysmocom.de> | 2016-06-17 13:10:38 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-06-18 11:35:12 +0000 |
commit | 61372a20de695a151611753689ee9a3018b101f6 (patch) | |
tree | 7b1b1e69c4c79262eb03806da79457d59cf98020 /include/osmo-bts/msg_utils.h | |
parent | c3fb0dcc8cd01a84942d06267003478b972feadb (diff) |
Move copy-pasted code into common part
Related: OS#1750
Change-Id: Ic4342eaf7e32a0e9a5f2b16dd196a1f5f03152a9
Diffstat (limited to 'include/osmo-bts/msg_utils.h')
-rw-r--r-- | include/osmo-bts/msg_utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/osmo-bts/msg_utils.h b/include/osmo-bts/msg_utils.h index f63c0964..73f8c964 100644 --- a/include/osmo-bts/msg_utils.h +++ b/include/osmo-bts/msg_utils.h @@ -4,6 +4,10 @@ #pragma once +#include <osmo-bts/gsm_data.h> + +#include <stdbool.h> + struct msgb; /** @@ -16,5 +20,8 @@ enum { OML_MSG_TYPE_OSMO, }; +void save_last_sid(struct gsm_lchan *lchan, uint8_t *l1_payload, size_t length, + uint32_t fn, bool update); +bool dtx_sched_optional(struct gsm_lchan *lchan, uint32_t fn); int msg_verify_ipa_structure(struct msgb *msg); int msg_verify_oml_structure(struct msgb *msg); |