summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2019-01-14 19:31:42 +0100
committerMax <msuraev@sysmocom.de>2019-01-14 23:46:34 +0000
commit1bec3908c6c25a0814872ca3c383f5bfe6babbe8 (patch)
tree0c9dd477d819cec1ca787ab628d587f724e2107b /include
parent4fd64e5d93f5f1b5732b8f69293e135fc42910e4 (diff)
LCLS: add GCR comparison helper
Change-Id: I9e3b5560a058b976638d03cb819415d237ae9984
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/gsm/gsm29205.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/gsm/gsm29205.h b/include/osmocom/gsm/gsm29205.h
index 0c3c153e..f93e34a3 100644
--- a/include/osmocom/gsm/gsm29205.h
+++ b/include/osmocom/gsm/gsm29205.h
@@ -39,3 +39,4 @@ struct osmo_gcr_parsed {
uint8_t osmo_enc_gcr(struct msgb *msg, const struct osmo_gcr_parsed *g);
int osmo_dec_gcr(struct osmo_gcr_parsed *gcr, const uint8_t *elem, uint8_t len);
+bool osmo_gcr_eq(const struct osmo_gcr_parsed *gcr1, const struct osmo_gcr_parsed *gcr2);