mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 06:10:11 +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
47
lib/sbi/openapi/model/tsn_bridge_info.h
Normal file
47
lib/sbi/openapi/model/tsn_bridge_info.h
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
* tsn_bridge_info.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_tsn_bridge_info_H_
|
||||
#define _OpenAPI_tsn_bridge_info_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "tsn_port_identifier.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_tsn_bridge_info_s OpenAPI_tsn_bridge_info_t;
|
||||
typedef struct OpenAPI_tsn_bridge_info_s {
|
||||
char *bridge_name;
|
||||
char *bridge_mac;
|
||||
OpenAPI_list_t *nwtt_ports;
|
||||
struct OpenAPI_tsn_port_identifier_s *dstt_port;
|
||||
int dstt_resid_time;
|
||||
} OpenAPI_tsn_bridge_info_t;
|
||||
|
||||
OpenAPI_tsn_bridge_info_t *OpenAPI_tsn_bridge_info_create(
|
||||
char *bridge_name,
|
||||
char *bridge_mac,
|
||||
OpenAPI_list_t *nwtt_ports,
|
||||
OpenAPI_tsn_port_identifier_t *dstt_port,
|
||||
int dstt_resid_time
|
||||
);
|
||||
void OpenAPI_tsn_bridge_info_free(OpenAPI_tsn_bridge_info_t *tsn_bridge_info);
|
||||
OpenAPI_tsn_bridge_info_t *OpenAPI_tsn_bridge_info_parseFromJSON(cJSON *tsn_bridge_infoJSON);
|
||||
cJSON *OpenAPI_tsn_bridge_info_convertToJSON(OpenAPI_tsn_bridge_info_t *tsn_bridge_info);
|
||||
OpenAPI_tsn_bridge_info_t *OpenAPI_tsn_bridge_info_copy(OpenAPI_tsn_bridge_info_t *dst, OpenAPI_tsn_bridge_info_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_tsn_bridge_info_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue