[NRF] Fixed library load error
This commit is contained in:
parent
83a20b82c7
commit
9b10d70c77
|
@ -1,5 +1,3 @@
|
||||||
db_uri: mongodb://localhost/open5gs
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# logger:
|
# logger:
|
||||||
#
|
#
|
||||||
|
|
|
@ -38,11 +38,11 @@ libapp = library('ogsapp',
|
||||||
version : libogslib_version,
|
version : libogslib_version,
|
||||||
c_args : '-DOGS_APP_COMPILATION',
|
c_args : '-DOGS_APP_COMPILATION',
|
||||||
include_directories : [libapp_inc, libinc],
|
include_directories : [libapp_inc, libinc],
|
||||||
dependencies : [libproto_dep, yaml_dep],
|
dependencies : [libcore_dep, yaml_dep],
|
||||||
install : true)
|
install : true)
|
||||||
|
|
||||||
libapp_dep = declare_dependency(
|
libapp_dep = declare_dependency(
|
||||||
link_with : libapp,
|
link_with : libapp,
|
||||||
include_directories : [libapp_inc, libinc],
|
include_directories : [libapp_inc, libinc],
|
||||||
dependencies : [libproto_dep, yaml_dep],
|
dependencies : [libcore_dep, yaml_dep],
|
||||||
)
|
)
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef OGS_APP_H
|
#ifndef OGS_APP_H
|
||||||
#define OGS_APP_H
|
#define OGS_APP_H
|
||||||
|
|
||||||
#include "ogs-proto.h"
|
#include "proto/ogs-proto.h"
|
||||||
|
|
||||||
#define OGS_APP_INSIDE
|
#define OGS_APP_INSIDE
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ int get_asn1c_environment_version(void); /* Run-time version */
|
||||||
#define REALLOC(oldptr, size) realloc(oldptr, size)
|
#define REALLOC(oldptr, size) realloc(oldptr, size)
|
||||||
#define FREEMEM(ptr) free(ptr)
|
#define FREEMEM(ptr) free(ptr)
|
||||||
#else
|
#else
|
||||||
#include "ogs-proto.h"
|
#include "proto/ogs-proto.h"
|
||||||
|
|
||||||
static ogs_inline void *ogs_asn_malloc(size_t size, const char *file_line)
|
static ogs_inline void *ogs_asn_malloc(size_t size, const char *file_line)
|
||||||
{
|
{
|
||||||
|
|
|
@ -171,10 +171,10 @@ libasn1c_common = library('ogsasn1c-common',
|
||||||
version : libogslib_version,
|
version : libogslib_version,
|
||||||
c_args : libasn1c_common_cc_flags,
|
c_args : libasn1c_common_cc_flags,
|
||||||
include_directories : libasn1c_common_inc,
|
include_directories : libasn1c_common_inc,
|
||||||
dependencies : libproto_dep,
|
dependencies : libcore_dep,
|
||||||
install : true)
|
install : true)
|
||||||
|
|
||||||
libasn1c_common_dep = declare_dependency(
|
libasn1c_common_dep = declare_dependency(
|
||||||
link_with : libasn1c_common,
|
link_with : libasn1c_common,
|
||||||
include_directories : libasn1c_common_inc,
|
include_directories : libasn1c_common_inc,
|
||||||
dependencies : libproto_dep)
|
dependencies : libcore_dep)
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef OGS_CRYPT_H
|
#ifndef OGS_CRYPT_H
|
||||||
#define OGS_CRYPT_H
|
#define OGS_CRYPT_H
|
||||||
|
|
||||||
#include "ogs-proto.h"
|
#include "proto/ogs-proto.h"
|
||||||
|
|
||||||
#define OGS_CRYPT_INSIDE
|
#define OGS_CRYPT_INSIDE
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,7 @@
|
||||||
#ifndef OGS_DBI_H
|
#ifndef OGS_DBI_H
|
||||||
#define OGS_DBI_H
|
#define OGS_DBI_H
|
||||||
|
|
||||||
#include "ogs-core.h"
|
#include "crypt/ogs-crypt.h"
|
||||||
#include "ogs-crypt.h"
|
|
||||||
|
|
||||||
#define OGS_DBI_INSIDE
|
#define OGS_DBI_INSIDE
|
||||||
|
|
||||||
|
|
|
@ -51,10 +51,10 @@ libdiameter_common = library('ogsdiameter-common',
|
||||||
version : libogslib_version,
|
version : libogslib_version,
|
||||||
c_args : libdiameter_common_cc_flags,
|
c_args : libdiameter_common_cc_flags,
|
||||||
include_directories : [libdiameter_common_inc, libinc],
|
include_directories : [libdiameter_common_inc, libinc],
|
||||||
dependencies : [libproto_dep, libfdcore_dep],
|
dependencies : [libcore_dep, libfdcore_dep],
|
||||||
install : true)
|
install : true)
|
||||||
|
|
||||||
libdiameter_common_dep = declare_dependency(
|
libdiameter_common_dep = declare_dependency(
|
||||||
link_with : libdiameter_common,
|
link_with : libdiameter_common,
|
||||||
include_directories : [libdiameter_common_inc, libinc],
|
include_directories : [libdiameter_common_inc, libinc],
|
||||||
dependencies : [libproto_dep, libfdcore_dep])
|
dependencies : [libcore_dep, libfdcore_dep])
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "ogs-proto.h"
|
#include "proto/ogs-proto.h"
|
||||||
|
|
||||||
#define OGS_DIAMETER_INSIDE
|
#define OGS_DIAMETER_INSIDE
|
||||||
|
|
||||||
|
|
|
@ -56,10 +56,10 @@ libgtp = library('ogsgtp',
|
||||||
version : libogslib_version,
|
version : libogslib_version,
|
||||||
c_args : '-DOGS_GTP_COMPILATION',
|
c_args : '-DOGS_GTP_COMPILATION',
|
||||||
include_directories : [libgtp_inc, libinc],
|
include_directories : [libgtp_inc, libinc],
|
||||||
dependencies : [libcore_dep, libapp_dep, libnas_common_dep],
|
dependencies : [libproto_dep, libipfw_dep, libapp_dep],
|
||||||
install : true)
|
install : true)
|
||||||
|
|
||||||
libgtp_dep = declare_dependency(
|
libgtp_dep = declare_dependency(
|
||||||
link_with : libgtp,
|
link_with : libgtp,
|
||||||
include_directories : [libgtp_inc, libinc],
|
include_directories : [libgtp_inc, libinc],
|
||||||
dependencies : [libcore_dep, libapp_dep, libnas_common_dep])
|
dependencies : [libproto_dep, libipfw_dep, libapp_dep])
|
||||||
|
|
|
@ -20,10 +20,9 @@
|
||||||
#ifndef OGS_GTP_H
|
#ifndef OGS_GTP_H
|
||||||
#define OGS_GTP_H
|
#define OGS_GTP_H
|
||||||
|
|
||||||
#include "ogs-core.h"
|
|
||||||
#include "ipfw/ogs-ipfw.h"
|
#include "ipfw/ogs-ipfw.h"
|
||||||
#include "ogs-app.h"
|
#include "proto/ogs-proto.h"
|
||||||
#include "ogs-nas-common.h"
|
#include "app/ogs-app.h"
|
||||||
|
|
||||||
#define OGS_GTPV1_U_UDP_PORT 2152
|
#define OGS_GTPV1_U_UDP_PORT 2152
|
||||||
#define OGS_GTPV2_C_UDP_PORT 2123
|
#define OGS_GTPV2_C_UDP_PORT 2123
|
||||||
|
|
|
@ -80,10 +80,10 @@ libipfw = library('ogsipfw',
|
||||||
version : libogslib_version,
|
version : libogslib_version,
|
||||||
c_args : ['-include', 'glue.h', ipfw_cc_flags],
|
c_args : ['-include', 'glue.h', ipfw_cc_flags],
|
||||||
include_directories : libipfw_inc,
|
include_directories : libipfw_inc,
|
||||||
dependencies : libproto_dep,
|
dependencies : libcore_dep,
|
||||||
install : true)
|
install : true)
|
||||||
|
|
||||||
libipfw_dep = declare_dependency(
|
libipfw_dep = declare_dependency(
|
||||||
link_with : libipfw,
|
link_with : libipfw,
|
||||||
include_directories : libinc,
|
include_directories : libinc,
|
||||||
dependencies : libproto_dep)
|
dependencies : libcore_dep)
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "ogs-proto.h"
|
#include "proto/ogs-proto.h"
|
||||||
|
|
||||||
typedef struct ogs_ipfw_rule_s {
|
typedef struct ogs_ipfw_rule_s {
|
||||||
uint8_t proto;
|
uint8_t proto;
|
||||||
|
|
|
@ -20,7 +20,7 @@ libmetrics_file_list = '''
|
||||||
context.h
|
context.h
|
||||||
context.c
|
context.c
|
||||||
'''
|
'''
|
||||||
libmetrics_dependencies = [libcore_dep, libapp_dep]
|
libmetrics_dependencies = [libapp_dep]
|
||||||
|
|
||||||
|
|
||||||
metrics_impl_optval = get_option('metrics_impl')
|
metrics_impl_optval = get_option('metrics_impl')
|
||||||
|
|
|
@ -20,8 +20,7 @@
|
||||||
#ifndef OGS_METRICS_H
|
#ifndef OGS_METRICS_H
|
||||||
#define OGS_METRICS_H
|
#define OGS_METRICS_H
|
||||||
|
|
||||||
#include "ogs-core.h"
|
#include "app/ogs-app.h"
|
||||||
#include "ogs-app.h"
|
|
||||||
|
|
||||||
#define OGS_METRICS_INSIDE
|
#define OGS_METRICS_INSIDE
|
||||||
|
|
||||||
|
|
|
@ -28,10 +28,10 @@ libnas_common = library('ogsnas-common',
|
||||||
version : libogslib_version,
|
version : libogslib_version,
|
||||||
c_args : '-DOGS_NAS_COMPILATION',
|
c_args : '-DOGS_NAS_COMPILATION',
|
||||||
include_directories : [libnas_common_inc, libcrypt_inc, libinc],
|
include_directories : [libnas_common_inc, libcrypt_inc, libinc],
|
||||||
dependencies : [libcore_dep, libcrypt_dep],
|
dependencies : libcrypt_dep,
|
||||||
install : true)
|
install : true)
|
||||||
|
|
||||||
libnas_common_dep = declare_dependency(
|
libnas_common_dep = declare_dependency(
|
||||||
link_with : libnas_common,
|
link_with : libnas_common,
|
||||||
include_directories : [libnas_common_inc, libcrypt_inc, libinc],
|
include_directories : [libnas_common_inc, libcrypt_inc, libinc],
|
||||||
dependencies : [libcore_dep, libcrypt_dep])
|
dependencies : libcrypt_dep)
|
||||||
|
|
|
@ -20,8 +20,7 @@
|
||||||
#ifndef OGS_NAS_COMMON_H
|
#ifndef OGS_NAS_COMMON_H
|
||||||
#define OGS_NAS_COMMON_H
|
#define OGS_NAS_COMMON_H
|
||||||
|
|
||||||
#include "ogs-core.h"
|
#include "crypt/ogs-crypt.h"
|
||||||
#include "ogs-crypt.h"
|
|
||||||
|
|
||||||
#define OGS_NAS_INSIDE
|
#define OGS_NAS_INSIDE
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef OGS_NGAP_H
|
#ifndef OGS_NGAP_H
|
||||||
#define OGS_NGAP_H
|
#define OGS_NGAP_H
|
||||||
|
|
||||||
#include "ogs-core.h"
|
#include "core/ogs-core.h"
|
||||||
|
|
||||||
#include "NGAP_AdditionalDLUPTNLInformationForHOItem.h"
|
#include "NGAP_AdditionalDLUPTNLInformationForHOItem.h"
|
||||||
#include "NGAP_AdditionalDLUPTNLInformationForHOList.h"
|
#include "NGAP_AdditionalDLUPTNLInformationForHOList.h"
|
||||||
|
|
|
@ -64,11 +64,11 @@ libpfcp = library('ogspfcp',
|
||||||
version : libogslib_version,
|
version : libogslib_version,
|
||||||
c_args : '-DOGS_PFCP_COMPILATION',
|
c_args : '-DOGS_PFCP_COMPILATION',
|
||||||
include_directories : [libpfcp_inc, libinc],
|
include_directories : [libpfcp_inc, libinc],
|
||||||
dependencies : [libcore_dep, libipfw_dep, libapp_dep, libgtp_dep],
|
dependencies : libgtp_dep,
|
||||||
install_rpath : libdir,
|
install_rpath : libdir,
|
||||||
install : true)
|
install : true)
|
||||||
|
|
||||||
libpfcp_dep = declare_dependency(
|
libpfcp_dep = declare_dependency(
|
||||||
link_with : libpfcp,
|
link_with : libpfcp,
|
||||||
include_directories : [libpfcp_inc, libinc],
|
include_directories : [libpfcp_inc, libinc],
|
||||||
dependencies : [libcore_dep, libipfw_dep, libapp_dep, libgtp_dep])
|
dependencies : libgtp_dep)
|
||||||
|
|
|
@ -20,13 +20,9 @@
|
||||||
#ifndef OGS_PFCP_H
|
#ifndef OGS_PFCP_H
|
||||||
#define OGS_PFCP_H
|
#define OGS_PFCP_H
|
||||||
|
|
||||||
#include "ogs-core.h"
|
|
||||||
|
|
||||||
#include "pfcp/pfcp-config.h"
|
#include "pfcp/pfcp-config.h"
|
||||||
|
|
||||||
#include "ipfw/ogs-ipfw.h"
|
#include "gtp/ogs-gtp.h"
|
||||||
#include "ogs-app.h"
|
|
||||||
#include "ogs-gtp.h"
|
|
||||||
|
|
||||||
#define OGS_PFCP_UDP_PORT 8805
|
#define OGS_PFCP_UDP_PORT 8805
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef OGS_PROTO_H
|
#ifndef OGS_PROTO_H
|
||||||
#define OGS_PROTO_H
|
#define OGS_PROTO_H
|
||||||
|
|
||||||
#include "ogs-core.h"
|
#include "core/ogs-core.h"
|
||||||
|
|
||||||
#define OGS_PROTO_INSIDE
|
#define OGS_PROTO_INSIDE
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef OGS_S1AP_H
|
#ifndef OGS_S1AP_H
|
||||||
#define OGS_S1AP_H
|
#define OGS_S1AP_H
|
||||||
|
|
||||||
#include "ogs-core.h"
|
#include "core/ogs-core.h"
|
||||||
|
|
||||||
#include "S1AP_Additional-GUTI.h"
|
#include "S1AP_Additional-GUTI.h"
|
||||||
#include "S1AP_AdditionalCSFallbackIndicator.h"
|
#include "S1AP_AdditionalCSFallbackIndicator.h"
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-app.h"
|
|
||||||
#include "ogs-sbi.h"
|
#include "ogs-sbi.h"
|
||||||
|
|
||||||
#include "curl/curl.h"
|
#include "curl/curl.h"
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-app.h"
|
|
||||||
#include "ogs-sbi.h"
|
#include "ogs-sbi.h"
|
||||||
|
|
||||||
int __ogs_sbi_domain;
|
int __ogs_sbi_domain;
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-sbi.h"
|
#include "ogs-sbi.h"
|
||||||
#include "ogs-crypt.h"
|
|
||||||
#include "yuarel.h"
|
#include "yuarel.h"
|
||||||
|
|
||||||
#include "contrib/multipart_parser.h"
|
#include "contrib/multipart_parser.h"
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-app.h"
|
|
||||||
#include "ogs-sbi.h"
|
#include "ogs-sbi.h"
|
||||||
|
|
||||||
#include "microhttpd.h"
|
#include "microhttpd.h"
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-app.h"
|
|
||||||
#include "ogs-sbi.h"
|
#include "ogs-sbi.h"
|
||||||
|
|
||||||
void ogs_sbi_nf_fsm_init(ogs_sbi_nf_instance_t *nf_instance)
|
void ogs_sbi_nf_fsm_init(ogs_sbi_nf_instance_t *nf_instance)
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-app.h"
|
|
||||||
#include "ogs-sbi.h"
|
#include "ogs-sbi.h"
|
||||||
#include "yuarel.h"
|
#include "yuarel.h"
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-sbi.h"
|
#include "ogs-sbi.h"
|
||||||
#include "ogs-app.h"
|
|
||||||
|
|
||||||
OpenAPI_nf_profile_t *ogs_nnrf_nfm_build_nf_profile(void)
|
OpenAPI_nf_profile_t *ogs_nnrf_nfm_build_nf_profile(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-sbi.h"
|
#include "ogs-sbi.h"
|
||||||
#include "ogs-app.h"
|
|
||||||
|
|
||||||
static void handle_smf_info(
|
static void handle_smf_info(
|
||||||
ogs_sbi_nf_instance_t *nf_instance, OpenAPI_smf_info_t *SmfInfo);
|
ogs_sbi_nf_instance_t *nf_instance, OpenAPI_smf_info_t *SmfInfo);
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
#ifndef OGS_SBI_H
|
#ifndef OGS_SBI_H
|
||||||
#define OGS_SBI_H
|
#define OGS_SBI_H
|
||||||
|
|
||||||
#include "ogs-proto.h"
|
#include "crypt/ogs-crypt.h"
|
||||||
|
#include "app/ogs-app.h"
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-sbi.h"
|
#include "ogs-sbi.h"
|
||||||
#include "ogs-app.h"
|
|
||||||
|
|
||||||
bool ogs_sbi_send_request(ogs_sbi_nf_instance_t *nf_instance,
|
bool ogs_sbi_send_request(ogs_sbi_nf_instance_t *nf_instance,
|
||||||
ogs_sbi_client_cb_f client_cb, ogs_sbi_xact_t *xact)
|
ogs_sbi_client_cb_f client_cb, ogs_sbi_xact_t *xact)
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-app.h"
|
|
||||||
#include "ogs-sbi.h"
|
#include "ogs-sbi.h"
|
||||||
|
|
||||||
extern const ogs_sbi_server_actions_t ogs_mhd_server_actions;
|
extern const ogs_sbi_server_actions_t ogs_mhd_server_actions;
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-sbi.h"
|
#include "ogs-sbi.h"
|
||||||
#include "ogs-app.h"
|
|
||||||
|
|
||||||
static void timer_send_event(int timer_id, void *data)
|
static void timer_send_event(int timer_id, void *data)
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef OGS_SCTP_H
|
#ifndef OGS_SCTP_H
|
||||||
#define OGS_SCTP_H
|
#define OGS_SCTP_H
|
||||||
|
|
||||||
#include "ogs-app.h"
|
#include "app/ogs-app.h"
|
||||||
|
|
||||||
#include "sctp/sctp-config.h"
|
#include "sctp/sctp-config.h"
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef OGS_TUN_H
|
#ifndef OGS_TUN_H
|
||||||
#define OGS_TUN_H
|
#define OGS_TUN_H
|
||||||
|
|
||||||
#include "ogs-proto.h"
|
#include "proto/ogs-proto.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -64,8 +64,7 @@ libamf_sources = files('''
|
||||||
|
|
||||||
libamf = static_library('amf',
|
libamf = static_library('amf',
|
||||||
sources : libamf_sources,
|
sources : libamf_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libmetrics_dep,
|
||||||
libmetrics_dep,
|
|
||||||
libsctp_dep,
|
libsctp_dep,
|
||||||
libngap_dep,
|
libngap_dep,
|
||||||
libnas_5gs_dep,
|
libnas_5gs_dep,
|
||||||
|
@ -74,8 +73,7 @@ libamf = static_library('amf',
|
||||||
|
|
||||||
libamf_dep = declare_dependency(
|
libamf_dep = declare_dependency(
|
||||||
link_with : libamf,
|
link_with : libamf,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libmetrics_dep,
|
||||||
libmetrics_dep,
|
|
||||||
libsctp_dep,
|
libsctp_dep,
|
||||||
libngap_dep,
|
libngap_dep,
|
||||||
libnas_5gs_dep,
|
libnas_5gs_dep,
|
||||||
|
|
|
@ -34,15 +34,13 @@ libausf_sources = files('''
|
||||||
|
|
||||||
libausf = static_library('ausf',
|
libausf = static_library('ausf',
|
||||||
sources : libausf_sources,
|
sources : libausf_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libcrypt_dep,
|
||||||
libcrypt_dep,
|
|
||||||
libsbi_dep],
|
libsbi_dep],
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
libausf_dep = declare_dependency(
|
libausf_dep = declare_dependency(
|
||||||
link_with : libausf,
|
link_with : libausf,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libcrypt_dep,
|
||||||
libcrypt_dep,
|
|
||||||
libsbi_dep])
|
libsbi_dep])
|
||||||
|
|
||||||
ausf_sources = files('''
|
ausf_sources = files('''
|
||||||
|
|
|
@ -30,15 +30,13 @@ libbsf_sources = files('''
|
||||||
|
|
||||||
libbsf = static_library('bsf',
|
libbsf = static_library('bsf',
|
||||||
sources : libbsf_sources,
|
sources : libbsf_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libcrypt_dep,
|
||||||
libcrypt_dep,
|
|
||||||
libsbi_dep],
|
libsbi_dep],
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
libbsf_dep = declare_dependency(
|
libbsf_dep = declare_dependency(
|
||||||
link_with : libbsf,
|
link_with : libbsf,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libcrypt_dep,
|
||||||
libcrypt_dep,
|
|
||||||
libsbi_dep])
|
libsbi_dep])
|
||||||
|
|
||||||
bsf_sources = files('''
|
bsf_sources = files('''
|
||||||
|
|
|
@ -32,7 +32,6 @@ libhss_sources = files('''
|
||||||
libhss = static_library('hss',
|
libhss = static_library('hss',
|
||||||
sources : libhss_sources,
|
sources : libhss_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libapp_dep,
|
||||||
libcrypt_dep,
|
|
||||||
libdbi_dep,
|
libdbi_dep,
|
||||||
libdiameter_s6a_dep,
|
libdiameter_s6a_dep,
|
||||||
libdiameter_cx_dep,
|
libdiameter_cx_dep,
|
||||||
|
@ -42,7 +41,6 @@ libhss = static_library('hss',
|
||||||
libhss_dep = declare_dependency(
|
libhss_dep = declare_dependency(
|
||||||
link_with : libhss,
|
link_with : libhss,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libapp_dep,
|
||||||
libcrypt_dep,
|
|
||||||
libdbi_dep,
|
libdbi_dep,
|
||||||
libdiameter_s6a_dep,
|
libdiameter_s6a_dep,
|
||||||
libdiameter_cx_dep,
|
libdiameter_cx_dep,
|
||||||
|
|
|
@ -79,8 +79,7 @@ libmme_sources = files('''
|
||||||
|
|
||||||
libmme = static_library('mme',
|
libmme = static_library('mme',
|
||||||
sources : libmme_sources,
|
sources : libmme_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libmetrics_dep,
|
||||||
libmetrics_dep,
|
|
||||||
libsctp_dep,
|
libsctp_dep,
|
||||||
libs1ap_dep,
|
libs1ap_dep,
|
||||||
libnas_eps_dep,
|
libnas_eps_dep,
|
||||||
|
@ -90,8 +89,7 @@ libmme = static_library('mme',
|
||||||
|
|
||||||
libmme_dep = declare_dependency(
|
libmme_dep = declare_dependency(
|
||||||
link_with : libmme,
|
link_with : libmme,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libmetrics_dep,
|
||||||
libmetrics_dep,
|
|
||||||
libsctp_dep,
|
libsctp_dep,
|
||||||
libs1ap_dep,
|
libs1ap_dep,
|
||||||
libnas_eps_dep,
|
libnas_eps_dep,
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ogs-dbi.h"
|
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
|
|
||||||
static nrf_context_t self;
|
static nrf_context_t self;
|
||||||
|
@ -33,7 +32,6 @@ void nrf_context_init(void)
|
||||||
/* Initialize NRF context */
|
/* Initialize NRF context */
|
||||||
memset(&self, 0, sizeof(nrf_context_t));
|
memset(&self, 0, sizeof(nrf_context_t));
|
||||||
|
|
||||||
ogs_log_install_domain(&__ogs_dbi_domain, "dbi", ogs_core()->log.level);
|
|
||||||
ogs_log_install_domain(&__nrf_log_domain, "nrf", ogs_core()->log.level);
|
ogs_log_install_domain(&__nrf_log_domain, "nrf", ogs_core()->log.level);
|
||||||
|
|
||||||
context_initialized = 1;
|
context_initialized = 1;
|
||||||
|
|
|
@ -32,16 +32,12 @@ libnrf_sources = files('''
|
||||||
|
|
||||||
libnrf = static_library('nrf',
|
libnrf = static_library('nrf',
|
||||||
sources : libnrf_sources,
|
sources : libnrf_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : libsbi_dep,
|
||||||
libdbi_dep,
|
|
||||||
libsbi_dep],
|
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
libnrf_dep = declare_dependency(
|
libnrf_dep = declare_dependency(
|
||||||
link_with : libnrf,
|
link_with : libnrf,
|
||||||
dependencies : [libapp_dep,
|
dependencies : libsbi_dep)
|
||||||
libdbi_dep,
|
|
||||||
libsbi_dep])
|
|
||||||
|
|
||||||
nrf_sources = files('''
|
nrf_sources = files('''
|
||||||
app.c
|
app.c
|
||||||
|
|
|
@ -29,14 +29,12 @@ libnssf_sources = files('''
|
||||||
|
|
||||||
libnssf = static_library('nssf',
|
libnssf = static_library('nssf',
|
||||||
sources : libnssf_sources,
|
sources : libnssf_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : libsbi_dep,
|
||||||
libsbi_dep],
|
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
libnssf_dep = declare_dependency(
|
libnssf_dep = declare_dependency(
|
||||||
link_with : libnssf,
|
link_with : libnssf,
|
||||||
dependencies : [libapp_dep,
|
dependencies : libsbi_dep)
|
||||||
libsbi_dep])
|
|
||||||
|
|
||||||
nssf_sources = files('''
|
nssf_sources = files('''
|
||||||
app.c
|
app.c
|
||||||
|
|
|
@ -43,17 +43,13 @@ libpcf_sources = files('''
|
||||||
|
|
||||||
libpcf = static_library('pcf',
|
libpcf = static_library('pcf',
|
||||||
sources : libpcf_sources,
|
sources : libpcf_sources,
|
||||||
dependencies : [libcrypt_dep,
|
dependencies : [libdbi_dep,
|
||||||
libapp_dep,
|
|
||||||
libdbi_dep,
|
|
||||||
libsbi_dep],
|
libsbi_dep],
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
libpcf_dep = declare_dependency(
|
libpcf_dep = declare_dependency(
|
||||||
link_with : libpcf,
|
link_with : libpcf,
|
||||||
dependencies : [libcrypt_dep,
|
dependencies : [libdbi_dep,
|
||||||
libapp_dep,
|
|
||||||
libdbi_dep,
|
|
||||||
libsbi_dep])
|
libsbi_dep])
|
||||||
|
|
||||||
pcf_sources = files('''
|
pcf_sources = files('''
|
||||||
|
|
|
@ -30,15 +30,13 @@ libscp_sources = files('''
|
||||||
|
|
||||||
libscp = static_library('scp',
|
libscp = static_library('scp',
|
||||||
sources : libscp_sources,
|
sources : libscp_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libcrypt_dep,
|
||||||
libcrypt_dep,
|
|
||||||
libsbi_dep],
|
libsbi_dep],
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
libscp_dep = declare_dependency(
|
libscp_dep = declare_dependency(
|
||||||
link_with : libscp,
|
link_with : libscp,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libcrypt_dep,
|
||||||
libcrypt_dep,
|
|
||||||
libsbi_dep])
|
libsbi_dep])
|
||||||
|
|
||||||
scp_sources = files('''
|
scp_sources = files('''
|
||||||
|
|
|
@ -45,16 +45,12 @@ libsgwc_sources = files('''
|
||||||
|
|
||||||
libsgwc = static_library('sgwc',
|
libsgwc = static_library('sgwc',
|
||||||
sources : libsgwc_sources,
|
sources : libsgwc_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : libpfcp_dep,
|
||||||
libgtp_dep,
|
|
||||||
libpfcp_dep],
|
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
libsgwc_dep = declare_dependency(
|
libsgwc_dep = declare_dependency(
|
||||||
link_with : libsgwc,
|
link_with : libsgwc,
|
||||||
dependencies : [libapp_dep,
|
dependencies : libpfcp_dep)
|
||||||
libgtp_dep,
|
|
||||||
libpfcp_dep])
|
|
||||||
|
|
||||||
sgwc_sources = files('''
|
sgwc_sources = files('''
|
||||||
app.c
|
app.c
|
||||||
|
|
|
@ -39,16 +39,12 @@ libsgwu_sources = files('''
|
||||||
|
|
||||||
libsgwu = static_library('sgwu',
|
libsgwu = static_library('sgwu',
|
||||||
sources : libsgwu_sources,
|
sources : libsgwu_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : libpfcp_dep,
|
||||||
libgtp_dep,
|
|
||||||
libpfcp_dep],
|
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
libsgwu_dep = declare_dependency(
|
libsgwu_dep = declare_dependency(
|
||||||
link_with : libsgwu,
|
link_with : libsgwu,
|
||||||
dependencies : [libapp_dep,
|
dependencies : libpfcp_dep)
|
||||||
libgtp_dep,
|
|
||||||
libpfcp_dep])
|
|
||||||
|
|
||||||
sgwu_sources = files('''
|
sgwu_sources = files('''
|
||||||
app.c
|
app.c
|
||||||
|
|
|
@ -110,29 +110,25 @@ libsmf_sources = files('''
|
||||||
|
|
||||||
libsmf = static_library('smf',
|
libsmf = static_library('smf',
|
||||||
sources : libsmf_sources,
|
sources : libsmf_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libmetrics_dep,
|
||||||
libmetrics_dep,
|
|
||||||
libsbi_dep,
|
libsbi_dep,
|
||||||
libngap_dep,
|
libngap_dep,
|
||||||
libnas_5gs_dep,
|
libnas_5gs_dep,
|
||||||
libdiameter_gx_dep,
|
libdiameter_gx_dep,
|
||||||
libdiameter_gy_dep,
|
libdiameter_gy_dep,
|
||||||
libdiameter_s6b_dep,
|
libdiameter_s6b_dep,
|
||||||
libgtp_dep,
|
|
||||||
libpfcp_dep],
|
libpfcp_dep],
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
libsmf_dep = declare_dependency(
|
libsmf_dep = declare_dependency(
|
||||||
link_with : libsmf,
|
link_with : libsmf,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libmetrics_dep,
|
||||||
libmetrics_dep,
|
|
||||||
libsbi_dep,
|
libsbi_dep,
|
||||||
libngap_dep,
|
libngap_dep,
|
||||||
libnas_5gs_dep,
|
libnas_5gs_dep,
|
||||||
libdiameter_gx_dep,
|
libdiameter_gx_dep,
|
||||||
libdiameter_gy_dep,
|
libdiameter_gy_dep,
|
||||||
libdiameter_s6b_dep,
|
libdiameter_s6b_dep,
|
||||||
libgtp_dep,
|
|
||||||
libpfcp_dep])
|
libpfcp_dep])
|
||||||
|
|
||||||
smf_sources = files('''
|
smf_sources = files('''
|
||||||
|
|
|
@ -34,16 +34,12 @@ libudm_sources = files('''
|
||||||
|
|
||||||
libudm = static_library('udm',
|
libudm = static_library('udm',
|
||||||
sources : libudm_sources,
|
sources : libudm_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : libsbi_dep,
|
||||||
libcrypt_dep,
|
|
||||||
libsbi_dep],
|
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
libudm_dep = declare_dependency(
|
libudm_dep = declare_dependency(
|
||||||
link_with : libudm,
|
link_with : libudm,
|
||||||
dependencies : [libapp_dep,
|
dependencies : libsbi_dep)
|
||||||
libcrypt_dep,
|
|
||||||
libsbi_dep])
|
|
||||||
|
|
||||||
udm_sources = files('''
|
udm_sources = files('''
|
||||||
app.c
|
app.c
|
||||||
|
|
|
@ -29,15 +29,13 @@ libudr_sources = files('''
|
||||||
|
|
||||||
libudr = static_library('udr',
|
libudr = static_library('udr',
|
||||||
sources : libudr_sources,
|
sources : libudr_sources,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libdbi_dep,
|
||||||
libdbi_dep,
|
|
||||||
libsbi_dep],
|
libsbi_dep],
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
libudr_dep = declare_dependency(
|
libudr_dep = declare_dependency(
|
||||||
link_with : libudr,
|
link_with : libudr,
|
||||||
dependencies : [libapp_dep,
|
dependencies : [libdbi_dep,
|
||||||
libdbi_dep,
|
|
||||||
libsbi_dep])
|
libsbi_dep])
|
||||||
|
|
||||||
udr_sources = files('''
|
udr_sources = files('''
|
||||||
|
|
|
@ -86,8 +86,6 @@ libarp_nd_dep = declare_dependency(
|
||||||
libupf = static_library('upf',
|
libupf = static_library('upf',
|
||||||
sources : libupf_sources,
|
sources : libupf_sources,
|
||||||
dependencies : [
|
dependencies : [
|
||||||
libapp_dep,
|
|
||||||
libgtp_dep,
|
|
||||||
libpfcp_dep,
|
libpfcp_dep,
|
||||||
libtun_dep,
|
libtun_dep,
|
||||||
libarp_nd_dep,
|
libarp_nd_dep,
|
||||||
|
@ -97,8 +95,6 @@ libupf = static_library('upf',
|
||||||
libupf_dep = declare_dependency(
|
libupf_dep = declare_dependency(
|
||||||
link_with : libupf,
|
link_with : libupf,
|
||||||
dependencies : [
|
dependencies : [
|
||||||
libapp_dep,
|
|
||||||
libgtp_dep,
|
|
||||||
libpfcp_dep,
|
libpfcp_dep,
|
||||||
libtun_dep,
|
libtun_dep,
|
||||||
libarp_nd_dep,
|
libarp_nd_dep,
|
||||||
|
|
Loading…
Reference in New Issue