mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 06:10:11 +00:00
41 lines
1.2 KiB
C
41 lines
1.2 KiB
C
/*
|
|
* location_area_id.h
|
|
*
|
|
* Contains a Location area identification as defined in 3GPP TS 23.003, clause 4.1.
|
|
*/
|
|
|
|
#ifndef _OpenAPI_location_area_id_H_
|
|
#define _OpenAPI_location_area_id_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
#include "plmn_id.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct OpenAPI_location_area_id_s OpenAPI_location_area_id_t;
|
|
typedef struct OpenAPI_location_area_id_s {
|
|
struct OpenAPI_plmn_id_s *plmn_id;
|
|
char *lac;
|
|
} OpenAPI_location_area_id_t;
|
|
|
|
OpenAPI_location_area_id_t *OpenAPI_location_area_id_create(
|
|
OpenAPI_plmn_id_t *plmn_id,
|
|
char *lac
|
|
);
|
|
void OpenAPI_location_area_id_free(OpenAPI_location_area_id_t *location_area_id);
|
|
OpenAPI_location_area_id_t *OpenAPI_location_area_id_parseFromJSON(cJSON *location_area_idJSON);
|
|
cJSON *OpenAPI_location_area_id_convertToJSON(OpenAPI_location_area_id_t *location_area_id);
|
|
OpenAPI_location_area_id_t *OpenAPI_location_area_id_copy(OpenAPI_location_area_id_t *dst, OpenAPI_location_area_id_t *src);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_location_area_id_H_ */
|
|
|