mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 15:24:14 +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
42
lib/sbi/openapi/model/resources_allocation_info.h
Normal file
42
lib/sbi/openapi/model/resources_allocation_info.h
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* resources_allocation_info.h
|
||||
*
|
||||
* describes the status of the PCC rule(s) related to certain media components.
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_resources_allocation_info_H_
|
||||
#define _OpenAPI_resources_allocation_info_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "flows.h"
|
||||
#include "media_component_resources_status.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_resources_allocation_info_s OpenAPI_resources_allocation_info_t;
|
||||
typedef struct OpenAPI_resources_allocation_info_s {
|
||||
OpenAPI_media_component_resources_status_e mc_resourc_status;
|
||||
OpenAPI_list_t *flows;
|
||||
} OpenAPI_resources_allocation_info_t;
|
||||
|
||||
OpenAPI_resources_allocation_info_t *OpenAPI_resources_allocation_info_create(
|
||||
OpenAPI_media_component_resources_status_e mc_resourc_status,
|
||||
OpenAPI_list_t *flows
|
||||
);
|
||||
void OpenAPI_resources_allocation_info_free(OpenAPI_resources_allocation_info_t *resources_allocation_info);
|
||||
OpenAPI_resources_allocation_info_t *OpenAPI_resources_allocation_info_parseFromJSON(cJSON *resources_allocation_infoJSON);
|
||||
cJSON *OpenAPI_resources_allocation_info_convertToJSON(OpenAPI_resources_allocation_info_t *resources_allocation_info);
|
||||
OpenAPI_resources_allocation_info_t *OpenAPI_resources_allocation_info_copy(OpenAPI_resources_allocation_info_t *dst, OpenAPI_resources_allocation_info_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_resources_allocation_info_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue