forked from acouzens/open5gs
44 lines
884 B
C
44 lines
884 B
C
/*
|
|
* tai_1.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef _OpenAPI_tai_1_H_
|
|
#define _OpenAPI_tai_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_tai_1_s OpenAPI_tai_1_t;
|
|
typedef struct OpenAPI_tai_1_s {
|
|
struct OpenAPI_plmn_id_1_s *plmn_id;
|
|
char *tac;
|
|
char *nid;
|
|
} OpenAPI_tai_1_t;
|
|
|
|
OpenAPI_tai_1_t *OpenAPI_tai_1_create(
|
|
OpenAPI_plmn_id_1_t *plmn_id,
|
|
char *tac,
|
|
char *nid
|
|
);
|
|
void OpenAPI_tai_1_free(OpenAPI_tai_1_t *tai_1);
|
|
OpenAPI_tai_1_t *OpenAPI_tai_1_parseFromJSON(cJSON *tai_1JSON);
|
|
cJSON *OpenAPI_tai_1_convertToJSON(OpenAPI_tai_1_t *tai_1);
|
|
OpenAPI_tai_1_t *OpenAPI_tai_1_copy(OpenAPI_tai_1_t *dst, OpenAPI_tai_1_t *src);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_tai_1_H_ */
|
|
|