libosmosim 1.9.0.209-e0c63
Osmocom SIM library
class_tables.h
Go to the documentation of this file.
1
3/*
4 * (C) 2016 by Harald Welte <laforge@gnumonks.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2, or
8 * any later version as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#pragma once
17
18#include <stdint.h>
19
21 uint8_t cla;
22 uint8_t cla_mask;
23 int (*helper)(const struct osim_cla_ins_case *cic, const uint8_t *hdr);
24 const uint8_t *ins_tbl;
25};
26
28 const char *name;
29 const char *description;
31 unsigned int cic_arr_size;
32};
33
37
39 const uint8_t *hdr);
int osim_determine_apdu_case(const struct osim_cla_ins_card_profile *prof, const uint8_t *hdr)
Definition: class_tables.c:396
const struct osim_cla_ins_card_profile osim_uicc_cic_profile
Definition: class_tables.c:308
const struct osim_cla_ins_card_profile osim_iso7816_cic_profile
Definition: class_tables.c:69
const struct osim_cla_ins_card_profile osim_uicc_sim_cic_profile
Definition: class_tables.c:377
Definition: class_tables.h:27
const struct osim_cla_ins_case * cic_arr
Definition: class_tables.h:30
const char * description
Definition: class_tables.h:29
const char * name
Definition: class_tables.h:28
unsigned int cic_arr_size
Definition: class_tables.h:31
Definition: class_tables.h:20
uint8_t cla_mask
Definition: class_tables.h:22
uint8_t cla
Definition: class_tables.h:21
int(* helper)(const struct osim_cla_ins_case *cic, const uint8_t *hdr)
Definition: class_tables.h:23
const uint8_t * ins_tbl
Definition: class_tables.h:24