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
54
lib/sbi/openapi/model/authentication_vector.h
Normal file
54
lib/sbi/openapi/model/authentication_vector.h
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
/*
|
||||
* authentication_vector.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_authentication_vector_H_
|
||||
#define _OpenAPI_authentication_vector_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "av5_g_he_aka.h"
|
||||
#include "av_eap_aka_prime.h"
|
||||
#include "av_type.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_authentication_vector_s OpenAPI_authentication_vector_t;
|
||||
typedef struct OpenAPI_authentication_vector_s {
|
||||
OpenAPI_av_type_e av_type;
|
||||
char *rand;
|
||||
char *xres;
|
||||
char *autn;
|
||||
char *ck_prime;
|
||||
char *ik_prime;
|
||||
char *xres_star;
|
||||
char *kausf;
|
||||
} OpenAPI_authentication_vector_t;
|
||||
|
||||
OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_create(
|
||||
OpenAPI_av_type_e av_type,
|
||||
char *rand,
|
||||
char *xres,
|
||||
char *autn,
|
||||
char *ck_prime,
|
||||
char *ik_prime,
|
||||
char *xres_star,
|
||||
char *kausf
|
||||
);
|
||||
void OpenAPI_authentication_vector_free(OpenAPI_authentication_vector_t *authentication_vector);
|
||||
OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_parseFromJSON(cJSON *authentication_vectorJSON);
|
||||
cJSON *OpenAPI_authentication_vector_convertToJSON(OpenAPI_authentication_vector_t *authentication_vector);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_authentication_vector_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue