mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 15:24:14 +00:00
Add only one 5GC scenario (call-flow)
This commit is contained in:
parent
20008b6a13
commit
dbee687a75
1415 changed files with 86635 additions and 5877 deletions
48
lib/sbi/openapi/model/n2_sm_information.h
Normal file
48
lib/sbi/openapi/model/n2_sm_information.h
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* n2_sm_information.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_n2_sm_information_H_
|
||||
#define _OpenAPI_n2_sm_information_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "n2_info_content.h"
|
||||
#include "snssai.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_n2_sm_information_s OpenAPI_n2_sm_information_t;
|
||||
typedef struct OpenAPI_n2_sm_information_s {
|
||||
int pdu_session_id;
|
||||
struct OpenAPI_n2_info_content_s *n2_info_content;
|
||||
struct OpenAPI_snssai_s *s_nssai;
|
||||
struct OpenAPI_snssai_s *home_plmn_snssai;
|
||||
int subject_to_ho;
|
||||
} OpenAPI_n2_sm_information_t;
|
||||
|
||||
OpenAPI_n2_sm_information_t *OpenAPI_n2_sm_information_create(
|
||||
int pdu_session_id,
|
||||
OpenAPI_n2_info_content_t *n2_info_content,
|
||||
OpenAPI_snssai_t *s_nssai,
|
||||
OpenAPI_snssai_t *home_plmn_snssai,
|
||||
int subject_to_ho
|
||||
);
|
||||
void OpenAPI_n2_sm_information_free(OpenAPI_n2_sm_information_t *n2_sm_information);
|
||||
OpenAPI_n2_sm_information_t *OpenAPI_n2_sm_information_parseFromJSON(cJSON *n2_sm_informationJSON);
|
||||
cJSON *OpenAPI_n2_sm_information_convertToJSON(OpenAPI_n2_sm_information_t *n2_sm_information);
|
||||
OpenAPI_n2_sm_information_t *OpenAPI_n2_sm_information_copy(OpenAPI_n2_sm_information_t *dst, OpenAPI_n2_sm_information_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_n2_sm_information_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue