cosmetic: use proper name for SMPP handlers

Change-Id: I0d714e927e287a0ea9362008ed050a492510e22b
Signed-off-by: Max <msuraev@sysmocom.de>
This commit is contained in:
Max 2022-08-01 23:47:20 +07:00
parent e1d147dc0a
commit 90f545bb29
3 changed files with 8 additions and 8 deletions

View File

@ -73,5 +73,5 @@ void esme_read_state_reset(struct esme *esme);
int esme_write_callback(struct esme *esme, int fd, struct msgb *msg);
int esme_read_callback(struct esme *esme, int fd);
int pack_and_send(struct esme *esme, uint32_t type, void *ptr);
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);

View File

@ -824,8 +824,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) {
@ -836,9 +836,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;

View File

@ -608,7 +608,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);
@ -652,7 +652,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