mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 07:08:11 +00:00
[5GC] Added BSF(Binding Support Function)
This commit is contained in:
parent
611986794b
commit
fe89f7cd11
293 changed files with 24988 additions and 1507 deletions
63
lib/sbi/openapi/model/media_sub_component.h
Normal file
63
lib/sbi/openapi/model/media_sub_component.h
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
/*
|
||||
* media_sub_component.h
|
||||
*
|
||||
* Identifies a media subcomponent
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_media_sub_component_H_
|
||||
#define _OpenAPI_media_sub_component_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "af_sig_protocol.h"
|
||||
#include "eth_flow_description.h"
|
||||
#include "flow_status.h"
|
||||
#include "flow_usage.h"
|
||||
#include "tscai_input_container.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_media_sub_component_s OpenAPI_media_sub_component_t;
|
||||
typedef struct OpenAPI_media_sub_component_s {
|
||||
OpenAPI_af_sig_protocol_e af_sig_protocol;
|
||||
OpenAPI_list_t *ethf_descs;
|
||||
int f_num;
|
||||
OpenAPI_list_t *f_descs;
|
||||
OpenAPI_flow_status_e f_status;
|
||||
char *mar_bw_dl;
|
||||
char *mar_bw_ul;
|
||||
char *tos_tr_cl;
|
||||
OpenAPI_flow_usage_e flow_usage;
|
||||
struct OpenAPI_tscai_input_container_s *tscai_input_dl;
|
||||
struct OpenAPI_tscai_input_container_s *tscai_input_ul;
|
||||
} OpenAPI_media_sub_component_t;
|
||||
|
||||
OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_create(
|
||||
OpenAPI_af_sig_protocol_e af_sig_protocol,
|
||||
OpenAPI_list_t *ethf_descs,
|
||||
int f_num,
|
||||
OpenAPI_list_t *f_descs,
|
||||
OpenAPI_flow_status_e f_status,
|
||||
char *mar_bw_dl,
|
||||
char *mar_bw_ul,
|
||||
char *tos_tr_cl,
|
||||
OpenAPI_flow_usage_e flow_usage,
|
||||
OpenAPI_tscai_input_container_t *tscai_input_dl,
|
||||
OpenAPI_tscai_input_container_t *tscai_input_ul
|
||||
);
|
||||
void OpenAPI_media_sub_component_free(OpenAPI_media_sub_component_t *media_sub_component);
|
||||
OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON *media_sub_componentJSON);
|
||||
cJSON *OpenAPI_media_sub_component_convertToJSON(OpenAPI_media_sub_component_t *media_sub_component);
|
||||
OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_copy(OpenAPI_media_sub_component_t *dst, OpenAPI_media_sub_component_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_media_sub_component_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue