mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 21:30:10 +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
39
lib/sbi/openapi/model/tmbr.h
Normal file
39
lib/sbi/openapi/model/tmbr.h
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* tmbr.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_tmbr_H_
|
||||
#define _OpenAPI_tmbr_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_tmbr_s OpenAPI_tmbr_t;
|
||||
typedef struct OpenAPI_tmbr_s {
|
||||
char *uplink;
|
||||
char *downlink;
|
||||
} OpenAPI_tmbr_t;
|
||||
|
||||
OpenAPI_tmbr_t *OpenAPI_tmbr_create(
|
||||
char *uplink,
|
||||
char *downlink
|
||||
);
|
||||
void OpenAPI_tmbr_free(OpenAPI_tmbr_t *tmbr);
|
||||
OpenAPI_tmbr_t *OpenAPI_tmbr_parseFromJSON(cJSON *tmbrJSON);
|
||||
cJSON *OpenAPI_tmbr_convertToJSON(OpenAPI_tmbr_t *tmbr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_tmbr_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue