libosmosim 1.11.0.30-c17053
Osmocom SIM library
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sim_int.h File Reference
#include <osmocom/sim/sim.h>

Go to the source code of this file.

Functions

struct osim_decoded_elementelement_alloc (struct osim_decoded_data *dd, const char *name, enum osim_element_type type, enum osim_element_repr repr)
 
struct osim_decoded_elementelement_alloc_sub (struct osim_decoded_element *ee, const char *name, enum osim_element_type type, enum osim_element_repr repr)
 
int default_decode (struct osim_decoded_data *dd, const struct osim_file_desc *desc, int len, uint8_t *data)
 
void add_filedesc (struct osim_file_desc *root, const struct osim_file_desc *in, int num)
 
struct osim_file_descalloc_df (void *ctx, uint16_t fid, const char *name)
 
struct osim_file_descadd_df_with_ef (struct osim_file_desc *parent, uint16_t fid, const char *name, const struct osim_file_desc *in, int num)
 
struct osim_file_descalloc_adf_with_ef (void *ctx, const uint8_t *adf_name, uint8_t adf_name_len, const char *name, const struct osim_file_desc *in, int num)
 
void osim_app_profile_register (struct osim_card_app_profile *aprof)
 Register an application profile. More...
 
struct osim_card_app_profileosim_aprof_usim (void *ctx)
 
struct osim_card_app_profileosim_aprof_isim (void *ctx)
 
struct osim_card_app_profileosim_aprof_hpsim (void *ctx)
 

Variables

const struct osim_reader_ops pcsc_reader_ops
 

Function Documentation

◆ add_df_with_ef()

struct osim_file_desc * add_df_with_ef ( struct osim_file_desc parent,
uint16_t  fid,
const char *  name,
const struct osim_file_desc in,
int  num 
)

◆ add_filedesc()

void add_filedesc ( struct osim_file_desc root,
const struct osim_file_desc in,
int  num 
)

◆ alloc_adf_with_ef()

struct osim_file_desc * alloc_adf_with_ef ( void *  ctx,
const uint8_t *  adf_name,
uint8_t  adf_name_len,
const char *  name,
const struct osim_file_desc in,
int  num 
)

◆ alloc_df()

◆ default_decode()

int default_decode ( struct osim_decoded_data dd,
const struct osim_file_desc desc,
int  len,
uint8_t *  data 
)

◆ element_alloc()

◆ element_alloc_sub()

◆ osim_app_profile_register()

void osim_app_profile_register ( struct osim_card_app_profile aprof)

◆ osim_aprof_hpsim()

◆ osim_aprof_isim()

◆ osim_aprof_usim()

Variable Documentation

◆ pcsc_reader_ops

const struct osim_reader_ops pcsc_reader_ops
extern

Referenced by osim_reader_open().