repo.or.cz
/
oscam.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Create tag for version 0.99.1
[oscam.git]
/
reader-common.h
blob
49f88368ece397a9319cde507a4cc7c13d75a882
1
#include
"ctapi.h"
2
#include
"ctbcs.h"
3
4
#define ADDRLEN 4
// Address length in EMM commands
5
#define MAX_PROV 16
6
#define SCT_LEN(sct) (3+((sct[1]&0x0f)<<8)+sct[2])
7
#define MAX_LEN 256
8
9
#define CARD_INSERTED 1
10
#define CARD_NEED_INIT 2
11
#define CARD_FAILURE 4