From 6ce79914d8e19f46d8bbe70c81d36fdde1caa677 Mon Sep 17 00:00:00 2001 From: BPanther Date: Thu, 1 May 2025 10:29:47 +0200 Subject: [PATCH] include/ca.h: add missing SetCIOperator() Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/e0a68912b8c2e37d6478dc75f2ed3768e6454b35 Author: BPanther 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 --- common/ca.cpp | 2 +- include/ca.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/ca.cpp b/common/ca.cpp index 752233b..8db2036 100644 --- a/common/ca.cpp +++ b/common/ca.cpp @@ -61,7 +61,7 @@ uint32_t cCA::GetNumberSmartCardSlots(void) 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); } diff --git a/include/ca.h b/include/ca.h index 63a196d..57a348a 100644 --- a/include/ca.h +++ b/include/ca.h @@ -105,8 +105,8 @@ class cCA static cCA *GetInstance(void); 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*/, enum CA_SLOT_TYPE - /*SlotType*/, unsigned char /*scrambled = 0*/, ca_map_t /*camap = std::set()*/, int /*mode = 0*/, bool /*enabled = false*/) { 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 /*SlotType*/, unsigned char /*scrambled = 0*/, ca_map_t /*camap = std::set()*/, int /*mode = 0*/, bool /*enabled = false*/) { return true; }; bool SendMessage(const CA_MESSAGE *Msg); void SetInitMask(enum CA_INIT_MASK InitMask); 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 MenuClose(enum CA_SLOT_TYPE, uint32_t Slot); void SetTSClock(u32 /*Speed*/, int /*slot*/) { return; }; + void SetCIOperator(int /*ciop*/, int /*slot = 0*/) { return; }; bool checkChannelID(u64 /*chanID*/) { return false; }; void setCheckLiveSlot(int /*check*/) { return; }; /// start pollthread after zapit is ready