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
45
lib/sbi/openapi/model/deregistration_data.h
Normal file
45
lib/sbi/openapi/model/deregistration_data.h
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
* deregistration_data.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_deregistration_data_H_
|
||||
#define _OpenAPI_deregistration_data_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "access_type.h"
|
||||
#include "deregistration_reason.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_deregistration_data_s OpenAPI_deregistration_data_t;
|
||||
typedef struct OpenAPI_deregistration_data_s {
|
||||
struct OpenAPI_deregistration_reason_s *dereg_reason;
|
||||
OpenAPI_access_type_e access_type;
|
||||
int pdu_session_id;
|
||||
char *new_smf_instance_id;
|
||||
} OpenAPI_deregistration_data_t;
|
||||
|
||||
OpenAPI_deregistration_data_t *OpenAPI_deregistration_data_create(
|
||||
OpenAPI_deregistration_reason_t *dereg_reason,
|
||||
OpenAPI_access_type_e access_type,
|
||||
int pdu_session_id,
|
||||
char *new_smf_instance_id
|
||||
);
|
||||
void OpenAPI_deregistration_data_free(OpenAPI_deregistration_data_t *deregistration_data);
|
||||
OpenAPI_deregistration_data_t *OpenAPI_deregistration_data_parseFromJSON(cJSON *deregistration_dataJSON);
|
||||
cJSON *OpenAPI_deregistration_data_convertToJSON(OpenAPI_deregistration_data_t *deregistration_data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_deregistration_data_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue