mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
Add PCF(Policy Control Function)
This commit is contained in:
parent
fb95725ca4
commit
198abc6e8b
299 changed files with 29050 additions and 1075 deletions
54
lib/sbi/openapi/model/flow_information.h
Normal file
54
lib/sbi/openapi/model/flow_information.h
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
/*
|
||||
* flow_information.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_flow_information_H_
|
||||
#define _OpenAPI_flow_information_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "eth_flow_description.h"
|
||||
#include "flow_direction_rm.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_flow_information_s OpenAPI_flow_information_t;
|
||||
typedef struct OpenAPI_flow_information_s {
|
||||
char *flow_description;
|
||||
struct OpenAPI_eth_flow_description_s *eth_flow_description;
|
||||
char *pack_filt_id;
|
||||
int packet_filter_usage;
|
||||
char *tos_traffic_class;
|
||||
char *spi;
|
||||
char *flow_label;
|
||||
struct OpenAPI_flow_direction_rm_s *flow_direction;
|
||||
} OpenAPI_flow_information_t;
|
||||
|
||||
OpenAPI_flow_information_t *OpenAPI_flow_information_create(
|
||||
char *flow_description,
|
||||
OpenAPI_eth_flow_description_t *eth_flow_description,
|
||||
char *pack_filt_id,
|
||||
int packet_filter_usage,
|
||||
char *tos_traffic_class,
|
||||
char *spi,
|
||||
char *flow_label,
|
||||
OpenAPI_flow_direction_rm_t *flow_direction
|
||||
);
|
||||
void OpenAPI_flow_information_free(OpenAPI_flow_information_t *flow_information);
|
||||
OpenAPI_flow_information_t *OpenAPI_flow_information_parseFromJSON(cJSON *flow_informationJSON);
|
||||
cJSON *OpenAPI_flow_information_convertToJSON(OpenAPI_flow_information_t *flow_information);
|
||||
OpenAPI_flow_information_t *OpenAPI_flow_information_copy(OpenAPI_flow_information_t *dst, OpenAPI_flow_information_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_flow_information_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue