aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2022-07-30 17:13:04 +0700
committerMax <msuraev@sysmocom.de>2022-07-30 18:41:14 +0700
commitf59f9e3917e0d35b70ba8e516e77d2fc825a5b01 (patch)
tree8b58a8353c28ea53d6fdf7bca737e036c5cce74a
parent6973a241a89ce28d635a5102246453490a6e6722 (diff)
cosmetic: use proper name for SMPP handlersmsuraev/smpp
Change-Id: I0d714e927e287a0ea9362008ed050a492510e22b Signed-off-by: Max <msuraev@sysmocom.de>
-rw-r--r--src/libmsc/smpp_openbsc.c8
-rw-r--r--src/libmsc/smpp_smsc.h4
-rw-r--r--src/osmo-msc/msc_main.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/libmsc/smpp_openbsc.c b/src/libmsc/smpp_openbsc.c
index 0a625d740..944427ada 100644
--- a/src/libmsc/smpp_openbsc.c
+++ b/src/libmsc/smpp_openbsc.c
@@ -825,8 +825,8 @@ struct smsc *smsc_from_vty(struct vty *v)
return g_smsc;
}
-/*! \brief Allocate the OpenBSC SMPP interface struct and init VTY. */
-int smpp_openbsc_alloc_init(void *ctx)
+/*! \brief Allocate the OsmoMSC SMPP interface struct and init VTY. */
+int smpp_msc_alloc_init(void *ctx)
{
g_smsc = smpp_smsc_alloc_init(ctx);
if (!g_smsc) {
@@ -837,9 +837,9 @@ int smpp_openbsc_alloc_init(void *ctx)
return smpp_vty_init();
}
-/*! \brief Launch the OpenBSC SMPP interface with the parameters set from VTY.
+/*! \brief Launch the OsmoMSC SMPP interface with the parameters set from VTY.
*/
-int smpp_openbsc_start(struct gsm_network *net)
+int smpp_msc_start(struct gsm_network *net)
{
int rc;
g_smsc->priv = net;
diff --git a/src/libmsc/smpp_smsc.h b/src/libmsc/smpp_smsc.h
index 54a0a92ee..0f564dbc9 100644
--- a/src/libmsc/smpp_smsc.h
+++ b/src/libmsc/smpp_smsc.h
@@ -139,8 +139,8 @@ int smpp_determine_scheme(uint8_t dcs, uint8_t *data_coding, int *mode);
time_t smpp_parse_time_format(const char *vp, time_t *t_now);
-int smpp_openbsc_alloc_init(void *ctx);
-int smpp_openbsc_start(struct gsm_network *net);
+int smpp_msc_alloc_init(void *ctx);
+int smpp_msc_start(struct gsm_network *net);
struct gsm_sms;
struct ran_conn;
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index 0717786e2..c037e3d23 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -612,7 +612,7 @@ int main(int argc, char **argv)
}
#ifdef BUILD_SMPP
- if (smpp_openbsc_alloc_init(tall_msc_ctx) < 0)
+ if (smpp_msc_alloc_init(tall_msc_ctx) < 0)
return -1;
#endif
sgs_iface_init(tall_msc_ctx, msc_network);
@@ -656,7 +656,7 @@ int main(int argc, char **argv)
* following code until iu_init() is legacy. */
#ifdef BUILD_SMPP
- smpp_openbsc_start(msc_network);
+ smpp_msc_start(msc_network);
#endif
/* start control interface after reading config for