mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 13:20:08 +00:00
Add AUSF, UDM, and UDR
This commit is contained in:
parent
0c0241d5e5
commit
72370ff0b2
1151 changed files with 140173 additions and 24799 deletions
41
lib/sbi/openapi/model/imsi_range.h
Normal file
41
lib/sbi/openapi/model/imsi_range.h
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
* imsi_range.h
|
||||
*
|
||||
* A range of IMSIs (subscriber identities), either based on a numeric range, or based on regular-expression matching
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_imsi_range_H_
|
||||
#define _OpenAPI_imsi_range_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_imsi_range_s OpenAPI_imsi_range_t;
|
||||
typedef struct OpenAPI_imsi_range_s {
|
||||
char *start;
|
||||
char *end;
|
||||
char *pattern;
|
||||
} OpenAPI_imsi_range_t;
|
||||
|
||||
OpenAPI_imsi_range_t *OpenAPI_imsi_range_create(
|
||||
char *start,
|
||||
char *end,
|
||||
char *pattern
|
||||
);
|
||||
void OpenAPI_imsi_range_free(OpenAPI_imsi_range_t *imsi_range);
|
||||
OpenAPI_imsi_range_t *OpenAPI_imsi_range_parseFromJSON(cJSON *imsi_rangeJSON);
|
||||
cJSON *OpenAPI_imsi_range_convertToJSON(OpenAPI_imsi_range_t *imsi_range);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_imsi_range_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue