include/ca.h: add missing SetCIOperator()

Origin commit data
------------------
Branch: master
Commit: e0a68912b8
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2025-05-01 (Thu, 01 May 2025)

Origin message was:
------------------
- include/ca.h: add missing SetCIOperator()

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2025-05-01 10:29:47 +02:00
committed by vanhofen
parent 46db105bd5
commit 6ce79914d8
2 changed files with 4 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ uint32_t cCA::GetNumberSmartCardSlots(void)
void cCA::ModuleName(enum CA_SLOT_TYPE, uint32_t p, char * /*Name*/) void cCA::ModuleName(enum CA_SLOT_TYPE, uint32_t p, char * /*Name*/)
{ {
/* TODO: waht to do with *Name? */ /* TODO: what to do with *Name? */
hal_debug("%s param:%d\n", __FUNCTION__, (int)p); hal_debug("%s param:%d\n", __FUNCTION__, (int)p);
} }

View File

@@ -105,8 +105,8 @@ class cCA
static cCA *GetInstance(void); static cCA *GetInstance(void);
bool SendPMT(int Unit, unsigned char *Data, int Len, CA_SLOT_TYPE SlotType = CA_SLOT_TYPE_ALL); bool SendPMT(int Unit, unsigned char *Data, int Len, CA_SLOT_TYPE SlotType = CA_SLOT_TYPE_ALL);
// bool SendCAPMT(u64 /*Source*/, u8 /*DemuxSource*/, u8 /*DemuxMask*/, const unsigned char * /*CAPMT*/, u32 /*CAPMTLen*/, const unsigned char * /*RawPMT*/, u32 /*RawPMTLen*/) { return true; }; // bool SendCAPMT(u64 /*Source*/, u8 /*DemuxSource*/, u8 /*DemuxMask*/, const unsigned char * /*CAPMT*/, u32 /*CAPMTLen*/, const unsigned char * /*RawPMT*/, u32 /*RawPMTLen*/) { return true; };
bool SendCAPMT(u64 /*Source*/, u8 /*DemuxSource*/, u8 /*DemuxMask*/, const unsigned char * /*CAPMT*/, u32 /*CAPMTLen*/, const unsigned char * /*RawPMT*/, u32 /*RawPMTLen*/, enum CA_SLOT_TYPE bool SendCAPMT(u64 /*Source*/, u8 /*DemuxSource*/, u8 /*DemuxMask*/, const unsigned char * /*CAPMT*/, u32 /*CAPMTLen*/, const unsigned char * /*RawPMT*/, u32 /*RawPMTLen*/,
/*SlotType*/, unsigned char /*scrambled = 0*/, ca_map_t /*camap = std::set<int>()*/, int /*mode = 0*/, bool /*enabled = false*/) { return true; }; enum CA_SLOT_TYPE /*SlotType*/, unsigned char /*scrambled = 0*/, ca_map_t /*camap = std::set<int>()*/, int /*mode = 0*/, bool /*enabled = false*/) { return true; };
bool SendMessage(const CA_MESSAGE *Msg); bool SendMessage(const CA_MESSAGE *Msg);
void SetInitMask(enum CA_INIT_MASK InitMask); void SetInitMask(enum CA_INIT_MASK InitMask);
int GetCAIDS(CaIdVector & /*Caids*/) { return 0; }; int GetCAIDS(CaIdVector & /*Caids*/) { return 0; };
@@ -121,6 +121,7 @@ class cCA
void InputAnswer(enum CA_SLOT_TYPE, uint32_t Slot, uint8_t *Data, int Len); void InputAnswer(enum CA_SLOT_TYPE, uint32_t Slot, uint8_t *Data, int Len);
void MenuClose(enum CA_SLOT_TYPE, uint32_t Slot); void MenuClose(enum CA_SLOT_TYPE, uint32_t Slot);
void SetTSClock(u32 /*Speed*/, int /*slot*/) { return; }; void SetTSClock(u32 /*Speed*/, int /*slot*/) { return; };
void SetCIOperator(int /*ciop*/, int /*slot = 0*/) { return; };
bool checkChannelID(u64 /*chanID*/) { return false; }; bool checkChannelID(u64 /*chanID*/) { return false; };
void setCheckLiveSlot(int /*check*/) { return; }; void setCheckLiveSlot(int /*check*/) { return; };
/// start pollthread after zapit is ready /// start pollthread after zapit is ready