mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 14:20: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
47
lib/sbi/openapi/model/ext_snssai.h
Normal file
47
lib/sbi/openapi/model/ext_snssai.h
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
* ext_snssai.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_ext_snssai_H_
|
||||
#define _OpenAPI_ext_snssai_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "sd_range.h"
|
||||
#include "snssai.h"
|
||||
#include "snssai_extension.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_ext_snssai_s OpenAPI_ext_snssai_t;
|
||||
typedef struct OpenAPI_ext_snssai_s {
|
||||
int sst;
|
||||
char *sd;
|
||||
OpenAPI_list_t *sd_ranges;
|
||||
int wildcard_sd;
|
||||
} OpenAPI_ext_snssai_t;
|
||||
|
||||
OpenAPI_ext_snssai_t *OpenAPI_ext_snssai_create(
|
||||
int sst,
|
||||
char *sd,
|
||||
OpenAPI_list_t *sd_ranges,
|
||||
int wildcard_sd
|
||||
);
|
||||
void OpenAPI_ext_snssai_free(OpenAPI_ext_snssai_t *ext_snssai);
|
||||
OpenAPI_ext_snssai_t *OpenAPI_ext_snssai_parseFromJSON(cJSON *ext_snssaiJSON);
|
||||
cJSON *OpenAPI_ext_snssai_convertToJSON(OpenAPI_ext_snssai_t *ext_snssai);
|
||||
OpenAPI_ext_snssai_t *OpenAPI_ext_snssai_copy(OpenAPI_ext_snssai_t *dst, OpenAPI_ext_snssai_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_ext_snssai_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue