open5gs/lib/app/ogs-app.h

105 lines
2.2 KiB
C
Raw Normal View History

2019-04-27 14:54:30 +00:00
/*
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
2019-09-13 12:07:47 +00:00
#ifndef OGS_APP_H
#define OGS_APP_H
2017-03-23 11:57:55 +00:00
2022-08-26 01:57:11 +00:00
#include "proto/ogs-proto.h"
2019-09-13 12:07:47 +00:00
#define OGS_APP_INSIDE
extern int __ogs_app_domain;
#include "app/ogs-yaml.h"
#include "app/ogs-context.h"
#include "app/ogs-config.h"
2019-09-13 12:07:47 +00:00
#include "app/ogs-init.h"
#undef OGS_APP_INSIDE
#undef OGS_LOG_DOMAIN
#define OGS_LOG_DOMAIN __ogs_app_domain
2017-03-23 11:57:55 +00:00
#ifdef __cplusplus
extern "C" {
2019-06-11 09:28:25 +00:00
#endif
2017-03-23 11:57:55 +00:00
int app_initialize(const char *const argv[]);
2019-09-13 12:07:47 +00:00
void app_terminate(void);
int mme_initialize(void);
2019-09-13 12:07:47 +00:00
void mme_terminate(void);
int hss_initialize(void);
2019-09-13 12:07:47 +00:00
void hss_terminate(void);
2017-03-26 15:48:33 +00:00
int sgw_initialize(void);
2019-09-13 12:07:47 +00:00
void sgw_terminate(void);
2018-01-09 07:37:05 +00:00
2020-08-13 00:31:22 +00:00
int sgwc_initialize(void);
void sgwc_terminate(void);
int sgwu_initialize(void);
void sgwu_terminate(void);
int pgw_initialize(void);
2019-09-13 12:07:47 +00:00
void pgw_terminate(void);
2017-12-07 04:27:17 +00:00
int pcrf_initialize(void);
2019-09-13 12:07:47 +00:00
void pcrf_terminate(void);
2017-03-23 11:57:55 +00:00
2020-05-18 21:00:37 +00:00
int nrf_initialize(void);
void nrf_terminate(void);
2020-06-04 18:12:05 +00:00
int udr_initialize(void);
void udr_terminate(void);
int udm_initialize(void);
void udm_terminate(void);
int ausf_initialize(void);
void ausf_terminate(void);
2020-12-11 19:03:20 +00:00
int pcf_initialize(void);
void pcf_terminate(void);
int nssf_initialize(void);
void nssf_terminate(void);
int bsf_initialize(void);
void bsf_terminate(void);
2020-05-25 16:15:22 +00:00
int upf_initialize(void);
void upf_terminate(void);
2020-04-26 19:36:05 +00:00
int smf_initialize(void);
void smf_terminate(void);
2020-05-25 16:15:22 +00:00
int amf_initialize(void);
void amf_terminate(void);
2020-04-26 19:36:05 +00:00
int scp_initialize(void);
void scp_terminate(void);
2017-03-23 11:57:55 +00:00
#ifdef __cplusplus
}
2019-06-11 09:28:25 +00:00
#endif
2017-03-23 11:57:55 +00:00
2019-09-13 12:07:47 +00:00
#endif /* OGS_APP_H */