aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-12-02 14:22:53 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-12-09 08:59:29 +0100
commitaf792d6bb272e14585d26c6c488d592b20fcf9c4 (patch)
treea349db09e222a2235d3e8edd06aded648680cf08 /openbsc/include
parent8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a (diff)
msc: Add net parameter to trans_alloc
The trans_alloc function still uses the subscr object to access the network object. This patch adds an explicit net parameter to this function and removes the access to subscr to obtain it. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/transaction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/transaction.h b/openbsc/include/openbsc/transaction.h
index 795b9cd49..82891b8b3 100644
--- a/openbsc/include/openbsc/transaction.h
+++ b/openbsc/include/openbsc/transaction.h
@@ -66,7 +66,8 @@ struct gsm_trans *trans_find_by_id(struct gsm_subscriber_connection *conn,
struct gsm_trans *trans_find_by_callref(struct gsm_network *net,
uint32_t callref);
-struct gsm_trans *trans_alloc(struct gsm_subscriber *subscr,
+struct gsm_trans *trans_alloc(struct gsm_network *net,
+ struct gsm_subscriber *subscr,
uint8_t protocol, uint8_t trans_id,
uint32_t callref);
void trans_free(struct gsm_trans *trans);