mirror of
https://github.com/estkme-group/lpac
synced 2024-09-11 19:40:49 +02:00
Also added a `void *userdata` member to the `euicc_ctx` struct. This is needed, for example, when used with JNI to bind each `euicc_ctx` with a Java-side object.
22 lines
372 B
C
22 lines
372 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;
|
|
uint8_t g_apdu_request_buf[256 + 8];
|
|
uint8_t g_asn1_der_request_buf[256];
|
|
int es10x_logic_channel;
|
|
void *userdata;
|
|
};
|
|
|
|
#include "es9p.h"
|
|
#include "es10x.h"
|