aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorIvan Kluchnikov <kluchnikovi@gmail.com>2015-12-21 12:05:56 +0300
committerIvan Kluchnikov <kluchnikovi@gmail.com>2017-02-07 18:59:55 +0300
commit8bb11c90fcb333de65f5bdbbe0787ba93a1c9a82 (patch)
tree6163edbf73d96e25189113b104e851acf97a718e /openbsc/include
parent933de8cb4869be89fe213b7a287da19c858e83c9 (diff)
trans: Add new parameter message reference for SMS and function for finding transaction by this reference
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/transaction.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/transaction.h b/openbsc/include/openbsc/transaction.h
index 6890f14ae..1cf0874f7 100644
--- a/openbsc/include/openbsc/transaction.h
+++ b/openbsc/include/openbsc/transaction.h
@@ -32,6 +32,9 @@ struct gsm_trans {
/* reference from MNCC or other application */
uint32_t callref;
+ /* SMS RP message reference */
+ uint8_t msg_ref;
+
/* if traffic channel receive was requested */
int tch_recv;
@@ -70,6 +73,8 @@ struct gsm_trans *trans_find_by_id(struct gsm_subscriber_connection *conn,
uint8_t proto, uint8_t trans_id);
struct gsm_trans *trans_find_by_callref(struct gsm_network *net,
uint32_t callref);
+struct gsm_trans *trans_find_by_msgref(struct gsm_subscriber_connection *conn,
+ uint8_t msg_ref);
struct gsm_trans *trans_alloc(struct gsm_network *net,
struct gsm_subscriber *subscr,