/* * Copyright (C) 2019 by Sukchan Lee * * 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 . */ #ifndef OGS_APP_H #define OGS_APP_H #include "ogs-common.h" #define OGS_APP_INSIDE extern int __ogs_app_domain; #undef OGS_LOG_DOMAIN #define OGS_LOG_DOMAIN __ogs_app_domain #include "app/ogs-yaml.h" #include "app/ogs-config.h" #include "app/ogs-init.h" #undef OGS_APP_INSIDE #undef OGS_LOG_DOMAIN #define OGS_LOG_DOMAIN __ogs_app_domain #ifdef __cplusplus extern "C" { #endif #define OGS_MAX_FILEPATH_LEN 256 /* For testing */ void epc_child_terminate(void); ogs_thread_t *epc_child_create(char *name, char **argv); int app_initialize(char **argv); void app_terminate(void); int mme_initialize(); void mme_terminate(void); int hss_initialize(); void hss_terminate(void); int sgw_initialize(); void sgw_terminate(void); int pgw_initialize(); void pgw_terminate(void); int pcrf_initialize(); void pcrf_terminate(void); #ifdef __cplusplus } #endif #endif /* OGS_APP_H */