pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-sgsn/+/30900 )
Change subject: Move sgsn_ctrl_cmds_install() declaration to sgsn.h
......................................................................
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
---
M include/osmocom/sgsn/gprs_sgsn.h
M include/osmocom/sgsn/sgsn.h
2 files changed, 5 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/00/30900/1
diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h
index 3fdf45d..424e16f 100644
--- a/include/osmocom/sgsn/gprs_sgsn.h
+++ b/include/osmocom/sgsn/gprs_sgsn.h
@@ -297,11 +297,6 @@
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 a2cfa9c..c92b251 100644
--- a/include/osmocom/sgsn/sgsn.h
+++ b/include/osmocom/sgsn/sgsn.h
@@ -162,6 +162,11 @@
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);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-sgsn/+/30900
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I80e3a68e2e368d8c73135c850e4728bdf6cf5f09
Gerrit-Change-Number: 30900
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange