forked from acouzens/open5gs
53 lines
1.7 KiB
C
53 lines
1.7 KiB
C
/*
|
|
* af_routing_requirement.h
|
|
*
|
|
* describes the event information delivered in the subscription
|
|
*/
|
|
|
|
#ifndef _OpenAPI_af_routing_requirement_H_
|
|
#define _OpenAPI_af_routing_requirement_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
#include "route_to_location.h"
|
|
#include "spatial_validity.h"
|
|
#include "temporal_validity.h"
|
|
#include "up_path_chg_event.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct OpenAPI_af_routing_requirement_s OpenAPI_af_routing_requirement_t;
|
|
typedef struct OpenAPI_af_routing_requirement_s {
|
|
int app_reloc;
|
|
OpenAPI_list_t *route_to_locs;
|
|
struct OpenAPI_spatial_validity_s *sp_val;
|
|
OpenAPI_list_t *temp_vals;
|
|
struct OpenAPI_up_path_chg_event_s *up_path_chg_sub;
|
|
int addr_preser_ind;
|
|
} OpenAPI_af_routing_requirement_t;
|
|
|
|
OpenAPI_af_routing_requirement_t *OpenAPI_af_routing_requirement_create(
|
|
int app_reloc,
|
|
OpenAPI_list_t *route_to_locs,
|
|
OpenAPI_spatial_validity_t *sp_val,
|
|
OpenAPI_list_t *temp_vals,
|
|
OpenAPI_up_path_chg_event_t *up_path_chg_sub,
|
|
int addr_preser_ind
|
|
);
|
|
void OpenAPI_af_routing_requirement_free(OpenAPI_af_routing_requirement_t *af_routing_requirement);
|
|
OpenAPI_af_routing_requirement_t *OpenAPI_af_routing_requirement_parseFromJSON(cJSON *af_routing_requirementJSON);
|
|
cJSON *OpenAPI_af_routing_requirement_convertToJSON(OpenAPI_af_routing_requirement_t *af_routing_requirement);
|
|
OpenAPI_af_routing_requirement_t *OpenAPI_af_routing_requirement_copy(OpenAPI_af_routing_requirement_t *dst, OpenAPI_af_routing_requirement_t *src);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_af_routing_requirement_H_ */
|
|
|