aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/osmo_msc.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-10 02:17:14 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-16 15:32:34 +0100
commit78fc746b10755a645d8d1b52bdcca88fa492f32c (patch)
treeb01e115a4b3f6558fdde894c4bb1d5625d236b26 /openbsc/include/openbsc/osmo_msc.h
parent952c9b033c5a1b264b41aa16fb0cfeb5db6d361b (diff)
Reinstate msc subscriber conn ref counting
Indeed the easiest way of ensuring all code paths can cause conn discarding while still all code paths can check on whether a conn needs to be discarded. Change-Id: I641fe36d9fa2077e3caf63cc583aaa380603bff0
Diffstat (limited to 'openbsc/include/openbsc/osmo_msc.h')
-rw-r--r--openbsc/include/openbsc/osmo_msc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/openbsc/include/openbsc/osmo_msc.h b/openbsc/include/openbsc/osmo_msc.h
index 8bdb62300..8d25f79d8 100644
--- a/openbsc/include/openbsc/osmo_msc.h
+++ b/openbsc/include/openbsc/osmo_msc.h
@@ -59,13 +59,13 @@ void msc_subscr_conn_init(void);
struct bsc_api *msc_bsc_api();
-#define subscr_con_get(conn) _subscr_con_get(conn, __BASE_FILE__, __LINE__)
+#define msc_conn_get(conn) _msc_conn_get(conn, __BASE_FILE__, __LINE__)
struct gsm_subscriber_connection *
-_subscr_con_get(struct gsm_subscriber_connection *conn,
- const char *file, int line);
-#define subscr_con_put(conn) _subscr_con_put(conn, __BASE_FILE__, __LINE__)
-void _subscr_con_put(struct gsm_subscriber_connection *conn, const char *file,
- int line);
+_msc_conn_get(struct gsm_subscriber_connection *conn,
+ const char *file, int line);
+#define msc_conn_put(conn) _msc_conn_put(conn, __BASE_FILE__, __LINE__)
+void _msc_conn_put(struct gsm_subscriber_connection *conn, const char *file,
+ int line);
int msc_create_conn_fsm(struct gsm_subscriber_connection *conn, const char *id);