mirror of
https://github.com/estkme-group/lpac
synced 2025-06-30 08:42:57 +02:00
23 lines
458 B
C
23 lines
458 B
C
#pragma once
|
|
|
|
#include <inttypes.h>
|
|
#include "interface.h"
|
|
|
|
struct euicc_ctx
|
|
{
|
|
struct
|
|
{
|
|
struct euicc_apdu_interface *apdu;
|
|
struct euicc_http_interface *http;
|
|
} interface;
|
|
struct
|
|
{
|
|
uint8_t apdu_header[5];
|
|
uint8_t body[255];
|
|
} __attribute__((packed)) apdu_request_buffer;
|
|
int es10x_logic_channel;
|
|
void *userdata;
|
|
};
|
|
|
|
int euicc_init(struct euicc_ctx *ctx);
|
|
void euicc_fini(struct euicc_ctx *ctx);
|