aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-01-09 12:00:17 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2023-01-11 12:51:38 +0100
commitfd9e82da3129644a2dd5b79ca7548daf65f9ddb4 (patch)
tree23cfb23d7201ca9e87d3545ba708f6af90d4023d
parentf2307c483f6c2ac7d2fac6430092b6c4528d585a (diff)
Move sgsn_ctrl_cmds_install() declaration to sgsn.h
sgsn.h is the main header containing all misc app related contents. This is another step towards shrinking gprs_sgsn.h mess. Change-Id: I80e3a68e2e368d8c73135c850e4728bdf6cf5f09
-rw-r--r--include/osmocom/sgsn/gprs_sgsn.h5
-rw-r--r--include/osmocom/sgsn/sgsn.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h
index 3fdf45d58..424e16f3e 100644
--- a/include/osmocom/sgsn/gprs_sgsn.h
+++ b/include/osmocom/sgsn/gprs_sgsn.h
@@ -297,11 +297,6 @@ extern struct llist_head sgsn_mm_ctxts;
uint32_t sgsn_alloc_ptmsi(void);
/*
- * ctrl interface related work
- */
-int sgsn_ctrl_cmds_install(void);
-
-/*
* Authorization/ACL handling
*/
struct imsi_acl_entry {
diff --git a/include/osmocom/sgsn/sgsn.h b/include/osmocom/sgsn/sgsn.h
index a2cfa9c78..c92b25162 100644
--- a/include/osmocom/sgsn/sgsn.h
+++ b/include/osmocom/sgsn/sgsn.h
@@ -162,6 +162,11 @@ struct sgsn_instance {
extern struct sgsn_instance *sgsn;
extern void *tall_sgsn_ctx;
+/*
+ * ctrl interface related work (sgsn_ctrl.c)
+ */
+int sgsn_ctrl_cmds_install(void);
+
/* sgsn_vty.c */
int sgsn_vty_init(struct sgsn_config *cfg);