open5gs/src/smf/sbi-path.h

56 lines
1.7 KiB
C
Raw Normal View History

2020-05-18 21:00:37 +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/>.
*/
#ifndef SMF_SBI_PATH_H
#define SMF_SBI_PATH_H
#include "nnrf-build.h"
2020-06-17 05:22:28 +00:00
#include "nudm-build.h"
#include "namf-build.h"
#include "gsm-build.h"
2020-05-18 21:00:37 +00:00
#ifdef __cplusplus
extern "C" {
#endif
int smf_sbi_open(void);
void smf_sbi_close(void);
2020-06-04 18:12:05 +00:00
void smf_sbi_setup_client_callback(ogs_sbi_nf_instance_t *nf_instance);
2020-06-17 05:22:28 +00:00
void smf_sbi_send(smf_sess_t *sess, ogs_sbi_nf_instance_t *nf_instance);
void smf_sbi_discover_and_send(
OpenAPI_nf_type_e nf_type, smf_sess_t *sess, void *data,
ogs_sbi_request_t *(*build)(smf_sess_t *sess, void *data));
void smf_sbi_send_sm_context_create_error(
ogs_sbi_session_t *session,
int status, const char *title, const char *detail,
ogs_pkbuf_t *n1smbuf);
2020-06-22 03:07:14 +00:00
void smf_sbi_send_sm_context_updated_data(smf_sess_t *sess);
2020-06-17 05:22:28 +00:00
void smf_sbi_send_sm_context_update_error(
ogs_sbi_session_t *session,
int status, const char *title, const char *detail,
ogs_pkbuf_t *n2smbuf);
2020-05-18 21:00:37 +00:00
#ifdef __cplusplus
}
#endif
#endif /* SMF_SBI_PATH_H */