mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 23:37:22 +00:00
update it
This commit is contained in:
parent
0368486b0d
commit
d08911d23e
5 changed files with 30 additions and 89 deletions
|
|
@ -21,7 +21,7 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/lib/core/include
|
||||
|
||||
AM_CFLAGS = \
|
||||
-Wall -Werror -Wno-unused -DSYSCONFDIR=\"$(sysconfdir)/\"
|
||||
-Wall -Werror -DSYSCONFDIR=\"$(sysconfdir)/\"
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
MOSTLYCLEANFILES = *.stackdump
|
||||
|
|
|
|||
|
|
@ -66,47 +66,7 @@ error:
|
|||
return CORE_ERROR;
|
||||
}
|
||||
|
||||
status_t s6a_fd_hss_init()
|
||||
{
|
||||
status_t rv;
|
||||
int ret;
|
||||
|
||||
rv = s6a_fd_init(s6a_fd_hss_config());
|
||||
if (rv != CORE_OK)
|
||||
{
|
||||
d_error("s6a_fd_init() failed");
|
||||
return rv;
|
||||
}
|
||||
|
||||
CHECK_FCT_DO( fd_core_wait_shutdown_complete(), return CORE_ERROR; );
|
||||
|
||||
return CORE_OK;
|
||||
}
|
||||
|
||||
void s6a_fd_hss_final()
|
||||
{
|
||||
int ret;
|
||||
|
||||
s6a_app_final();
|
||||
|
||||
CHECK_FCT_DO( fd_core_shutdown(), d_error("fd_core_shutdown() failed") );
|
||||
}
|
||||
|
||||
status_t s6a_fd_mme_init()
|
||||
{
|
||||
status_t rv;
|
||||
|
||||
rv = s6a_fd_init(s6a_fd_mme_config());
|
||||
if (rv != CORE_OK)
|
||||
{
|
||||
d_error("s6a_fd_init() failed");
|
||||
return rv;
|
||||
}
|
||||
|
||||
return CORE_OK;
|
||||
}
|
||||
|
||||
void s6a_fd_mme_final()
|
||||
void s6a_fd_final()
|
||||
{
|
||||
s6a_app_final();
|
||||
|
||||
|
|
|
|||
|
|
@ -27,14 +27,12 @@ struct s6a_fd_config_t {
|
|||
|
||||
extern struct s6a_fd_config_t *s6a_fd_config;
|
||||
|
||||
CORE_DECLARE(status_t) s6a_fd_hss_init();
|
||||
CORE_DECLARE(void) s6a_fd_hss_final();
|
||||
CORE_DECLARE(status_t) s6a_fd_mme_init();
|
||||
CORE_DECLARE(void) s6a_fd_mme_final();
|
||||
CORE_DECLARE(status_t) s6a_fd_init(const char *conffile);
|
||||
CORE_DECLARE(void) s6a_fd_final();
|
||||
|
||||
CORE_DECLARE(status_t) s6a_fd_config_apply();
|
||||
CORE_DECLARE(char *) s6a_fd_hss_config();
|
||||
CORE_DECLARE(char *) s6a_fd_mme_config();
|
||||
CORE_DECLARE(status_t) s6a_fd_config_apply();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue