|
SASC-NG
DVBSoftCAM
|
#include <stdlib.h>#include <string.h>#include <errno.h>#include <fcntl.h>#include <sys/ioctl.h>#include <sys/poll.h>#include <unistd.h>#include <termios.h>#include <linux/serial.h>#include <ctype.h>#include <vdr/tools.h>#include <vdr/thread.h>#include "smartcard.h"#include "global.h"#include "misc.h"#include "log-core.h"Go to the source code of this file.
Classes | |
| class | cSmartCardSlot |
| class | cSmartCardSlotLink |
| class | cSmartCardSlotLinkReg< LL > |
| class | cSmartCardSlots |
| class | cSmartCardSlotSerial |
| class | cSmartCardSlotSRPlus |
| class | cSmartCardDatas |
Defines | |
| #define | ISO_FREQ 3571200 |
| #define | ISO_BAUD 9600 |
| #define | NEED(x) { if(len+(x)>atr.atrLen) { LBPUT("SHORT ATR"); return false; } } |
Functions | |
| static cSmartCardSlotLinkReg < cSmartCardSlotSerial > | __scs_serial ("serial") |
| static cSmartCardSlotLinkReg < cSmartCardSlotSRPlus > | __scs_srplus ("srplus") |
Variables | |
| static const char * | serModes [] = { 0,"8e2","8o2","8n2" } |
| static cSmartCardSlots | cardslots |
| static cSmartCardDatas | carddatas |
| cSmartCards | smartcards |
| #define ISO_BAUD 9600 |
Definition at line 40 of file smartcard.c.
Referenced by cSmartCardSlot::Action(), and cSmartCardSlotSRPlus::DeviceSetMode().
| #define ISO_FREQ 3571200 |
Definition at line 39 of file smartcard.c.
Referenced by cSmartCardSlot::cSmartCardSlot(), cSmartCardSlotSRPlus::DeviceOpen(), cSmartCardSlotSerial::DeviceOpen(), and cSmartCardSlotSRPlus::DevicePTS().
| #define NEED | ( | x | ) | { if(len+(x)>atr.atrLen) { LBPUT("SHORT ATR"); return false; } } |
Definition at line 408 of file smartcard.c.
Referenced by cSmartCardSlot::ParseAtr().
| static cSmartCardSlotLinkReg<cSmartCardSlotSerial> __scs_serial | ( | "serial" | ) | [static] |
| static cSmartCardSlotLinkReg<cSmartCardSlotSRPlus> __scs_srplus | ( | "srplus" | ) | [static] |
cSmartCardDatas carddatas [static] |
Definition at line 1885 of file smartcard.c.
cSmartCardSlots cardslots [static] |
Definition at line 588 of file smartcard.c.
const char* serModes[] = { 0,"8e2","8o2","8n2" } [static] |
Definition at line 105 of file smartcard.c.
Referenced by cSmartCardSlot::Action(), and cSmartCardSlot::Reset().
Definition at line 2019 of file smartcard.c.
Referenced by cSmartCardSlot::Action(), cSystemLinkScVideoGuard2::CanHandle(), cSystemLinkScViaccess::CanHandle(), cSystemLinkScSeca::CanHandle(), cSystemLinkScNagra::CanHandle(), cSystemLinkScIrdeto::CanHandle(), cSystemLinkScCryptoworks::CanHandle(), cSystemLinkScConax::CanHandle(), cMenuInfoCard::cMenuInfoCard(), cMenuSetupSc::cMenuSetupSc(), cSmartCardConax::Decode(), cSmartCardSlot::GetCardIdStr(), cSmartCardVideoGuard2::Init(), cSmartCardViaccess::Init(), cSmartCardNagra::Init(), cSmartCardIrdeto::Init(), cSmartCardCryptoworks::Init(), InitAll(), cSoftCAM::Load(), cSmartCardDatas::ParseLine(), cSystemScCore::ProcessECM(), cSystemScCore::ProcessEMM(), cMenuInfoCard::ProcessKey(), and cSoftCAM::Shutdown().