mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-21 16:40:31 +00:00
- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
55 lines
3.5 KiB
C
55 lines
3.5 KiB
C
/*
|
|
* SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
|
*/
|
|
|
|
#ifndef OPENAIRINTERFACE_NR_FAPI_P5_UTILS_H
|
|
#define OPENAIRINTERFACE_NR_FAPI_P5_UTILS_H
|
|
#include "stdio.h"
|
|
#include "stdint.h"
|
|
#include "nfapi/open-nFAPI/fapi/inc/nr_fapi.h"
|
|
#include "nfapi/oai_integration/vendor_ext.h"
|
|
|
|
bool eq_param_request(const nfapi_nr_param_request_scf_t *unpacked_req, const nfapi_nr_param_request_scf_t *req);
|
|
bool eq_param_response(const nfapi_nr_param_response_scf_t *unpacked_req, const nfapi_nr_param_response_scf_t *req);
|
|
bool eq_config_request(const nfapi_nr_config_request_scf_t *unpacked_req, const nfapi_nr_config_request_scf_t *req);
|
|
bool eq_config_response(const nfapi_nr_config_response_scf_t *unpacked_req, const nfapi_nr_config_response_scf_t *req);
|
|
bool eq_start_request(const nfapi_nr_start_request_scf_t *unpacked_req, const nfapi_nr_start_request_scf_t *req);
|
|
bool eq_start_response(const nfapi_nr_start_response_scf_t *unpacked_req, const nfapi_nr_start_response_scf_t *req);
|
|
bool eq_stop_request(const nfapi_nr_stop_request_scf_t *unpacked_req, const nfapi_nr_stop_request_scf_t *req);
|
|
bool eq_stop_indication(const nfapi_nr_stop_indication_scf_t *unpacked_req, const nfapi_nr_stop_indication_scf_t *req);
|
|
bool eq_error_indication(const nfapi_nr_error_indication_scf_t *unpacked_req, const nfapi_nr_error_indication_scf_t *req);
|
|
|
|
void free_param_request(nfapi_nr_param_request_scf_t *msg);
|
|
void free_param_response(nfapi_nr_param_response_scf_t *msg);
|
|
void free_config_request(nfapi_nr_config_request_scf_t *msg);
|
|
void free_config_response(nfapi_nr_config_response_scf_t *msg);
|
|
void free_start_request(nfapi_nr_start_request_scf_t *msg);
|
|
void free_start_response(nfapi_nr_start_response_scf_t *msg);
|
|
void free_stop_request(nfapi_nr_stop_request_scf_t *msg);
|
|
void free_stop_indication(nfapi_nr_stop_indication_scf_t *msg);
|
|
void free_error_indication(nfapi_nr_error_indication_scf_t *msg);
|
|
|
|
void copy_param_request(const nfapi_nr_param_request_scf_t *src, nfapi_nr_param_request_scf_t *dst);
|
|
void copy_param_response(const nfapi_nr_param_response_scf_t *src, nfapi_nr_param_response_scf_t *dst);
|
|
void copy_config_request(const nfapi_nr_config_request_scf_t *src, nfapi_nr_config_request_scf_t *dst);
|
|
void copy_config_response(const nfapi_nr_config_response_scf_t *src, nfapi_nr_config_response_scf_t *dst);
|
|
void copy_start_request(const nfapi_nr_start_request_scf_t *src, nfapi_nr_start_request_scf_t *dst);
|
|
void copy_start_response(const nfapi_nr_start_response_scf_t *src, nfapi_nr_start_response_scf_t *dst);
|
|
void copy_stop_request(const nfapi_nr_stop_request_scf_t *src, nfapi_nr_stop_request_scf_t *dst);
|
|
void copy_stop_indication(const nfapi_nr_stop_indication_scf_t *src, nfapi_nr_stop_indication_scf_t *dst);
|
|
void copy_error_indication(const nfapi_nr_error_indication_scf_t *src, nfapi_nr_error_indication_scf_t *dst);
|
|
|
|
void dump_param_request(const nfapi_nr_param_request_scf_t *msg);
|
|
void dump_param_response(const nfapi_nr_param_response_scf_t *msg);
|
|
void dump_config_request(const nfapi_nr_config_request_scf_t *msg);
|
|
void dump_config_response(const nfapi_nr_config_response_scf_t *msg);
|
|
void dump_start_request(const nfapi_nr_start_request_scf_t *msg);
|
|
void dump_start_response(const nfapi_nr_start_response_scf_t *msg);
|
|
void dump_stop_request(const nfapi_nr_stop_request_scf_t *msg);
|
|
void dump_stop_indication(const nfapi_nr_stop_indication_scf_t *msg);
|
|
char* error_ind_code_to_str(nfapi_nr_phy_notifications_errors_e error_code);
|
|
void dump_error_indication(const nfapi_nr_error_indication_scf_t *msg);
|
|
|
|
|
|
#endif // OPENAIRINTERFACE_NR_FAPI_P5_UTILS_H
|