mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-08 16:01:49 +00:00
45 lines
1003 B
C
45 lines
1003 B
C
/*
|
|
* chf_info.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef _OpenAPI_chf_info_H_
|
|
#define _OpenAPI_chf_info_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
#include "identity_range.h"
|
|
#include "plmn_range.h"
|
|
#include "supi_range.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct OpenAPI_chf_info_s OpenAPI_chf_info_t;
|
|
typedef struct OpenAPI_chf_info_s {
|
|
OpenAPI_list_t *supi_range_list;
|
|
OpenAPI_list_t *gpsi_range_list;
|
|
OpenAPI_list_t *plmn_range_list;
|
|
} OpenAPI_chf_info_t;
|
|
|
|
OpenAPI_chf_info_t *OpenAPI_chf_info_create(
|
|
OpenAPI_list_t *supi_range_list,
|
|
OpenAPI_list_t *gpsi_range_list,
|
|
OpenAPI_list_t *plmn_range_list
|
|
);
|
|
void OpenAPI_chf_info_free(OpenAPI_chf_info_t *chf_info);
|
|
OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON);
|
|
cJSON *OpenAPI_chf_info_convertToJSON(OpenAPI_chf_info_t *chf_info);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_chf_info_H_ */
|
|
|