mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 13:20:08 +00:00
Added N32 Interface to implement SEPP
This commit is contained in:
parent
a8790713d7
commit
e41afff7ac
63 changed files with 5503 additions and 290 deletions
50
lib/sbi/openapi/model/sec_param_exch_req_data.h
Normal file
50
lib/sbi/openapi/model/sec_param_exch_req_data.h
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* sec_param_exch_req_data.h
|
||||
*
|
||||
* Request data structure for parameter exchange
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_sec_param_exch_req_data_H_
|
||||
#define _OpenAPI_sec_param_exch_req_data_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "ipx_provider_sec_info.h"
|
||||
#include "protection_policy.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_sec_param_exch_req_data_s OpenAPI_sec_param_exch_req_data_t;
|
||||
typedef struct OpenAPI_sec_param_exch_req_data_s {
|
||||
char *n32f_context_id;
|
||||
OpenAPI_list_t *jwe_cipher_suite_list;
|
||||
OpenAPI_list_t *jws_cipher_suite_list;
|
||||
struct OpenAPI_protection_policy_s *protection_policy_info;
|
||||
OpenAPI_list_t *ipx_provider_sec_info_list;
|
||||
char *sender;
|
||||
} OpenAPI_sec_param_exch_req_data_t;
|
||||
|
||||
OpenAPI_sec_param_exch_req_data_t *OpenAPI_sec_param_exch_req_data_create(
|
||||
char *n32f_context_id,
|
||||
OpenAPI_list_t *jwe_cipher_suite_list,
|
||||
OpenAPI_list_t *jws_cipher_suite_list,
|
||||
OpenAPI_protection_policy_t *protection_policy_info,
|
||||
OpenAPI_list_t *ipx_provider_sec_info_list,
|
||||
char *sender
|
||||
);
|
||||
void OpenAPI_sec_param_exch_req_data_free(OpenAPI_sec_param_exch_req_data_t *sec_param_exch_req_data);
|
||||
OpenAPI_sec_param_exch_req_data_t *OpenAPI_sec_param_exch_req_data_parseFromJSON(cJSON *sec_param_exch_req_dataJSON);
|
||||
cJSON *OpenAPI_sec_param_exch_req_data_convertToJSON(OpenAPI_sec_param_exch_req_data_t *sec_param_exch_req_data);
|
||||
OpenAPI_sec_param_exch_req_data_t *OpenAPI_sec_param_exch_req_data_copy(OpenAPI_sec_param_exch_req_data_t *dst, OpenAPI_sec_param_exch_req_data_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_sec_param_exch_req_data_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue