mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
arch: DB schema Changes (#796)
- New function : NSSF - New feature : SMF selection
This commit is contained in:
parent
c6bfbed922
commit
9af4268bab
691 changed files with 40727 additions and 18985 deletions
56
lib/sbi/openapi/model/slice_info_for_registration.h
Normal file
56
lib/sbi/openapi/model/slice_info_for_registration.h
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
* slice_info_for_registration.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_slice_info_for_registration_H_
|
||||
#define _OpenAPI_slice_info_for_registration_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "allowed_nssai.h"
|
||||
#include "mapping_of_snssai.h"
|
||||
#include "snssai.h"
|
||||
#include "subscribed_snssai.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_slice_info_for_registration_s OpenAPI_slice_info_for_registration_t;
|
||||
typedef struct OpenAPI_slice_info_for_registration_s {
|
||||
OpenAPI_list_t *subscribed_nssai;
|
||||
struct OpenAPI_allowed_nssai_s *allowed_nssai_current_access;
|
||||
struct OpenAPI_allowed_nssai_s *allowed_nssai_other_access;
|
||||
OpenAPI_list_t *s_nssai_for_mapping;
|
||||
OpenAPI_list_t *requested_nssai;
|
||||
int default_configured_snssai_ind;
|
||||
OpenAPI_list_t *mapping_of_nssai;
|
||||
int request_mapping;
|
||||
} OpenAPI_slice_info_for_registration_t;
|
||||
|
||||
OpenAPI_slice_info_for_registration_t *OpenAPI_slice_info_for_registration_create(
|
||||
OpenAPI_list_t *subscribed_nssai,
|
||||
OpenAPI_allowed_nssai_t *allowed_nssai_current_access,
|
||||
OpenAPI_allowed_nssai_t *allowed_nssai_other_access,
|
||||
OpenAPI_list_t *s_nssai_for_mapping,
|
||||
OpenAPI_list_t *requested_nssai,
|
||||
int default_configured_snssai_ind,
|
||||
OpenAPI_list_t *mapping_of_nssai,
|
||||
int request_mapping
|
||||
);
|
||||
void OpenAPI_slice_info_for_registration_free(OpenAPI_slice_info_for_registration_t *slice_info_for_registration);
|
||||
OpenAPI_slice_info_for_registration_t *OpenAPI_slice_info_for_registration_parseFromJSON(cJSON *slice_info_for_registrationJSON);
|
||||
cJSON *OpenAPI_slice_info_for_registration_convertToJSON(OpenAPI_slice_info_for_registration_t *slice_info_for_registration);
|
||||
OpenAPI_slice_info_for_registration_t *OpenAPI_slice_info_for_registration_copy(OpenAPI_slice_info_for_registration_t *dst, OpenAPI_slice_info_for_registration_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_slice_info_for_registration_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue