mirror of
https://github.com/estkme-group/lpac
synced 2024-07-04 15:56:42 +02:00
libeuicc: const interface in ctx
This commit is contained in:
parent
dfac5a477c
commit
c798995d6d
|
@ -8,7 +8,7 @@ struct euicc_ctx
|
||||||
{
|
{
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
struct euicc_apdu_interface *interface;
|
const struct euicc_apdu_interface *interface;
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
int logic_channel;
|
int logic_channel;
|
||||||
|
@ -21,7 +21,7 @@ struct euicc_ctx
|
||||||
} apdu;
|
} apdu;
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
struct euicc_http_interface *interface;
|
const struct euicc_http_interface *interface;
|
||||||
const char *server_address;
|
const char *server_address;
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
|
|
|
@ -56,7 +56,7 @@ static void euicc_apdu_response_print(const struct apdu_response *resp)
|
||||||
|
|
||||||
int euicc_apdu_transmit(struct euicc_ctx *ctx, struct apdu_response *response, const struct apdu_request *request, uint32_t request_len)
|
int euicc_apdu_transmit(struct euicc_ctx *ctx, struct apdu_response *response, const struct apdu_request *request, uint32_t request_len)
|
||||||
{
|
{
|
||||||
struct euicc_apdu_interface *in = ctx->apdu.interface;
|
const struct euicc_apdu_interface *in = ctx->apdu.interface;
|
||||||
|
|
||||||
memset(response, 0x00, sizeof(*response));
|
memset(response, 0x00, sizeof(*response));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue