|
1 | 1 | #pragma once |
| 2 | +#include "euicc_export.h" |
2 | 3 |
|
3 | 4 | #include <stdint.h> |
4 | 5 |
|
@@ -123,35 +124,41 @@ struct es10b_operation_id { |
123 | 124 | struct es10b_operation_id *next; |
124 | 125 | }; |
125 | 126 |
|
126 | | -int es10b_prepare_download_r(struct euicc_ctx *ctx, char **b64_PrepareDownloadResponse, |
127 | | - struct es10b_prepare_download_param *param, |
128 | | - struct es10b_prepare_download_param_user *param_user); |
129 | | -int es10b_load_bound_profile_package_r(struct euicc_ctx *ctx, struct es10b_load_bound_profile_package_result *result, |
130 | | - const char *b64_BoundProfilePackage); |
131 | | -int es10b_get_euicc_challenge_r(struct euicc_ctx *ctx, char **b64_euiccChallenge); |
132 | | -int es10b_get_euicc_info_r(struct euicc_ctx *ctx, char **b64_EUICCInfo1); |
133 | | -int es10b_authenticate_server_r(struct euicc_ctx *ctx, uint8_t **transaction_id, uint32_t *transaction_id_len, |
134 | | - char **b64_AuthenticateServerResponse, struct es10b_authenticate_server_param *param, |
135 | | - struct es10b_authenticate_server_param_user *param_user); |
136 | | -int es10b_cancel_session_r(struct euicc_ctx *ctx, char **b64_CancelSessionResponse, |
137 | | - struct es10b_cancel_session_param *param); |
138 | | - |
139 | | -void es10b_prepare_download_param_free(struct es10b_prepare_download_param *param); |
140 | | -void es10b_authenticate_server_param_free(struct es10b_authenticate_server_param *param); |
141 | | - |
142 | | -int es10b_prepare_download(struct euicc_ctx *ctx, const char *confirmationCode); |
143 | | -int es10b_load_bound_profile_package(struct euicc_ctx *ctx, struct es10b_load_bound_profile_package_result *result); |
144 | | -int es10b_get_euicc_challenge_and_info(struct euicc_ctx *ctx); |
145 | | -int es10b_authenticate_server(struct euicc_ctx *ctx, const char *matchingId, const char *imei); |
146 | | -int es10b_cancel_session(struct euicc_ctx *ctx, enum es10b_cancel_session_reason reason); |
147 | | - |
148 | | -int es10b_list_notification(struct euicc_ctx *ctx, struct es10b_notification_metadata_list **notificationMetadataList); |
149 | | -int es10b_retrieve_notifications_list(struct euicc_ctx *ctx, struct es10b_pending_notification *PendingNotification, |
150 | | - unsigned long seqNumber); |
151 | | -int es10b_remove_notification_from_list(struct euicc_ctx *ctx, unsigned long seqNumber); |
152 | | - |
153 | | -void es10b_notification_metadata_list_free_all(struct es10b_notification_metadata_list *notificationMetadataList); |
154 | | -void es10b_pending_notification_free(struct es10b_pending_notification *PendingNotification); |
155 | | - |
156 | | -int es10b_get_rat(struct euicc_ctx *ctx, struct es10b_rat **ratList); |
157 | | -void es10b_rat_list_free_all(struct es10b_rat *ratList); |
| 127 | +EUICC_API int es10b_prepare_download_r(struct euicc_ctx *ctx, char **b64_PrepareDownloadResponse, |
| 128 | + struct es10b_prepare_download_param *param, |
| 129 | + struct es10b_prepare_download_param_user *param_user); |
| 130 | +EUICC_API int es10b_load_bound_profile_package_r(struct euicc_ctx *ctx, |
| 131 | + struct es10b_load_bound_profile_package_result *result, |
| 132 | + const char *b64_BoundProfilePackage); |
| 133 | +EUICC_API int es10b_get_euicc_challenge_r(struct euicc_ctx *ctx, char **b64_euiccChallenge); |
| 134 | +EUICC_API int es10b_get_euicc_info_r(struct euicc_ctx *ctx, char **b64_EUICCInfo1); |
| 135 | +EUICC_API int es10b_authenticate_server_r(struct euicc_ctx *ctx, uint8_t **transaction_id, uint32_t *transaction_id_len, |
| 136 | + char **b64_AuthenticateServerResponse, |
| 137 | + struct es10b_authenticate_server_param *param, |
| 138 | + struct es10b_authenticate_server_param_user *param_user); |
| 139 | +EUICC_API int es10b_cancel_session_r(struct euicc_ctx *ctx, char **b64_CancelSessionResponse, |
| 140 | + struct es10b_cancel_session_param *param); |
| 141 | + |
| 142 | +EUICC_API void es10b_prepare_download_param_free(struct es10b_prepare_download_param *param); |
| 143 | +EUICC_API void es10b_authenticate_server_param_free(struct es10b_authenticate_server_param *param); |
| 144 | + |
| 145 | +EUICC_API int es10b_prepare_download(struct euicc_ctx *ctx, const char *confirmationCode); |
| 146 | +EUICC_API int es10b_load_bound_profile_package(struct euicc_ctx *ctx, |
| 147 | + struct es10b_load_bound_profile_package_result *result); |
| 148 | +EUICC_API int es10b_get_euicc_challenge_and_info(struct euicc_ctx *ctx); |
| 149 | +EUICC_API int es10b_authenticate_server(struct euicc_ctx *ctx, const char *matchingId, const char *imei); |
| 150 | +EUICC_API int es10b_cancel_session(struct euicc_ctx *ctx, enum es10b_cancel_session_reason reason); |
| 151 | + |
| 152 | +EUICC_API int es10b_list_notification(struct euicc_ctx *ctx, |
| 153 | + struct es10b_notification_metadata_list **notificationMetadataList); |
| 154 | +EUICC_API int es10b_retrieve_notifications_list(struct euicc_ctx *ctx, |
| 155 | + struct es10b_pending_notification *PendingNotification, |
| 156 | + unsigned long seqNumber); |
| 157 | +EUICC_API int es10b_remove_notification_from_list(struct euicc_ctx *ctx, unsigned long seqNumber); |
| 158 | + |
| 159 | +EUICC_API void |
| 160 | +es10b_notification_metadata_list_free_all(struct es10b_notification_metadata_list *notificationMetadataList); |
| 161 | +EUICC_API void es10b_pending_notification_free(struct es10b_pending_notification *PendingNotification); |
| 162 | + |
| 163 | +EUICC_API int es10b_get_rat(struct euicc_ctx *ctx, struct es10b_rat **ratList); |
| 164 | +EUICC_API void es10b_rat_list_free_all(struct es10b_rat *ratList); |
0 commit comments