mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30: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
42
lib/sbi/openapi/model/ec_restriction.h
Normal file
42
lib/sbi/openapi/model/ec_restriction.h
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* ec_restriction.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_ec_restriction_H_
|
||||
#define _OpenAPI_ec_restriction_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "plmn_ec_info.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_ec_restriction_s OpenAPI_ec_restriction_t;
|
||||
typedef struct OpenAPI_ec_restriction_s {
|
||||
char *af_instance_id;
|
||||
int reference_id;
|
||||
OpenAPI_list_t *plmn_ec_infos;
|
||||
} OpenAPI_ec_restriction_t;
|
||||
|
||||
OpenAPI_ec_restriction_t *OpenAPI_ec_restriction_create(
|
||||
char *af_instance_id,
|
||||
int reference_id,
|
||||
OpenAPI_list_t *plmn_ec_infos
|
||||
);
|
||||
void OpenAPI_ec_restriction_free(OpenAPI_ec_restriction_t *ec_restriction);
|
||||
OpenAPI_ec_restriction_t *OpenAPI_ec_restriction_parseFromJSON(cJSON *ec_restrictionJSON);
|
||||
cJSON *OpenAPI_ec_restriction_convertToJSON(OpenAPI_ec_restriction_t *ec_restriction);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_ec_restriction_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue