forked from acouzens/open5gs
46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
/*
|
|
* user_location.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef _OpenAPI_user_location_H_
|
|
#define _OpenAPI_user_location_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
#include "eutra_location.h"
|
|
#include "n3ga_location.h"
|
|
#include "nr_location.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct OpenAPI_user_location_s OpenAPI_user_location_t;
|
|
typedef struct OpenAPI_user_location_s {
|
|
struct OpenAPI_eutra_location_s *eutra_location;
|
|
struct OpenAPI_nr_location_s *nr_location;
|
|
struct OpenAPI_n3ga_location_s *n3ga_location;
|
|
} OpenAPI_user_location_t;
|
|
|
|
OpenAPI_user_location_t *OpenAPI_user_location_create(
|
|
OpenAPI_eutra_location_t *eutra_location,
|
|
OpenAPI_nr_location_t *nr_location,
|
|
OpenAPI_n3ga_location_t *n3ga_location
|
|
);
|
|
void OpenAPI_user_location_free(OpenAPI_user_location_t *user_location);
|
|
OpenAPI_user_location_t *OpenAPI_user_location_parseFromJSON(cJSON *user_locationJSON);
|
|
cJSON *OpenAPI_user_location_convertToJSON(OpenAPI_user_location_t *user_location);
|
|
OpenAPI_user_location_t *OpenAPI_user_location_copy(OpenAPI_user_location_t *dst, OpenAPI_user_location_t *src);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_user_location_H_ */
|
|
|