mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
Added NRF
This commit is contained in:
parent
46f20cc979
commit
d0673e3066
397 changed files with 85455 additions and 209 deletions
39
lib/sbi/openapi/model/snssai.h
Normal file
39
lib/sbi/openapi/model/snssai.h
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* snssai.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_snssai_H_
|
||||
#define _OpenAPI_snssai_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_snssai_s OpenAPI_snssai_t;
|
||||
typedef struct OpenAPI_snssai_s {
|
||||
int sst;
|
||||
char *sd;
|
||||
} OpenAPI_snssai_t;
|
||||
|
||||
OpenAPI_snssai_t *OpenAPI_snssai_create(
|
||||
int sst,
|
||||
char *sd
|
||||
);
|
||||
void OpenAPI_snssai_free(OpenAPI_snssai_t *snssai);
|
||||
OpenAPI_snssai_t *OpenAPI_snssai_parseFromJSON(cJSON *snssaiJSON);
|
||||
cJSON *OpenAPI_snssai_convertToJSON(OpenAPI_snssai_t *snssai);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_snssai_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue