mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-03 05:40:09 +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
46
lib/sbi/openapi/model/pfd_content.h
Normal file
46
lib/sbi/openapi/model/pfd_content.h
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
* pfd_content.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_pfd_content_H_
|
||||
#define _OpenAPI_pfd_content_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "domain_name_protocol.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_pfd_content_s OpenAPI_pfd_content_t;
|
||||
typedef struct OpenAPI_pfd_content_s {
|
||||
char *pfd_id;
|
||||
OpenAPI_list_t *flow_descriptions;
|
||||
OpenAPI_list_t *urls;
|
||||
OpenAPI_list_t *domain_names;
|
||||
struct OpenAPI_domain_name_protocol_s *dn_protocol;
|
||||
} OpenAPI_pfd_content_t;
|
||||
|
||||
OpenAPI_pfd_content_t *OpenAPI_pfd_content_create(
|
||||
char *pfd_id,
|
||||
OpenAPI_list_t *flow_descriptions,
|
||||
OpenAPI_list_t *urls,
|
||||
OpenAPI_list_t *domain_names,
|
||||
OpenAPI_domain_name_protocol_t *dn_protocol
|
||||
);
|
||||
void OpenAPI_pfd_content_free(OpenAPI_pfd_content_t *pfd_content);
|
||||
OpenAPI_pfd_content_t *OpenAPI_pfd_content_parseFromJSON(cJSON *pfd_contentJSON);
|
||||
cJSON *OpenAPI_pfd_content_convertToJSON(OpenAPI_pfd_content_t *pfd_content);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_pfd_content_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue