diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-05-15 17:41:15 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-05-15 17:41:15 +0200 |
commit | ad92f0835341330097f4be62ee2257abcd69977c (patch) | |
tree | 213a321157d589b09584b78e41fc0e89aedbc468 /src/shared/libosmocore/include/osmocom/gsm/gsm0411_utils.h | |
parent | fcbe7fefbb7c66e2f917fca4af59204bc8ff0a7e (diff) |
remove old, outdated copy of libosmocore
Change-Id: I8dc5adc9e9249577bd824a9d85a80003c53949e0
Diffstat (limited to 'src/shared/libosmocore/include/osmocom/gsm/gsm0411_utils.h')
-rw-r--r-- | src/shared/libosmocore/include/osmocom/gsm/gsm0411_utils.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/shared/libosmocore/include/osmocom/gsm/gsm0411_utils.h b/src/shared/libosmocore/include/osmocom/gsm/gsm0411_utils.h deleted file mode 100644 index d29ca631..00000000 --- a/src/shared/libosmocore/include/osmocom/gsm/gsm0411_utils.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef _GSM0411_UTILS_H -#define _GSM0411_UTILS_H - -/* Turn int into semi-octet representation: 98 => 0x89 */ -uint8_t gsm411_bcdify(uint8_t value); - -/* Turn semi-octet representation into int: 0x89 => 98 */ -uint8_t gsm411_unbcdify(uint8_t value); - -struct msgb *gsm411_msgb_alloc(void); - -/* Generate 03.40 TP-SCTS */ -void gsm340_gen_scts(uint8_t *scts, time_t time); - -/* Decode 03.40 TP-SCTS (into utc/gmt timestamp) */ -time_t gsm340_scts(uint8_t *scts); - -/* decode validity period. return minutes */ -unsigned long gsm340_validity_period(uint8_t sms_vpf, uint8_t *sms_vp); - -/* determine coding alphabet dependent on GSM 03.38 Section 4 DCS */ -enum sms_alphabet gsm338_get_sms_alphabet(uint8_t dcs); - -/* generate a TPDU address field compliant with 03.40 sec. 9.1.2.5 */ -int gsm340_gen_oa(uint8_t *oa, unsigned int oa_len, uint8_t type, - uint8_t plan, const char *number); - -/* Prefix msg with a RP header */ -int gsm411_push_rp_header(struct msgb *msg, uint8_t rp_msg_type, - uint8_t rp_msg_ref); - -/* Prefix msg with a 04.08/04.11 CP header */ -int gsm411_push_cp_header(struct msgb *msg, uint8_t proto, uint8_t trans, - uint8_t msg_type); - -#endif /* _GSM0411_UTILS_H */ |