mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 23:37:22 +00:00
Add AUSF, UDM, and UDR
This commit is contained in:
parent
0c0241d5e5
commit
72370ff0b2
1151 changed files with 140173 additions and 24799 deletions
50
lib/sbi/openapi/model/trace_data.h
Normal file
50
lib/sbi/openapi/model/trace_data.h
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* trace_data.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_trace_data_H_
|
||||
#define _OpenAPI_trace_data_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "trace_depth.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_trace_data_s OpenAPI_trace_data_t;
|
||||
typedef struct OpenAPI_trace_data_s {
|
||||
char *trace_ref;
|
||||
struct OpenAPI_trace_depth_s *trace_depth;
|
||||
char *ne_type_list;
|
||||
char *event_list;
|
||||
char *collection_entity_ipv4_addr;
|
||||
char *collection_entity_ipv6_addr;
|
||||
char *interface_list;
|
||||
} OpenAPI_trace_data_t;
|
||||
|
||||
OpenAPI_trace_data_t *OpenAPI_trace_data_create(
|
||||
char *trace_ref,
|
||||
OpenAPI_trace_depth_t *trace_depth,
|
||||
char *ne_type_list,
|
||||
char *event_list,
|
||||
char *collection_entity_ipv4_addr,
|
||||
char *collection_entity_ipv6_addr,
|
||||
char *interface_list
|
||||
);
|
||||
void OpenAPI_trace_data_free(OpenAPI_trace_data_t *trace_data);
|
||||
OpenAPI_trace_data_t *OpenAPI_trace_data_parseFromJSON(cJSON *trace_dataJSON);
|
||||
cJSON *OpenAPI_trace_data_convertToJSON(OpenAPI_trace_data_t *trace_data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_trace_data_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue