From 363130f3a19b6c7bfce7e694ea6167ed94834df5 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 3 Jul 2017 10:42:42 +0200 Subject: gsm_utils: Add osmo_dump_gsmtime Used by osmo-bts, moved from osmo-bts l1sap.c:dump_gsmtime. Change-Id: Ib5452e2c20f53006c0f6d197fb055728947125d8 --- include/osmocom/gsm/gsm_utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/osmocom/gsm/gsm_utils.h b/include/osmocom/gsm/gsm_utils.h index 998f681e..a879d33c 100644 --- a/include/osmocom/gsm/gsm_utils.h +++ b/include/osmocom/gsm/gsm_utils.h @@ -168,6 +168,9 @@ void gsm_fn2gsmtime(struct gsm_time *time, uint32_t fn); /* Convert from GSM time to frame number */ uint32_t gsm_gsmtime2fn(struct gsm_time *time); +/* Returns static buffer with string representation of a GSM Time */ +char *osmo_dump_gsmtime(const struct gsm_time *tm); + /* GSM TS 03.03 Chapter 2.6 */ enum gprs_tlli_type { TLLI_LOCAL, -- cgit v1.2.3