2020-06-04 18:12:05 +00:00
|
|
|
/*
|
|
|
|
* location_info.h
|
|
|
|
*
|
2021-07-07 08:32:55 +00:00
|
|
|
*
|
2020-06-04 18:12:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _OpenAPI_location_info_H_
|
|
|
|
#define _OpenAPI_location_info_H_
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include "../external/cJSON.h"
|
|
|
|
#include "../include/list.h"
|
|
|
|
#include "../include/keyValuePair.h"
|
|
|
|
#include "../include/binary.h"
|
2021-03-08 12:25:09 +00:00
|
|
|
#include "registration_location_info.h"
|
2020-06-04 18:12:05 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef struct OpenAPI_location_info_s OpenAPI_location_info_t;
|
|
|
|
typedef struct OpenAPI_location_info_s {
|
|
|
|
char *supi;
|
|
|
|
char *gpsi;
|
|
|
|
OpenAPI_list_t *registration_location_info_list;
|
|
|
|
char *supported_features;
|
|
|
|
} OpenAPI_location_info_t;
|
|
|
|
|
|
|
|
OpenAPI_location_info_t *OpenAPI_location_info_create(
|
|
|
|
char *supi,
|
|
|
|
char *gpsi,
|
|
|
|
OpenAPI_list_t *registration_location_info_list,
|
|
|
|
char *supported_features
|
2021-07-07 08:32:55 +00:00
|
|
|
);
|
2020-06-04 18:12:05 +00:00
|
|
|
void OpenAPI_location_info_free(OpenAPI_location_info_t *location_info);
|
|
|
|
OpenAPI_location_info_t *OpenAPI_location_info_parseFromJSON(cJSON *location_infoJSON);
|
|
|
|
cJSON *OpenAPI_location_info_convertToJSON(OpenAPI_location_info_t *location_info);
|
2020-06-17 05:22:28 +00:00
|
|
|
OpenAPI_location_info_t *OpenAPI_location_info_copy(OpenAPI_location_info_t *dst, OpenAPI_location_info_t *src);
|
2020-06-04 18:12:05 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _OpenAPI_location_info_H_ */
|
|
|
|
|