mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 14:20:09 +00:00
Added NRF
This commit is contained in:
parent
46f20cc979
commit
d0673e3066
397 changed files with 85455 additions and 209 deletions
60
lib/sbi/openapi/model/subscription_data.h
Normal file
60
lib/sbi/openapi/model/subscription_data.h
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
/*
|
||||
* subscription_data.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_subscription_data_H_
|
||||
#define _OpenAPI_subscription_data_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "nf_type.h"
|
||||
#include "notif_condition.h"
|
||||
#include "notification_event_type.h"
|
||||
#include "plmn_id.h"
|
||||
#include "snssai.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_subscription_data_s OpenAPI_subscription_data_t;
|
||||
typedef struct OpenAPI_subscription_data_s {
|
||||
char *nf_status_notification_uri;
|
||||
char *req_nf_instance_id;
|
||||
char *subscription_id;
|
||||
char *validity_time;
|
||||
OpenAPI_list_t *req_notif_events;
|
||||
struct OpenAPI_plmn_id_s *plmn_id;
|
||||
struct OpenAPI_notif_condition_s *notif_condition;
|
||||
OpenAPI_nf_type_e req_nf_type;
|
||||
char *req_nf_fqdn;
|
||||
OpenAPI_list_t *req_snssais;
|
||||
} OpenAPI_subscription_data_t;
|
||||
|
||||
OpenAPI_subscription_data_t *OpenAPI_subscription_data_create(
|
||||
char *nf_status_notification_uri,
|
||||
char *req_nf_instance_id,
|
||||
char *subscription_id,
|
||||
char *validity_time,
|
||||
OpenAPI_list_t *req_notif_events,
|
||||
OpenAPI_plmn_id_t *plmn_id,
|
||||
OpenAPI_notif_condition_t *notif_condition,
|
||||
OpenAPI_nf_type_e req_nf_type,
|
||||
char *req_nf_fqdn,
|
||||
OpenAPI_list_t *req_snssais
|
||||
);
|
||||
void OpenAPI_subscription_data_free(OpenAPI_subscription_data_t *subscription_data);
|
||||
OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subscription_dataJSON);
|
||||
cJSON *OpenAPI_subscription_data_convertToJSON(OpenAPI_subscription_data_t *subscription_data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_subscription_data_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue