forked from acouzens/open5gs
45 lines
1.0 KiB
C
45 lines
1.0 KiB
C
|
/*
|
||
|
* location_info.h
|
||
|
*
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#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"
|
||
|
#include "object.h"
|
||
|
|
||
|
#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
|
||
|
);
|
||
|
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);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* _OpenAPI_location_info_H_ */
|
||
|
|