mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 13:20:08 +00:00
Add AUSF, UDM, and UDR
This commit is contained in:
parent
0c0241d5e5
commit
72370ff0b2
1151 changed files with 140173 additions and 24799 deletions
78
lib/sbi/openapi/model/sm_policy_dnn_data.h
Normal file
78
lib/sbi/openapi/model/sm_policy_dnn_data.h
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
/*
|
||||
* sm_policy_dnn_data.h
|
||||
*
|
||||
* Contains the SM policy data for a given DNN (and S-NSSAI).
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_sm_policy_dnn_data_H_
|
||||
#define _OpenAPI_sm_policy_dnn_data_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "charging_information.h"
|
||||
#include "limit_id_to_monitoring_key.h"
|
||||
#include "presence_info.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_sm_policy_dnn_data_s OpenAPI_sm_policy_dnn_data_t;
|
||||
typedef struct OpenAPI_sm_policy_dnn_data_s {
|
||||
char *dnn;
|
||||
OpenAPI_list_t *allowed_services;
|
||||
OpenAPI_list_t *subsc_cats;
|
||||
char *gbr_ul;
|
||||
char *gbr_dl;
|
||||
int adc_support;
|
||||
int subsc_spending_limits;
|
||||
int ipv4_index;
|
||||
int ipv6_index;
|
||||
int offline;
|
||||
int online;
|
||||
struct OpenAPI_charging_information_s *chf_info;
|
||||
OpenAPI_list_t* ref_um_data_limit_ids;
|
||||
int mps_priority;
|
||||
int mcs_priority;
|
||||
int ims_signalling_prio;
|
||||
int mps_priority_level;
|
||||
int mcs_priority_level;
|
||||
OpenAPI_list_t* pra_infos;
|
||||
OpenAPI_list_t* bdt_ref_ids;
|
||||
} OpenAPI_sm_policy_dnn_data_t;
|
||||
|
||||
OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_create(
|
||||
char *dnn,
|
||||
OpenAPI_list_t *allowed_services,
|
||||
OpenAPI_list_t *subsc_cats,
|
||||
char *gbr_ul,
|
||||
char *gbr_dl,
|
||||
int adc_support,
|
||||
int subsc_spending_limits,
|
||||
int ipv4_index,
|
||||
int ipv6_index,
|
||||
int offline,
|
||||
int online,
|
||||
OpenAPI_charging_information_t *chf_info,
|
||||
OpenAPI_list_t* ref_um_data_limit_ids,
|
||||
int mps_priority,
|
||||
int mcs_priority,
|
||||
int ims_signalling_prio,
|
||||
int mps_priority_level,
|
||||
int mcs_priority_level,
|
||||
OpenAPI_list_t* pra_infos,
|
||||
OpenAPI_list_t* bdt_ref_ids
|
||||
);
|
||||
void OpenAPI_sm_policy_dnn_data_free(OpenAPI_sm_policy_dnn_data_t *sm_policy_dnn_data);
|
||||
OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm_policy_dnn_dataJSON);
|
||||
cJSON *OpenAPI_sm_policy_dnn_data_convertToJSON(OpenAPI_sm_policy_dnn_data_t *sm_policy_dnn_data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_sm_policy_dnn_data_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue