open5gs/src/pcrf/pcrf-fd-path.h

49 lines
1.3 KiB
C
Raw Permalink Normal View History

2019-07-11 13:22:22 +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 PCRF_FD_PATH_H
#define PCRF_FD_PATH_H
2017-08-22 15:51:57 +00:00
#ifdef __cplusplus
extern "C" {
2019-07-11 13:22:22 +00:00
#endif
2017-08-22 15:51:57 +00:00
2018-01-09 13:53:09 +00:00
struct sess_state;
2019-09-13 12:07:47 +00:00
typedef struct ogs_diam_rx_message_s ogs_diam_rx_message_t;
2018-01-09 13:53:09 +00:00
2019-04-27 14:54:30 +00:00
int pcrf_fd_init(void);
void pcrf_fd_final(void);
2017-08-22 15:51:57 +00:00
2019-04-27 14:54:30 +00:00
int pcrf_gx_init(void);
void pcrf_gx_final(void);
int pcrf_rx_init(void);
void pcrf_rx_final(void);
2019-04-27 14:54:30 +00:00
int pcrf_gx_send_rar(
2019-09-13 12:07:47 +00:00
uint8_t *gx_sid, uint8_t *rx_sid, ogs_diam_rx_message_t *rx_message);
2019-04-27 14:54:30 +00:00
int pcrf_rx_send_asr(
uint8_t *rx_sid, uint32_t abort_cause);
2018-01-09 13:53:09 +00:00
2017-08-22 15:51:57 +00:00
#ifdef __cplusplus
}
2019-07-11 13:22:22 +00:00
#endif
2017-08-22 15:51:57 +00:00
2019-07-11 13:22:22 +00:00
#endif /* PCRF_FD_PATH_H */
2017-08-22 15:51:57 +00:00