mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 06:10:11 +00:00
41 lines
930 B
C
41 lines
930 B
C
/*
|
|
* tmgi_1.h
|
|
*
|
|
* Temporary Mobile Group Identity
|
|
*/
|
|
|
|
#ifndef _OpenAPI_tmgi_1_H_
|
|
#define _OpenAPI_tmgi_1_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
#include "plmn_id_1.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct OpenAPI_tmgi_1_s OpenAPI_tmgi_1_t;
|
|
typedef struct OpenAPI_tmgi_1_s {
|
|
char *mbs_service_id;
|
|
struct OpenAPI_plmn_id_1_s *plmn_id;
|
|
} OpenAPI_tmgi_1_t;
|
|
|
|
OpenAPI_tmgi_1_t *OpenAPI_tmgi_1_create(
|
|
char *mbs_service_id,
|
|
OpenAPI_plmn_id_1_t *plmn_id
|
|
);
|
|
void OpenAPI_tmgi_1_free(OpenAPI_tmgi_1_t *tmgi_1);
|
|
OpenAPI_tmgi_1_t *OpenAPI_tmgi_1_parseFromJSON(cJSON *tmgi_1JSON);
|
|
cJSON *OpenAPI_tmgi_1_convertToJSON(OpenAPI_tmgi_1_t *tmgi_1);
|
|
OpenAPI_tmgi_1_t *OpenAPI_tmgi_1_copy(OpenAPI_tmgi_1_t *dst, OpenAPI_tmgi_1_t *src);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_tmgi_1_H_ */
|
|
|