4 #define __FBLIB_RELEASEDATE__ "2020-01-02"
6 #define __FBLIB_VERSION__ __FBLIB_RELEASEDATE__
23 #define FB_LOG_ENTRY_LIB_PRINTF
36 #define __attribute__(a)
41 #undef __USE_LARGEFILE64
42 #define __USE_LARGEFILE64
43 #undef _LARGEFILE64_SOURCE
44 #define _LARGEFILE64_SOURCE
45 #define _FILE_OFFSET_BITS 64
47 #include <sys/types.h>
62 #define DIR_PROGRAMFILES "/ProgramFiles"
63 #define DIR_SETTINGS "Settings"
167 #define TS_FILE_NAME_SIZE (MAX_FILE_NAME_SIZE + 1)
168 #define ATTR_PARENT 0xf0
178 #ifndef FB_NO_TAP_PRINT_OVERRIDE
179 extern int snprintf(
char *,
size_t,
const char *, ...);
180 #define TAP_PrintNet(...) do { snprintf(PrintNetBuffer, sizeof(PrintNetBuffer), __VA_ARGS__); PrintNet(PrintNetBuffer); } while (0)
181 #define TAP_Print TAP_PrintNet
211 #define RKEY_Red RKEY_NewF1
212 #define RKEY_Green RKEY_F2
213 #define RKEY_Yellow RKEY_F3
214 #define RKEY_Blue RKEY_F4
215 #define RKEY_Option 0x10049
216 #define RKEY_White RKEY_Option
219 #define SVCSTATUS_MASK_Audio 0x00010000
222 #define TAP_ALPHA 255
225 #define _Clip(a) (a)>255 ? 255 : (a)<0 ? 0 : (a)
227 #define YUVR(y,u,v) ((0x2568*(y) + 0x3343*(u)) >>13)
228 #define YUVG(y,u,v) ((0x2568*(y) - 0x0c92*(v) - 0x1a1e*(u)) >>13)
229 #define YUVB(y,u,v) ((0x2568*(y) + 0x40cf*(v)) >>13)
231 #define win_w(w) ((w) + 51)
232 #define win_h(h) (((h) / 22 + ((h) % 22 ? 1 : 0)) * 22 + 8)
233 #define win_l(h) ((win_h(h) - 8) / 22)
235 #define A1555(x) (((x)>>15)&0x01)
236 #define R1555(x) (((x)>>10)&0x1f)
237 #define G1555(x) (((x)>> 5)&0x1f)
238 #define B1555(x) (((x)>> 0)&0x1f)
240 #define A8888(x) (((x)>>24)&0xff)
241 #define R8888(x) (((x)>>16)&0xff)
242 #define G8888(x) (((x)>> 8)&0xff)
243 #define B8888(x) (((x)>> 0)&0xff)
245 #define ARGB2TMS(a,r,g,b) ((dword) (((a) ? TAP_ALPHA : 0) << 24 | (byte) ((r) * 8.2258) << 16 | (byte) ((g) * 8.2258) << 8 | (byte) ((b) * 8.2258)))
246 #define ARGBtoTMS(a,r,g,b) a*=0xff;r*=8.2258;g*=8.2258;b*=8.2258
247 #define TMStoARGB(a,r,g,b) a/=0xff;r/=8.2258;g/=8.2258;b/=8.2258
302 char StreamName[64][32];
304 byte unused4[64 * 32];
318 bool CaptureScreen(
int BMPwidth,
int BMPheight,
byte *BMPPixelBuffer,
bool bOSD,
int Alpha);
319 void DrawOSDLine(word
OSDRgn, dword Ax, dword Ay, dword Bx, dword By, dword Color);
320 void DrawScrollbar(word sbRegion,
int sbX,
int sbY,
int sbHeight,
int sbCurrent,
int sbWindow,
int sbMax);
326 bool GetPIPPosition(
int *North,
int *South,
int *East,
int *West);
328 bool isAnyOSDVisible(dword CheckX, dword CheckY, dword CheckW, dword CheckH);
329 bool isAnyOSDVisibleEx(dword CheckX, dword CheckY, dword CheckW, dword CheckH,
byte Plane);
336 bool SaveBitmap(
char *FileName,
int width,
int height,
byte* pBuffer);
338 void ShowMessageWin(
char* title,
char* lpMessage1,
char* lpMessage2, dword dwDelay);
339 void ShowMessageWindow(
char **content, dword pos_x, dword pos_y,
byte fntSize,
byte align, dword bdcolor, dword titlecolor, dword msgcolor, dword bgcolor, dword delay);
341 void SoundSinus(word freq, dword durationInMilliseconds, word Amplitude);
362 word
CompressBlock(
byte *pInput, word InBufferSize,
byte *pOutput);
363 dword
CompressTFD(
byte *pSrc, dword SourceBufferSize,
byte *pDest, word TFDType, word SysID,
void *pPercentFinishedCallback);
364 dword
CompressedTFDSize(
byte *pSrc, dword SourceBufferSize,
void *pPercentFinishedCallback);
365 word
CRC16(word StartValue,
void *StartAddress, dword Length);
366 dword
CRC32(dword StartValue,
void *StartAddress, dword Length);
367 bool MD5String(
char *inString,
byte *Digest);
368 bool MD5File(
char *FileName,
byte *Digest);
369 dword
OATH(
register byte *data,
int len, dword hash);
372 dword
UncompressLoader(
byte *pSrc,
byte *pDest,
void *pPercentFinishedCallback);
376 dword
UncompressTFD(
byte *pSrc,
byte *pDest,
void *pPercentFinishedCallback);
496 #define CURLOPTTYPE_LONG 0
497 #define CURLOPTTYPE_OBJECTPOINT 10000
498 #define CURLOPTTYPE_FUNCTIONPOINT 20000
499 #define CURLOPTTYPE_OFF_T 30000
501 #define CINIT(na,t,nu) CURLOPT_ ## na = CURLOPTTYPE_ ## t + nu
512 CINIT(URL, OBJECTPOINT, 2),
513 CINIT(PORT, LONG, 3),
514 CINIT(PROXY, OBJECTPOINT, 4),
515 CINIT(USERPWD, OBJECTPOINT, 5),
516 CINIT(PROXYUSERPWD, OBJECTPOINT, 6),
517 CINIT(RANGE, OBJECTPOINT, 7),
519 CINIT(INFILE, OBJECTPOINT, 9),
520 CINIT(ERRORBUFFER, OBJECTPOINT, 10),
522 CINIT(WRITEFUNCTION, FUNCTIONPOINT, 11),
524 CINIT(READFUNCTION, FUNCTIONPOINT, 12),
526 CINIT(TIMEOUT, LONG, 13),
538 CINIT(INFILESIZE, LONG, 14),
539 CINIT(POSTFIELDS, OBJECTPOINT, 15),
540 CINIT(REFERER, OBJECTPOINT, 16),
541 CINIT(FTPPORT, OBJECTPOINT, 17),
542 CINIT(USERAGENT, OBJECTPOINT, 18),
550 CINIT(LOW_SPEED_LIMIT, LONG, 19),
551 CINIT(LOW_SPEED_TIME, LONG, 20),
552 CINIT(RESUME_FROM, LONG, 21),
556 CINIT(COOKIE, OBJECTPOINT, 22),
557 CINIT(HTTPHEADER, OBJECTPOINT, 23),
558 CINIT(HTTPPOST, OBJECTPOINT, 24),
559 CINIT(SSLCERT, OBJECTPOINT, 25),
560 CINIT(KEYPASSWD, OBJECTPOINT, 26),
561 CINIT(CRLF, LONG, 27),
562 CINIT(QUOTE, OBJECTPOINT, 28),
566 CINIT(WRITEHEADER, OBJECTPOINT, 29),
570 CINIT(COOKIEFILE, OBJECTPOINT, 31),
574 CINIT(SSLVERSION, LONG, 32),
577 CINIT(TIMECONDITION, LONG, 33),
581 CINIT(TIMEVALUE, LONG, 34),
589 CINIT(CUSTOMREQUEST, OBJECTPOINT, 36),
592 CINIT(STDERR, OBJECTPOINT, 37),
597 CINIT(POSTQUOTE, OBJECTPOINT, 39),
599 CINIT(WRITEINFO, OBJECTPOINT, 40),
601 CINIT(VERBOSE, LONG, 41),
602 CINIT(HEADER, LONG, 42),
603 CINIT(NOPROGRESS, LONG, 43),
604 CINIT(NOBODY, LONG, 44),
605 CINIT(FAILONERROR, LONG, 45),
606 CINIT(UPLOAD, LONG, 46),
607 CINIT(POST, LONG, 47),
608 CINIT(DIRLISTONLY, LONG, 48),
610 CINIT(APPEND, LONG, 50),
614 CINIT(NETRC, LONG, 51),
616 CINIT(FOLLOWLOCATION, LONG, 52),
618 CINIT(TRANSFERTEXT, LONG, 53),
619 CINIT(PUT, LONG, 54),
626 CINIT(PROGRESSFUNCTION, FUNCTIONPOINT, 56),
629 CINIT(PROGRESSDATA, OBJECTPOINT, 57),
632 CINIT(AUTOREFERER, LONG, 58),
636 CINIT(PROXYPORT, LONG, 59),
639 CINIT(POSTFIELDSIZE, LONG, 60),
642 CINIT(HTTPPROXYTUNNEL, LONG, 61),
645 CINIT(INTERFACE, OBJECTPOINT, 62),
650 CINIT(KRBLEVEL, OBJECTPOINT, 63),
653 CINIT(SSL_VERIFYPEER, LONG, 64),
657 CINIT(CAINFO, OBJECTPOINT, 65),
663 CINIT(MAXREDIRS, LONG, 68),
667 CINIT(FILETIME, LONG, 69),
670 CINIT(TELNETOPTIONS, OBJECTPOINT, 70),
673 CINIT(MAXCONNECTS, LONG, 71),
675 CINIT(CLOSEPOLICY, LONG, 72),
682 CINIT(FRESH_CONNECT, LONG, 74),
687 CINIT(FORBID_REUSE, LONG, 75),
691 CINIT(RANDOM_FILE, OBJECTPOINT, 76),
694 CINIT(EGDSOCKET, OBJECTPOINT, 77),
698 CINIT(CONNECTTIMEOUT, LONG, 78),
702 CINIT(HEADERFUNCTION, FUNCTIONPOINT, 79),
707 CINIT(HTTPGET, LONG, 80),
712 CINIT(SSL_VERIFYHOST, LONG, 81),
716 CINIT(COOKIEJAR, OBJECTPOINT, 82),
719 CINIT(SSL_CIPHER_LIST, OBJECTPOINT, 83),
723 CINIT(HTTP_VERSION, LONG, 84),
728 CINIT(FTP_USE_EPSV, LONG, 85),
731 CINIT(SSLCERTTYPE, OBJECTPOINT, 86),
734 CINIT(SSLKEY, OBJECTPOINT, 87),
737 CINIT(SSLKEYTYPE, OBJECTPOINT, 88),
740 CINIT(SSLENGINE, OBJECTPOINT, 89),
745 CINIT(SSLENGINE_DEFAULT, LONG, 90),
748 CINIT(DNS_USE_GLOBAL_CACHE, LONG, 91),
751 CINIT(DNS_CACHE_TIMEOUT, LONG, 92),
754 CINIT(PREQUOTE, OBJECTPOINT, 93),
757 CINIT(DEBUGFUNCTION, FUNCTIONPOINT, 94),
760 CINIT(DEBUGDATA, OBJECTPOINT, 95),
763 CINIT(COOKIESESSION, LONG, 96),
767 CINIT(CAPATH, OBJECTPOINT, 97),
770 CINIT(BUFFERSIZE, LONG, 98),
775 CINIT(NOSIGNAL, LONG, 99),
778 CINIT(SHARE, OBJECTPOINT, 100),
782 CINIT(PROXYTYPE, LONG, 101),
787 CINIT(ACCEPT_ENCODING, OBJECTPOINT, 102),
790 CINIT(PRIVATE, OBJECTPOINT, 103),
793 CINIT(HTTP200ALIASES, OBJECTPOINT, 104),
798 CINIT(UNRESTRICTED_AUTH, LONG, 105),
803 CINIT(FTP_USE_EPRT, LONG, 106),
808 CINIT(HTTPAUTH, LONG, 107),
813 CINIT(SSL_CTX_FUNCTION, FUNCTIONPOINT, 108),
817 CINIT(SSL_CTX_DATA, OBJECTPOINT, 109),
823 CINIT(FTP_CREATE_MISSING_DIRS, LONG, 110),
828 CINIT(PROXYAUTH, LONG, 111),
834 CINIT(FTP_RESPONSE_TIMEOUT, LONG, 112),
835 #define CURLOPT_SERVER_RESPONSE_TIMEOUT CURLOPT_FTP_RESPONSE_TIMEOUT
840 CINIT(IPRESOLVE, LONG, 113),
847 CINIT(MAXFILESIZE, LONG, 114),
852 CINIT(INFILESIZE_LARGE, OFF_T, 115),
857 CINIT(RESUME_FROM_LARGE, OFF_T, 116),
862 CINIT(MAXFILESIZE_LARGE, OFF_T, 117),
868 CINIT(NETRC_FILE, OBJECTPOINT, 118),
875 CINIT(USE_SSL, LONG, 119),
878 CINIT(POSTFIELDSIZE_LARGE, OFF_T, 120),
881 CINIT(TCP_NODELAY, LONG, 121),
901 CINIT(FTPSSLAUTH, LONG, 129),
903 CINIT(IOCTLFUNCTION, FUNCTIONPOINT, 130),
904 CINIT(IOCTLDATA, OBJECTPOINT, 131),
911 CINIT(FTP_ACCOUNT, OBJECTPOINT, 134),
914 CINIT(COOKIELIST, OBJECTPOINT, 135),
917 CINIT(IGNORE_CONTENT_LENGTH, LONG, 136),
923 CINIT(FTP_SKIP_PASV_IP, LONG, 137),
927 CINIT(FTP_FILEMETHOD, LONG, 138),
930 CINIT(LOCALPORT, LONG, 139),
935 CINIT(LOCALPORTRANGE, LONG, 140),
939 CINIT(CONNECT_ONLY, LONG, 141),
943 CINIT(CONV_FROM_NETWORK_FUNCTION, FUNCTIONPOINT, 142),
947 CINIT(CONV_TO_NETWORK_FUNCTION, FUNCTIONPOINT, 143),
952 CINIT(CONV_FROM_UTF8_FUNCTION, FUNCTIONPOINT, 144),
956 CINIT(MAX_SEND_SPEED_LARGE, OFF_T, 145),
957 CINIT(MAX_RECV_SPEED_LARGE, OFF_T, 146),
960 CINIT(FTP_ALTERNATIVE_TO_USER, OBJECTPOINT, 147),
963 CINIT(SOCKOPTFUNCTION, FUNCTIONPOINT, 148),
964 CINIT(SOCKOPTDATA, OBJECTPOINT, 149),
968 CINIT(SSL_SESSIONID_CACHE, LONG, 150),
971 CINIT(SSH_AUTH_TYPES, LONG, 151),
974 CINIT(SSH_PUBLIC_KEYFILE, OBJECTPOINT, 152),
975 CINIT(SSH_PRIVATE_KEYFILE, OBJECTPOINT, 153),
978 CINIT(FTP_SSL_CCC, LONG, 154),
981 CINIT(TIMEOUT_MS, LONG, 155),
982 CINIT(CONNECTTIMEOUT_MS, LONG, 156),
986 CINIT(HTTP_TRANSFER_DECODING, LONG, 157),
987 CINIT(HTTP_CONTENT_DECODING, LONG, 158),
991 CINIT(NEW_FILE_PERMS, LONG, 159),
992 CINIT(NEW_DIRECTORY_PERMS, LONG, 160),
996 CINIT(POSTREDIR, LONG, 161),
999 CINIT(SSH_HOST_PUBLIC_KEY_MD5, OBJECTPOINT, 162),
1005 CINIT(OPENSOCKETFUNCTION, FUNCTIONPOINT, 163),
1006 CINIT(OPENSOCKETDATA, OBJECTPOINT, 164),
1009 CINIT(COPYPOSTFIELDS, OBJECTPOINT, 165),
1012 CINIT(PROXY_TRANSFER_MODE, LONG, 166),
1015 CINIT(SEEKFUNCTION, FUNCTIONPOINT, 167),
1016 CINIT(SEEKDATA, OBJECTPOINT, 168),
1019 CINIT(CRLFILE, OBJECTPOINT, 169),
1022 CINIT(ISSUERCERT, OBJECTPOINT, 170),
1025 CINIT(ADDRESS_SCOPE, LONG, 171),
1030 CINIT(CERTINFO, LONG, 172),
1033 CINIT(USERNAME, OBJECTPOINT, 173),
1034 CINIT(PASSWORD, OBJECTPOINT, 174),
1037 CINIT(PROXYUSERNAME, OBJECTPOINT, 175),
1038 CINIT(PROXYPASSWORD, OBJECTPOINT, 176),
1047 CINIT(NOPROXY, OBJECTPOINT, 177),
1050 CINIT(TFTP_BLKSIZE, LONG, 178),
1053 CINIT(SOCKS5_GSSAPI_SERVICE, OBJECTPOINT, 179),
1056 CINIT(SOCKS5_GSSAPI_NEC, LONG, 180),
1062 CINIT(PROTOCOLS, LONG, 181),
1068 CINIT(REDIR_PROTOCOLS, LONG, 182),
1071 CINIT(SSH_KNOWNHOSTS, OBJECTPOINT, 183),
1075 CINIT(SSH_KEYFUNCTION, FUNCTIONPOINT, 184),
1078 CINIT(SSH_KEYDATA, OBJECTPOINT, 185),
1081 CINIT(MAIL_FROM, OBJECTPOINT, 186),
1084 CINIT(MAIL_RCPT, OBJECTPOINT, 187),
1087 CINIT(FTP_USE_PRET, LONG, 188),
1090 CINIT(RTSP_REQUEST, LONG, 189),
1093 CINIT(RTSP_SESSION_ID, OBJECTPOINT, 190),
1096 CINIT(RTSP_STREAM_URI, OBJECTPOINT, 191),
1099 CINIT(RTSP_TRANSPORT, OBJECTPOINT, 192),
1102 CINIT(RTSP_CLIENT_CSEQ, LONG, 193),
1105 CINIT(RTSP_SERVER_CSEQ, LONG, 194),
1108 CINIT(INTERLEAVEDATA, OBJECTPOINT, 195),
1111 CINIT(INTERLEAVEFUNCTION, FUNCTIONPOINT, 196),
1114 CINIT(WILDCARDMATCH, LONG, 197),
1118 CINIT(CHUNK_BGN_FUNCTION, FUNCTIONPOINT, 198),
1122 CINIT(CHUNK_END_FUNCTION, FUNCTIONPOINT, 199),
1125 CINIT(FNMATCH_FUNCTION, FUNCTIONPOINT, 200),
1128 CINIT(CHUNK_DATA, OBJECTPOINT, 201),
1131 CINIT(FNMATCH_DATA, OBJECTPOINT, 202),
1134 CINIT(RESOLVE, OBJECTPOINT, 203),
1137 CINIT(TLSAUTH_USERNAME, OBJECTPOINT, 204),
1140 CINIT(TLSAUTH_PASSWORD, OBJECTPOINT, 205),
1143 CINIT(TLSAUTH_TYPE, OBJECTPOINT, 206),
1155 CINIT(TRANSFER_ENCODING, LONG, 207),
1159 CINIT(CLOSESOCKETFUNCTION, FUNCTIONPOINT, 208),
1160 CINIT(CLOSESOCKETDATA, OBJECTPOINT, 209),
1163 CINIT(GSSAPI_DELEGATION, LONG, 210),
1166 CINIT(DNS_SERVERS, OBJECTPOINT, 211),
1170 CINIT(ACCEPTTIMEOUT_MS, LONG, 212),
1173 CINIT(TCP_KEEPALIVE, LONG, 213),
1176 CINIT(TCP_KEEPIDLE, LONG, 214),
1177 CINIT(TCP_KEEPINTVL, LONG, 215),
1180 CINIT(SSL_OPTIONS, LONG, 216),
1183 CINIT(MAIL_AUTH, OBJECTPOINT, 217),
1188 #define CURLOPT_WRITEDATA CURLOPT_FILE
1204 void DumpMemory(
byte* p, dword size,
int BytesPerLine);
1211#ifdef FB_LOG_ENTRY_LIB_PRINTF
1214 #define LogEntryFBLibPrintf(Console, ...) do { if (0) TAP_Print(__VA_ARGS__); } while (0)
1216 bool HookFirmware(
char *FirmwareFunctionName,
void *RedirectTo,
void *PointerToOriginal);
1217 bool UnhookFirmware(
char *FirmwareFunctionName,
void *RedirectTo,
void *PointerToOriginal);
1229 #define CallTraceInit(...) (void) 0
1230 #define CallTraceEnable(...) (void) 0
1231 #define CallTraceEnter(...) (void) 0
1232 #define CallTraceExit(...) (void) 0
1233 #define CallTraceExitResult(...) (void) 0
1234 #define CallTraceComment(...) (void) 0
1235 #define CallTraceExportStats(...) (void) 0
1236 #define CallTraceResetStats(...) (void) 0
1240 #define TRACEENTER() CallTraceEnter((char*)__FUNCTION__)
1241 #define TRACEEXIT() CallTraceExit(NULL)
1243 #define TRACEENTER() (void) 0
1244 #define TRACEEXIT() (void) 0
1259 int TAP_Osd_Copy_Chk(
char *Comment, word srcRgnNum, word dstRgnNum, dword srcX, dword srcY, dword w, dword h, dword dstX, dword dstY,
bool sprite);
1260 int TAP_Osd_Create_Chk(
char *Comment, dword x, dword y, dword w, dword h,
byte lutIdx,
int flag);
1261 int TAP_Osd_FillBox_Chk(
char *Comment, word rgn, dword x, dword y, dword w, dword h, dword color);
1263 int TAP_Osd_PutGd_Chk(
char *Comment, word rgn,
int x,
int y, TYPE_GrData * gd,
bool sprite);
1268 #define TAP_MemAlloc_Chk(Comment, ...) TAP_MemAlloc(__VA_ARGS__)
1269 #define TAP_Osd_Copy_Chk(Comment, ...) TAP_Osd_Copy(__VA_ARGS__)
1270 #define TAP_Osd_Create_Chk(Comment, ...) TAP_Osd_Create(__VA_ARGS__)
1271 #define TAP_Osd_FillBox_Chk(Comment, ...) TAP_Osd_FillBox(__VA_ARGS__)
1272 #define TAP_Osd_PutFreeColorGd_Chk(Comment, ...) TAP_Osd_PutFreeColorGd(__VA_ARGS__)
1273 #define TAP_Osd_PutGd_Chk(Comment, ...) TAP_Osd_PutGd(__VA_ARGS__)
1274 #define TAP_Osd_PutPixel_Chk(Comment, ...) TAP_Osd_PutPixel(__VA_ARGS__)
1275 #define TAP_Osd_RestoreBox_Chk(Comment, ...) TAP_Osd_RestoreBox(__VA_ARGS__)
1276 #define TAP_Osd_SaveBox_Chk(Comment, ...) TAP_Osd_SaveBox(__VA_ARGS__)
1322 char EventName[256];
1323 char ShortEventText[256];
1324 char ExtEventText[8192];
1380 bool ExtAttribGet(
char *FileName,
char *AttrName,
byte *Data,
int MaxDataLen,
int *DataLen);
1382 bool ExtAttribSet(
char *FileName,
char *AttrName,
byte *Data,
int DataLen);
1418 #define ezxml_next(xml) ((xml) ? xml->next : NULL)
1425 #define ezxml_name(xml) ((xml) ? xml->name : NULL)
1428 #define ezxml_txt(xml) ((xml) ? xml->txt : "")
1459 dword
Appl_GetEvtCount(
byte SatIndex, word NetID, word TSID, word ServiceID);
1481 dword
Appl_WaitEvt(dword Event, dword *a1, dword a2, dword a3, dword Timeout);
1488 dword
ApplHdd_FileCutPaste(
char *SourceFileName,
unsigned int StartBlock,
unsigned int NrBlocks,
char *CutFileName);
1499 word
ApplSvc_GetSvcIdx(
byte TYPE_ServiceType,
byte SatIndex, word TPIndex, word ServiceID, word Start, word NrOfServicesToSearch);
1504 void DevFront_SetIrCode(
byte Index,
byte Active,
byte MfgID1,
byte MfgID2,
byte Code0a);
1533 char ServiceName[MAX_SvcName + 1];
1534 char ProviderName[40];
1547 bool FlashServiceFindNum(
byte SatIndex, word NetworkID, word TSID, word ServiceID, TYPE_ServiceType *SvcType,
int *SvcNum);
1568 byte DiSEqC12Flags[3];
1589 char SatName[MAX_SatName];
1691 char rs_episodeCRID[64];
1692 char rs_seriesCRID[64];
1718 char FileName[50][128];
1808 #define DIR_FONTS "Fonts"
1809 #define FONTSDIR DIR_PROGRAMFILES "/" DIR_SETTINGS "/" DIR_FONTS
1826 void FM_PutString(word rgn, dword x, dword y, dword maxX,
char * str, dword fcolor, dword bcolor,
tFontData *FontData,
byte bDot,
byte align);
1827 void FM_PutStringAA(word rgn, dword x, dword y, dword maxX,
char * str, dword fcolor, dword bcolor,
tFontData *FontData,
byte bDot,
byte align,
float AntiAliasFactor);
1861 void FMUC_PutString(word rgn, dword x, dword y, dword maxX,
const char * str, dword fcolor, dword bcolor,
tFontDataUC *FontData,
byte bDot,
byte align);
1862 void FMUC_PutStringAA(word rgn, dword x, dword y, dword maxX,
const char *str, dword fcolor, dword bcolor,
tFontDataUC *FontData,
byte bDot,
byte align,
float AntiAliasFactor);
1870 #define TAPFSROOT "/mnt/hd"
1871 #define FBLIB_DIR_SIZE 512
1929 #define INFBLOCKMAGIC "SFIB"
1930 #define INFBLOCKVERSION 1
1969 bool HDD_GetHddID(
char *ModelNo,
char *SerialNo,
char *FirmwareNo);
1975 bool HDD_Move(
const char *FileName,
const char *FromDir,
const char *ToDir);
1979 bool HDD_Rename(
const char *FileName,
const char *NewFileName);
1989 bool HDD_Write(
void *data, dword length, TYPE_File *f);
1992 void SeparateFileNameComponents(
const char *FileName,
char *Path,
char *Name,
char *Ext,
int *Index,
bool *isRec,
bool *isDel);
2014 bool INIGetRGB(
char *Key,
byte *Red,
byte *Green,
byte *Blue, dword DefaultValue);
2015 bool INIGetARGB(
char *Key,
byte *Alpha,
byte *Red,
byte *Green,
byte *Blue, dword DefaultValue);
2016 bool INIGetRGB8(
char *Key,
byte *Red,
byte *Green,
byte *Blue, dword DefaultValue);
2017 bool INIGetARGB8(
char *Key,
byte *Alpha,
byte *Red,
byte *Green,
byte *Blue, dword DefaultValue);
2018 byte INIGetHexByte(
char *Key,
byte DefaultValue,
byte MinValue,
byte MaxValue);
2019 dword
INIGetHexDWord(
char *Key, dword DefaultValue, dword MinValue, dword MaxValue);
2020 word
INIGetHexWord(
char *Key, word DefaultValue, word MinValue, word MaxValue);
2021 long int INIGetInt(
char *Key,
long int DefaultValue,
long int MinValue,
long int MaxValue);
2022 bool INIGetString(
char *Key,
char *Value,
char *DefaultValue, dword MaxLength);
2025 void INISetRGB(
char *Key,
byte Red,
byte Green,
byte Blue);
2026 void INISetRGB8(
char *Key,
byte Red,
byte Green,
byte Blue);
2027 void INISetARGB(
char *Key,
byte Alpha,
byte Red,
byte Green,
byte Blue);
2028 void INISetARGB8(
char *Key,
byte Alpha,
byte Red,
byte Green,
byte Blue);
2032 void INISetInt(
char *Key,
long int Value);
2047 dword
FindInstructionSequence(
char *SearchPattern,
char *SearchMask, dword StartAddress, dword EndAddress,
int EntryPointOffset,
bool SearchForPrevADDIUSP);
2216 #define DIR_LOGOS "Logos"
2217 #define LOGOROOT DIR_PROGRAMFILES "/" DIR_SETTINGS "/" DIR_LOGOS
2218 #define LOGOPACK "LogoPack.tar"
2219 #define LOGOCACHE "Logo.cache"
2220 #define LOGOCACHEID "LGC"
2221 #define LOGOCACHEVERSION 2
2222 #define LILNAME "Logos.lil"
2316 byte HeaderUnknown1[4];
2317 byte HeaderUnknown2[2];
2318 byte HeaderUnknown4[10];
2367 char EventEventName[273];
2368 char EventEventDescription[273];
2370 byte EventUnknown1[2];
2371 byte EventUnknown2[14];
2376 char ExtEventText[1024];
2377 byte ExtEventUnknown2[2];
2379 byte ExtEventUnknown1[3];
2382 byte CryptUnknown2[3];
2385 dword Bookmark[177];
2432 bool HDD_GetRecSlotFiles(
byte Slot, TYPE_File **RecFile, TYPE_File **InfFile, TYPE_File **NavFile);
2438 char *
HDD_MakeNewRecName(
const char *fname, word sequence,
char *NewRecname,
int NewRecNameSize);
2446 bool infData_isAvail(
const char *infFileName,
const char *NameTag, dword *PayloadSize);
2447 bool infData_Get(
const char *infFileName,
const char *NameTag, dword *PayloadSize,
byte **Payload);
2449 bool infData_Set(
const char *infFileName,
char *NameTag, dword PayloadSize,
byte *Payload);
2450 bool infData_Delete(
const char *infFileName,
const char *NameTag);
2493 bool Reboot(
bool StopRecordings);
2510 char *
ansicstr(
const char *
string,
int len,
int flags,
int *sawc,
int *rlen);
2511 void DeleteAt(
char *SourceString,
int Pos,
int Len);
2513 size_t GetLine(
const char *data,
bool strip);
2514 void GetStringEncoding(
const char *Text,
bool *hasAnsiChars,
bool *hasUTFChars);
2515 byte *
GetUCPos(
const byte *String,
int CharPos);
2516 void InsertAt(
const char *SourceString,
int Pos,
char *NewString);
2517 bool isUTF8Char(
const byte *p,
byte *BytesPerChar);
2521 char *
ParseLine(
const char *zeile,
size_t *n,
char delim);
2523 char *
RTrim(
char *s);
2526 byte *
strcpyUC(
byte *dest,
const byte *src);
2530 bool StrMkUTF8(
byte *SourceString,
size_t SourceSize,
byte DefaultISO8859CharSet);
2531 byte *
strncpyUC(
byte *dest,
const byte *src,
size_t n);
2532 bool StrReplace(
char *String,
const char *Find,
const char *Replace);
2533 void StrToISO(
const byte *SourceString,
byte *DestString);
2534 void StrToISOAlloc(
const byte *SourceString,
byte **DestString);
2535 bool StrToUTF8(
const byte *SourceString,
byte *DestString,
byte DefaultISO8859CharSet);
2537 dword
UTF8ToUTF32(
const byte *UTF8Character,
byte *BytesPerChar);
2538 void UTF32ToUTF8(dword UTF32Character,
byte *UTF8Character,
byte *BytesPerChar);
2594 char TAPName[MAX_PROGRAM_NAME];
2595 char Author[MAX_AUTHOR_NAME];
2596 char Description[MAX_DESCRIPTION];
2598#ifdef MAX_PROGRAM_VERSION
2599 char TAPVersion[MAX_PROGRAM_VERSION];
2604 dword
HDD_TAP_Callback(dword TAPID,
void *ProcedureAddress, dword param1, dword param2, dword param3, dword param4);
2617 dword
HDD_TAP_SendEvent(dword TAPID,
bool AllowParamInterception, word event, dword param1, dword param2);
2618 dword
HDD_TAP_Start(
const char *TAPFileName,
bool BatchMode,
void* ParameterBlock, dword *TAPID);
2628 void *
TAP_MemRealloc(
void *ptr,
size_t OldSize,
size_t NewSize,
bool InitMemory);
2636 #define EVT_TAPCOM 0xFFF
2644 #define TAPCOM_App_BROADCAST 0
2648 #define TAPCOM_NO_RETURN_VALUE 0x80000000
2682 #define LAN_Persian LAN_Iran
2683 #define LAN_Suomi (LAN_Persian + 1)
2684 #define LAN_Slovak (LAN_Persian + 2)
2685 #define LAN_Thai (LAN_Persian + 3)
2686 #define LAN_Czech (LAN_Persian + 4)
2687 #define LAN_Bulgarian (LAN_Persian + 5)
2702 #define DATE(mjd, h, m) ((dword) (((mjd) << 16) | ((h) << 8) | (m)))
2703 #define MJD(d) ((word) (((d) >> 16) & 0xffff))
2704 #define TIME(d) ((word) ((d) & 0xffff))
2705 #define HOUR(d) ((byte) (((d) >> 8) & 0xff))
2706 #define MINUTE(d) ((byte) ((d) & 0xff))
2708 dword
AddSec(dword date,
byte dateSec,
int add);
2709 dword
AddTime(dword pvrDate,
int addMinutes);
2712 bool cronGetEvent(
int Index,
int *frequency, dword *nextExecution);
2718 dword
DST_CalcTransition(
byte ruleOrdinal,
byte ruleDay,
byte ruleMonth,
byte ruleHour,
byte ruleMin, dword StartDate);
2723 dword
Now(
byte *Sec);
2726 long TimeDiff(dword FromTime, dword ToTime);
2762 #define OSDMenuGetW OSDMenuGetStringWidth
2763 void OSDMenuInitialize(
bool AllowScrollingOfLongText,
bool HasValueColumn,
bool NumberedItems,
bool ScrollLoop,
const char *TitleLeft,
const char *TitleRight);
2781 void OSDMenuPutString(word rgn, dword x, dword y, dword maxX,
const char *str, dword fcolor, dword bcolor,
byte fntSize,
byte bDot,
byte align);
2887 bool OSDMenuItemAdd(
const char *Name,
const char *Value, TYPE_GrData *pNameIconGd, TYPE_GrData *pValueIconGd,
bool Selectable,
bool ValueArrows, dword ID);
2924 bool OSDMenuListBoxInitialize(
bool AllowScrollingOfLongText,
bool HasValueColumn,
bool NumberedItems,
bool ScrollLoop,
const char *Title, dword x, dword width,
bool OSDUpdate);
2930 void OSDMemoInitialize(
bool ScrollLoop,
const char *TitleLeft,
const char *TitleRight,
const char *Text);
2960 void OSDMenuProgressBarShow(
const char *Title,
const char *Text, dword Value, dword MaxValue, TYPE_GrData *DifferentProgressBar);
2966 bool OSDMenuEvent(word *event, dword *param1, dword *param2);
3071 #define EVT_TMSREMOTEASCII 0x0ffd
3077 #define REL_ADDR(x) (((dword)(x) & 0x0fffffff) >> 2)
3078 #define ABS_ADDR(x) (((x & JMP_ADDRMASK) << 2) | 0x80000000)
3080 #define ADD_SP_CMD 0x27BD0000
3081 #define ADD_SP_MASK 0xFFFF0000
3082 #define ADDIU_A0_CMD 0x24040000
3083 #define ADDIU_GP_CMD 0x279C0000
3084 #define ADDIU_S1_CMD 0x24110000
3085 #define ADDIU_CMD 0x24000000
3086 #define BASE_MASK 0xFFE00000
3087 #define CMD_MASK 0xFC000000
3088 #define JAL_CMD 0x0C000000
3089 #define JMP_ADDRMASK 0x03FFFFFF
3090 #define JMP_CMD 0x08000000
3091 #define JR_RA_CMD 0x03E00008
3092 #define LBU_CMD 0x90000000
3093 #define LUI_A0_CMD 0x3c040000
3094 #define LUI_A1_CMD 0x3C050000
3095 #define LUI_A2_CMD 0x3C060000
3096 #define LUI_CMD 0x3C000000
3097 #define LUI_GP_CMD 0x3C1C0000
3098 #define LUI_S0_CMD 0x3C100000
3099 #define LUI_S1_CMD 0x3C110000
3100 #define LUI_S3_CMD 0x3C130000
3101 #define LUI_S4_CMD 0x3C140000
3102 #define LUI_S6_CMD 0x3C160000
3103 #define LUI_T0_CMD 0x3C080000
3104 #define LUI_T1_CMD 0x3C090000
3105 #define LUI_T8_CMD 0x3C180000
3106 #define LUI_T9_CMD 0x3C190000
3107 #define LW_GP_CMD 0x8F800000
3108 #define LW_S7T9_CMD 0x8F370000
3109 #define LW_T1_SP_CMD 0x8FA90000
3110 #define MOVE_A0_48 0x24040030
3111 #define MOVE_A0_CMD 0x34040000
3112 #define MOVE_A2_48 0x24060030
3113 #define MOVE_T9_RA 0x03E02020
3114 #define NOP_CMD 0x00000000
3115 #define OR_A1_CMD 0x34A50000
3116 #define OR_T8_CMD 0x37180000
3117 #define ORI_A0_CMD 0x34840000
3118 #define ORI_A1_CMD 0x34A50000
3119 #define ORI_A2_CMD 0x34C60000
3120 #define ORI_GP_CMD 0x379C0000
3121 #define ORI_S0_CMD 0x36100000
3122 #define ORI_S1_CMD 0x36310000
3123 #define ORI_S3_CMD 0x36730000
3124 #define ORI_S4_CMD 0x36940000
3125 #define ORI_S6_CMD 0x36D60000
3126 #define ORI_T0_CMD 0x35080000
3127 #define ORI_T1_CMD 0x35290000
3128 #define REG_MASK 0x03FF0000
3129 #define SB_0_GP_CMD 0xA3800000
3130 #define SW_RA_SP_CMD 0xAFBF0000
3131 #define SW_S5T9_CMD 0xAF350000
3132 #define SW_S7T9_CMD 0xAF370000
struct __STDIO_FILE_STRUCT FILE
dword FIS_fwAppl_ImportChData(void)
void ConvertPathType(const char *Source, char *Dest, tPathFormat DestFormat)
__ino64_t HDD_GetInodeByFileName(const char *Filename)
bool Appl_GetIsExternal(void)
dword FIS_fwcurl_global_init(void)
void HDD_Delete(const char *FileName)
bool PlayMediaFile(char *MediaFileName)
void HDD_TAP_Terminate(dword TAPID)
CURLcode curl_easy_setopt(CURL *curl, CURLoption option, void *arg)
tBootReason BootReason(void)
TYPE_TapEvent * GetCurrentEvent(int *curEvent)
dword FIS_fwAppl_SetPlaybackSpeed(void)
dword FIS_vTimerTempInfo(void)
bool VFD_CDAnimation(bool Forward)
ulong64 LogoManager_CalculateChannelID(word SatLongitude, word NetworkID, word TSID, word ServiceID)
bool FlashTimerGetInfo(int TimerIndex, tFlashTimer *TimerInfo)
dword StringDBNext(tStringDB *StringDB)
bool INIGetARGB8(char *Key, byte *Alpha, byte *Red, byte *Green, byte *Blue, dword DefaultValue)
void OSDMenuInfoBoxDestroyNoOSDUpdate(void)
char * OSDMenuItemGetName(int ItemIndex)
TYPE_GrData * LogoManager_GetLogoByChannelName(char *ChannelName, tLogoStyle LogoStyle, tLogoSize LogoSize, tLogoAspect LogoAR)
bool FlashTimeEncode(tFlashTimeInfo *TimeInfo, tFlashTimeInfo *Data)
void OSDMenuKeyboard_LegendButton(dword Line, tButtonIcon ButtonIcon, const char *Text)
bool OSDMenuMessageBoxIsVisible(void)
void * Appl_GetCurrentEvent(byte SatIndex, word NetID, word TSID, word ServiceID)
dword FIS_fwezxml_parse_file(void)
dword FIS_fwAppl_ExportChData(void)
dword FIS_vbookmarkTime(void)
dword EPGInfo_GetNrFreeEntries(void)
int OSDMenuFindPreviousSelectableEntry(int CurrentSelection)
ezxml_t ezxml_parse_str(char *s, size_t len)
bool HDD_TAP_Disable(dword TAPID, bool DisableEvents)
void OSDMenuKeyboard_Show(void)
void OSDMenuModifyTitleLeft(const char *Text)
dword FIS_fwAppl_CheckRecording(void)
void INISetHexWord(char *Key, word Value)
void OSDMenuDestroy(void)
int HDD_TAP_GetCurrentDir(char *CurrentDir)
dword AddTime(dword pvrDate, int addMinutes)
void TAPCOM_Reject(TAPCOM_Channel Channel)
dword FIS_vFlashBlockSatInfo(void)
dword FIS_vIsPopUpOn(void)
byte * strcpyUC(byte *dest, const byte *src)
dword FIS_vFlashBlockAutoDec(void)
void TAP_EnterNormalNoInfo(void)
void OSDMenuKeyboard_AutomaticLowerCase(bool automatic)
bool OSDMenuItemModifyNameColor(int ItemIndex, dword Color)
void INISetInt(char *Key, long int Value)
bool Appl_ImportChData(char *FileName)
void LogoManager_Cleanup(void)
bool VFD_SetIcon(tVFDIcon VFDIcon, bool On)
dword StringDBPrev(tStringDB *StringDB)
dword FIS_fwAppl_StopPlaying(void)
dword FIS_fwcurl_easy_perform(void)
dword FIS_vFlashBlockTimer(void)
dword HDD_TAP_GetIDByFileName(const char *TAPFileName)
word ApplSvc_GetTpIdx(byte SatIndex, word NetworkID, word TSID)
void FM_PutStringAA(word rgn, dword x, dword y, dword maxX, char *str, dword fcolor, dword bcolor, tFontData *FontData, byte bDot, byte align, float AntiAliasFactor)
bool OSDMenuItemModifyCustomIndex(int ItemIndex, int CustomIndex)
bool Reboot(bool StopRecordings)
void FlushCache(dword *pAddr, int Size)
word HDD_SetExtRecording(bool ExtDisk)
void ApplHdd_SetWorkFolder(tDirEntry *FolderStruct)
tButtonIcon OSDMenuGetButtonIcon(dword key)
dword OSDMenuItemGetCurrentID(void)
bool OSDMenuKeyboard_isVisible(void)
INILOCATION LangLoadStrings(char *LangFile, dword NrStrings, int FallbackLang, char *AppName)
bool HDD_isRecording(byte RecSlot)
word CRC16(word StartValue, void *StartAddress, dword Length)
#define CallTraceExportStats(...)
dword FIS_fwApplCiplus_CamSelect(void)
char * LangGetString(dword StringID)
dword UncompressFirmware(byte *pSrc, byte *pDest, void *pPercentFinishedCallback)
dword OSDMenuItemGetNrOfItems(void)
void LogoManager_MoveExternalUpdates(void)
void MakeUniqueFileName(char *FileName)
dword ApplHdd_FreeSize(char *MountPath, bool a1)
char * iso639_2(int OSDLan)
void OSDMenuItemsClear(void)
dword FIS_vCheckAutoDecTimerId(void)
bool StringDBSaveToFile(tStringDB *StringDB, TYPE_File *f)
tFileInUse HDD_isFileInUse(const char *FileName)
dword FIS_fwcurl_easy_cleanup(void)
dword FIS_fwAppl_WriteRecInfo(void)
void LogEntryGenericPrintf(char *ProgramName, bool Console, char *format,...)
dword HDD_TAP_SendEvent(dword TAPID, bool AllowParamInterception, word event, dword param1, dword param2)
word GetOSDRegionHeight(word Region)
dword FIS_vShoutCastState(void)
dword StringDBFirst(tStringDB *StringDB)
void ezxml_free(ezxml_t xml)
dword FIS_fwezxml_attr(void)
bool HDD_GetRecSlotFiles(byte Slot, TYPE_File **RecFile, TYPE_File **InfFile, TYPE_File **NavFile)
int HDD_AAM_Disable(void)
bool isInfoBoxVisible(void)
void FMUC_FreeFontFile(tFontDataUC *FontData)
dword Appl_GetEvtCount(byte SatIndex, word NetID, word TSID, word ServiceID)
void OSDMenuItemSortID(bool Ascending)
#define CallTraceComment(...)
bool FlashTransponderTablesDel(int SatNum, int TransponderNum)
dword FMUC_GetStringWidth(const char *Text, tFontDataUC *FontData)
bool OSDMenuItemModifyNameIcon(int ItemIndex, TYPE_GrData *pNameIconGd)
dword FIS_vciplusMenuMode(void)
char * ansicstr(const char *string, int len, int flags, int *sawc, int *rlen)
dword FIS_fwAppl_GetEvtCount(void)
void Appl_StopRecPlaying(bool p1)
char * OSDMenuItemGetValue(int ItemIndex)
void OSDMenuItemSortNameColumn(bool Ascending, bool CaseSensitive)
bool OSDMenuEvent(word *event, dword *param1, dword *param2)
dword GetOSDMapAddress(void)
#define CallTraceResetStats(...)
bool PutDevEvent(word Event, dword Param1)
CURLcode curl_easy_perform(CURL *curl)
bool HookFirmware(char *FirmwareFunctionName, void *RedirectTo, void *PointerToOriginal)
void LogoManager_CleanupMemory(void)
dword CRC32(dword StartValue, void *StartAddress, dword Length)
dword DST_CalcTransition(byte ruleOrdinal, byte ruleDay, byte ruleMonth, byte ruleHour, byte ruleMin, dword StartDate)
bool StringDBInit(tStringDB *StringDB, dword InitialSize)
dword FIS_fwDevService_Mute(void)
bool HDD_TAP_isBatchMode(void)
char * GetToppyString(word SysID)
byte ApplChannel_GetBer(byte TunerIndex, byte *BER)
bool HDD_GetFileSizeAndInode(const char *FileName, __ino64_t *CInode, __off64_t *FileSize)
dword Appl_StopPlaying(void)
char * ValidFileName(const char *strName, eRemoveChars ControlCharacters, char *Result, int ResultSize)
dword FIS_fwApplSvc_GetSvcIdx(void)
dword DevHdd_DeviceClose(tDirEntry *hddPlaybackFolder)
CURL * curl_easy_init(void)
bool ELFReadShstrtabSection(void)
dword FIS_fwAppl_RestartTimeShiftSvc(void)
dword OSDMenuColorPickerColor(void)
dword FIS_vHddDivxFolder(void)
dword FindInstructionSequence(char *SearchPattern, char *SearchMask, dword StartAddress, dword EndAddress, int EntryPointOffset, bool SearchForPrevADDIUSP)
dword FIS_vVfdTimerId(void)
int OSDMenuItemFindValue(const char *Text)
bool HDD_TAP_PushDir(void)
dword FIS_fwApplPin_Delete(void)
int OSDMenuFindNextSelectableEntry(int CurrentSelection)
bool INIGetARGB(char *Key, byte *Alpha, byte *Red, byte *Green, byte *Blue, dword DefaultValue)
#define CallTraceEnter(...)
bool StrReplace(char *String, const char *Find, const char *Replace)
int HDD_AAM_Enable(byte AAMLevel)
void PSBuffer_Free(tPSBuffer *PSBuffer)
size_t GetLine(const char *data, bool strip)
dword FIS_vnRadioSvc(void)
bool FlashTransponderTablesDecode(void *Data, tFlashTransponderTable *TransponderTable)
dword FIS_vIboxTimerId(void)
dword OSDMenuItemGetID(int ItemIndex)
dword FIS_vPvrRecTsPlayInfo(void)
bool OSDMenuListBoxIsVisible(void)
dword FM_GetStringWidth(char *Text, tFontData *FontData)
bool HDD_isRecFileName(const char *FileName)
@ TAPCOM_Status_SERVER_NOT_AVAILABLE
@ TAPCOM_Status_NO_CHANNEL
@ TAPCOM_Status_ACKNOWLEDGED
@ TAPCOM_Status_VERSIONMISMATCH
int cronRegisterEvent(long frequency, dword firstExecution, void *callback)
dword FIS_vFlashBlockDLNAData(void)
dword HDD_TAP_Start(const char *TAPFileName, bool BatchMode, void *ParameterBlock, dword *TAPID)
dword FIS_fwAppl_GetSameTimeEvent(void)
void EPGInfo_FilterDuration(word MinDuration, word MaxDuration)
dword FIS_vDirectSvcNumTimerId(void)
byte GetStreamFormat(byte Index)
char * HDD_MakeNewRecName(const char *fname, word sequence, char *NewRecname, int NewRecNameSize)
bool HDD_Write(void *data, dword length, TYPE_File *f)
dword FIS_vEEPROMPin(void)
void Appl_ExecProgram(char *FileName)
bool NoAutoStartTAP(void)
int snprintf(char *, size_t, const char *,...)
void Appl_WriteRecInfo(dword Slot)
bool FlashADEncode(void *Data, tAutoDescrambleTimer *ADTimer)
int Appl_StartPlaybackDivx(char *FileName, unsigned int p2, bool p3)
SYSTEM_TYPE GetSystemType(void)
bool HDD_TAP_GetFileNameByIndex(int Index, char **TAPFileName)
dword FIS_fwcurl_easy_setopt(void)
void EPGInfo_FilterCallback(void *CallbackRoutine)
__ino64_t HDD_GetInodeByTypeFile(TYPE_File *File)
dword FIS_fwApplSvc_GetTpIdx(void)
dword FIS_fwApplVfdStop(void)
char * ParseLine(const char *zeile, size_t *n, char delim)
dword FIS_fwAppl_GetEvtCountInFreePool(void)
dword HDD_TAP_GetIDByIndex(int TAPIndex)
dword FIS_fwAppl_DeleteRadioSvcName(void)
TAPCOM_Channel TAPCOM_GetChannel(dword param1, dword *CallerID, dword *ServiceID, dword *ParamBlockVersion, void **ParamBlock)
bool OSDMenuItemAdd(const char *Name, const char *Value, TYPE_GrData *pNameIconGd, TYPE_GrData *pValueIconGd, bool Selectable, bool ValueArrows, dword ID)
void OSDMenuUpdate(bool SuppressOSDSync)
long int INIGetInt(char *Key, long int DefaultValue, long int MinValue, long int MaxValue)
dword FIS_fwAppl_InitTempRec(void)
bool OSDMenuKeyboard_EventHandler(word *event, dword *param1, dword *param2)
#define TAP_Osd_Copy_Chk(Comment,...)
bool HDD_TAP_GetInfo(const char *FileName, tTAPInfo *pTAPInfo)
dword FIS_fwApplTimer_OptimizeList(void)
char * TimeFormat(dword DateTime, byte Sec, eTimeStampFormat TimeStampFormat, char *Result)
bool TimerPaddingAPICheck(void)
bool OSDMenuItemModifyValueArrows(int ItemIndex, bool ValueArrows)
dword LocalTime2UTC(dword LocalTime, short *Offset)
void OSDMenuDestroyNoOSDUpdate(void)
ulong64 LogoManager_GetChannelID(int SvcType, int SvcNum)
dword FIS_fwAppl_ShoutCast(void)
dword UncompressLoader(byte *pSrc, byte *pDest, void *pPercentFinishedCallback)
dword FIS_fwDevFront_SetIlluminate(void)
dword FIS_fwAppl_PvrList(void)
char * LogoManager_GetPathToLogoByChannelID(ulong64 ChannelID, tLogoStyle LogoStyle, tLogoSize LogoSize, tLogoAspect LogoAR, char *LogoPath)
bool OSDMenuColorPickerIsVisible(void)
int HDD_Smart_DisableOperations(void)
bool LogoManager_LogoCacheLoad(void)
dword * Appl_GetEvtListHeadInHashByChannelID(ulong64 ChannelID)
int HDD_FindSymbolicLink(const char *pathName, char *returnedPath, char *fullPathName)
dword FIS_vPhotoAlbumInfo(void)
#define TAP_Osd_PutFreeColorGd_Chk(Comment,...)
bool cronModifyEvent(int Index, int frequency, dword nextExecution)
bool isOnMainTuner(int SvcType, int SvcNum)
int FlashServiceFind(int SvcType, word ServiceID, word PMTPID, word PCRPID, tFlashService *Service)
dword FIS_fwApplHdd_RestoreWorkFolder(void)
bool HDD_DecodeRECHeader(byte *Buffer, tRECHeaderInfo *RECHeaderInfo, SYSTEM_TYPE SystemType)
void OSDMenuSetMemo(bool SelectionAlwaysOnTop)
void OSDMemoInitialize(bool ScrollLoop, const char *TitleLeft, const char *TitleRight, const char *Text)
bool TunerSet(byte Tuner)
void INIKillKey(char *Key)
dword FIS_vTapSysOsdCtrl(void)
dword FIS_fwAppl_GetCurrentEvent(void)
void OSDMenuSetLineHeight(tLineHeight type)
void ReplaceInvalidFileNameChars(char *strName)
dword FIS_vFlashBlockTimeInfo(void)
bool StrMkUTF8(byte *SourceString, size_t SourceSize, byte DefaultISO8859CharSet)
byte DevFront_SetIlluminate(byte a0, byte Brightness)
bool isAnyOSDVisibleEx(dword CheckX, dword CheckY, dword CheckW, dword CheckH, byte Plane)
bool FlashTransponderTablesEncode(void *Data, tFlashTransponderTable *TransponderTable)
dword FIS_fwAppl_CiplusMenu(void)
void Appl_SetIsExternal(bool External)
void OSDMenuInfoBoxExitButton(bool ExitButton)
bool EPGInfo_FindNext(TYPE_EPGInfo *EPGData)
dword FIS_vciMenuMode(void)
void CrashCheck_Startup(char *TAPName, tCrashCheckStatus *CCStatus)
bool VFD_EnableCD(bool Enable)
void SeparateFileNameComponents(const char *FileName, char *Path, char *Name, char *Ext, int *Index, bool *isRec, bool *isDel)
bool HDD_ChangeDir(const char *Dir)
void OSDMenuColorPickerShow(const char *Title, dword DefaultColor)
dword FIS_fwApplTap_GetEmptyTask(void)
void OSDMenuPutString(word rgn, dword x, dword y, dword maxX, const char *str, dword fcolor, dword bcolor, byte fntSize, byte bDot, byte align)
void curl_global_cleanup(void)
dword FIS_vHddTapFolder(void)
dword FIS_fwApplTap_CallEventHandler(void)
dword ApplHdd_SelectFolder(tDirEntry *FolderStruct, char *FolderPath)
bool FlashServiceAdd(int SvcType, tFlashService *Service)
void DumpMemoryDword(dword *p, dword size)
int HDD_Smart_ReturnStatus(void)
dword TAPCOM_LastAlive(TAPCOM_Channel Channel)
void GetStringEncoding(const char *Text, bool *hasAnsiChars, bool *hasUTFChars)
void OSDMenuButtonAdd(dword Line, tButtonIcon ButtonIcon, TYPE_GrData *ButtonGd, const char *Text)
dword ApplHdd_FileCutPaste(char *SourceFileName, unsigned int StartBlock, unsigned int NrBlocks, char *CutFileName)
bool KeyTranslate(bool Enable, void *EventHandler)
int HDD_Smart_EnableOperations(void)
int TAPCOM_GetReturnValue(TAPCOM_Channel Channel)
bool TimerPaddingGet(short *PrePaddingMin, short *PostPaddingMin)
void Appl_RestartTimeShiftSvc(bool p1, dword Block)
TAPCOM_Channel TAPCOM_OpenChannel(dword TargetID, dword ServiceID, dword ParamBlockVersion, void *ParamBlock)
dword FIS_vExtTsFolder(void)
bool HDD_TAP_StartedByTAP(void)
int OSDMenuScrollDown(void)
dword HDD_TAP_DisableAll(bool DisableEvents)
bool ELFReadELFHeader(void)
dword FIS_fwAppl_DeleteTvSvcName(void)
long TimeDiff(dword FromTime, dword ToTime)
dword FIS_fwApplHdd_FreeSize(void)
void OSDMenuModifyTitleRight(const char *Text)
int StringDBCountRecords(tStringDB *StringDB)
void Appl_PvrPause(bool p1)
void INISetRGB(char *Key, byte Red, byte Green, byte Blue)
char * LogoManager_ChannelNameToLogoName(char *ChannelName, char *LogoName, int LogoNameSize)
dword FIS_fwAppl_StartTempRec(void)
bool FlashTimeGetInfo(tFlashTimeInfo *TimeInfo)
bool HDD_GetAbsolutePathByTypeFile(TYPE_File *File, char *AbsFileName)
void INISetHexDWord(char *Key, dword Value)
dword FIS_vnDupTimer(void)
dword FIS_fwcurl_easy_init(void)
bool HDD_TAP_isRunning(dword TAPID)
void UpperCase(char *string)
#define TAP_MemAlloc_Chk(Comment,...)
void ApplNewVfd_Stop(void)
void SoundSinus(word freq, dword durationInMilliseconds, word Amplitude)
char * LangGetStringDefault(dword StringID, char *DefaultString)
void OSDMenuProgressBarDestroy(void)
void OSDMenuMessageBoxAllowScrollOver(void)
void curl_easy_cleanup(CURL *curl)
int strlenUC(const byte *s)
void SeparatePathComponents(const char *FullName, char *Path, char *FileName, char *FileExt)
dword FIS_fwApplOsd_DrawJpeg(void)
bool isOSDRegionAlive(word Region)
void INISetHexByte(char *Key, byte Value)
dword FIS_fwDevFront_PowerOffCancel(void)
void OSDMenuMessageBoxDestroy(void)
void OSDMenuItemModifyValueXPos(dword NewValueXPos)
void ShowMessageWin(char *title, char *lpMessage1, char *lpMessage2, dword dwDelay)
#define TAP_Osd_FillBox_Chk(Comment,...)
#define CallTraceInit(...)
bool OSDMenuSelectTopItem(int TopIndex)
bool HDD_Move(const char *FileName, const char *FromDir, const char *ToDir)
int OSDMenuScrollPageUp(void)
dword Appl_GetEvtCountInFreePool(void)
int FlashTransponderFindIndex(dword SatIndex, dword NetworkID, dword TSID)
bool INIGetString(char *Key, char *Value, char *DefaultValue, dword MaxLength)
dword FIS_fwDevHdd_DeviceClose(void)
dword FIS_fwAppl_EnterNormal(void)
dword HDD_TAP_isDisabled(dword TAPID)
bool VFD_GetControl(bool GiveControl)
dword FIS_vHddTsFolder(void)
dword FIS_fwDevEeprom_Info(void)
bool VFD_SetCharacterSet(tVFDCharset VFDCharset)
#define CallTraceEnable(...)
bool ELFGetSectionOffset(dword SectionIndex, dword *SectionOffset, dword *SectionSize)
dword FIS_fwAppl_ExecProgram(void)
bool FlashServiceDecode(void *Data, tFlashService *Service)
dword FIS_fwApplPin_IsLockPopup(void)
void LogEntryPrintf(char *FileName, char *ProgramName, bool Console, eTimeStampFormat TimeStampFormat, char *format,...)
void cronEventHandler(void)
#define TAP_Osd_PutGd_Chk(Comment,...)
dword FIS_fwPowerOff(void)
bool FlashTimerEncode(void *Data, tFlashTimer *TimerInfo)
bool ELFReadDWORD(dword SectionIndex, dword *Data)
dword FIS_fwAppl_GetIsExternal(void)
bool GetPIPPosition(int *North, int *South, int *East, int *West)
void FreeOSDRegion(word Region)
void MakeValidFileName(char *strName, eRemoveChars ControlCharacters)
bool OSDMenuItemModifyValueIcon(int ItemIndex, TYPE_GrData *pValueIconGd)
void ExtractLine(char *Text, char *Line)
bool HDD_BuildExtDriveList(textPartitionInfo *ExtPartitionList, dword *NrListItems)
void OSDMenuButtonColor(dword Color)
bool HDD_TAP_CheckCollision(void)
void OSDMenuMessageBoxDestroyNoOSDUpdate(void)
bool LogoManager_GetServiceNumByChannelID(ulong64 ChannelID, int *SvcType, int *SvcNum)
dword * Appl_GetEvtListHeadInUsePool(void)
dword Appl_GetFreeExtRecordSpace(char *MountPath)
tPathFormat GetPathType(const char *Source)
dword FIS_fwAppl_GetStreamFormat(void)
bool FlashADDecode(void *Data, tAutoDescrambleTimer *ADTimer)
dword FIS_fwApplCiplus_GetSelectedCam(void)
bool HDD_GetFileDir(const char *FileName, eRootDirs Root, char *Dir)
dword FirmwareDatMJD(void)
dword FIS_fwApplHdd_FileCutPaste(void)
int TAP_Osd_PutFreeColorGd(word rgn, int x, int y, TYPE_GrData *gd, bool sprite, dword FilterColor)
dword FIS_fwAppl_GetEvtListHeadInHash(void)
dword HDD_TAP_Callback(dword TAPID, void *ProcedureAddress, dword param1, dword param2, dword param3, dword param4)
bool OSDMenuSelectItem(int ItemIndex)
dword FIS_fwAppl_TimeToLocal(void)
void OSDMenuKeyboard_Setup(const char *Title, char *Variable, dword MaxLength)
bool FlashTimerSetInfo(int TimerIndex, tFlashTimer *TimerInfo)
void FlashFavoritesGetParameters(int *NrGroups, int *NrSvcsPerGroup)
bool FlashFavoritesSetInfo(int FavNum, tFavorites *Favorites)
bool VFD_SetHDDValue(int Percent)
int FlashSatTablesGetTotal(void)
int HDD_APM_Enable(byte APMLevel)
bool infData_Set(const char *infFileName, char *NameTag, dword PayloadSize, byte *Payload)
dword FIS_fwApplVfdStart(void)
dword FIS_fwApplVfdSendData(void)
dword FIS_fwAppl_AddSvcName(void)
int HDD_Smart_ReadThresholdData(word *DataBuf)
bool EPGInfo_FindPrev(TYPE_EPGInfo *EPGData)
void OSDMenuMessageBoxDoNotEnterNormalMode(bool DoNotEnterNormalMode)
dword StringDBCurrent(tStringDB *StringDB)
byte TunerGet(int MainSub)
void OSDMenuInfoBoxShow(const char *Title, const char *Text, dword Timeout)
dword FIS_vTAPTable(void)
void OSDMenuProgressBarDestroyNoOSDUpdate(void)
bool SetEEPROMPin(word NewPin)
int Appl_StartPlaybackMedia(char *FileName, unsigned int p2, bool p3, bool ScaleInPip)
int Appl_CheckRecording_Tuner(byte TunerIndex, int SvcType, int SvcNum, bool Unknown)
dword FIS_fwAppl_SetApplVer(void)
void OSDMenuWaitSpinnerInit(void)
bool OSDMenuProgressBarIsVisible(void)
dword FIS_fwAppl_SetTimeShift(void)
bool cronGetEvent(int Index, int *frequency, dword *nextExecution)
bool FrontPanelEEPROMWrite(word Address, byte Data)
bool ELFOpenFile(const char *FileName)
void FM_FreeFontFile(tFontData *FontData)
bool ExtAttribSet(char *FileName, char *AttrName, byte *Data, int DataLen)
void LogoManager_LogoCacheRebuild(void)
dword FIS_fwAppl_SetIsExternal(void)
void LogoManager_ProcessLILAdd(char *AddFileName)
char * iso639_1(int OSDLan)
void OSDMenuModifyItemValueColumn(bool HasValueColumn)
void OSDMenuSetFont(tFontDataUC *LeftTitle, tFontDataUC *RightTitle, tFontDataUC *ListNumber, tFontDataUC *ListName, tFontDataUC *ListValue, tFontDataUC *Buttons, tFontDataUC *Memo)
char * OSDMenuItemGetCurrentName(void)
void OSDMenuMessageBoxModifyText(const char *Text)
void LangUnloadStrings(void)
void CrashCheck_Shutdown(char *TAPName)
dword FIS_fwSetIrCode(void)
int FlashTimerStructSize(void)
void Appl_SetPlaybackSpeed(byte Mode, int Speed, bool p3)
dword FIS_vnExtPartition(void)
bool FlashServiceEncode(void *Data, tFlashService *Service)
bool ExtAttribGet(char *FileName, char *AttrName, byte *Data, int MaxDataLen, int *DataLen)
void TAPCOM_StillAlive(TAPCOM_Channel Channel)
int Appl_StartPlayback(char *FileName, unsigned int p2, bool p3, bool ScaleInPip)
dword FIS_fwApplChannel_GetBer(void)
bool FixInvalidFileName(char *FileName)
bool INIKeyExists(char *Key)
void FMUC_PutStringAA(word rgn, dword x, dword y, dword maxX, const char *str, dword fcolor, dword bcolor, tFontDataUC *FontData, byte bDot, byte align, float AntiAliasFactor)
dword FIS_fwAppl_CiMenu(void)
int HDD_Smart_DisableAttributeAutoSave(void)
dword DST_FindNextTransition(void)
bool INIGetRGB8(char *Key, byte *Red, byte *Green, byte *Blue, dword DefaultValue)
bool PSBuffer_ProcessTSPacket(tPSBuffer *PSBuffer, const byte *TSBuffer, ulong64 FileOffset)
char * FlashFavoritesGetSelectedGroupName(char *FavName, byte FavNameSize)
bool HDD_RecSlotDecode(byte Slot, tFlashTimer *RecSlot)
void INISetARGB(char *Key, byte Alpha, byte Red, byte Green, byte Blue)
byte * GetMacAddress(void)
bool HDD_isAnyRecording(void)
bool OSDMenuInfoBoxIsVisible(void)
void OSDMenuModifyItemNumbered(bool NumberedItems)
void TAPCOM_Finish(TAPCOM_Channel Channel, int val)
char * LogoManager_GetDirectory(tLogoStyle LogoStyle, tLogoAspect LogoAR, char *LogoPath)
int ApplTap_GetEmptyTask(void)
bool FlashServiceGetInfo(int SvcType, int SvcNum, tFlashService *Service)
bool HDD_isExtRecording(void)
void ApplHdd_RestoreWorkFolder(void)
ezxml_t ezxml_child(ezxml_t xml, const char *name)
dword FIS_fwAppl_StartPlaybackMp3(void)
bool OSDMenuItemModifyTextColor(int ItemIndex, dword Color)
void OSDMenuButtonModifyText(dword ButtonIndex, const char *Text)
@ INILOCATION_AtCurrentDir
@ INILOCATION_AtProgramFiles
void ApplHdd_SaveWorkFolder(void)
bool HDD_FindMountPoint(const char *File, char *MountPoint)
dword FIS_vIsPipActive(void)
dword PvrTimeToLinux(dword PVRTime)
dword SuperFastHash(register byte *data, int len, dword hash)
byte * HDD_GetPvrRecTsPlayInfoPointer(byte Slot)
dword FIS_vOsdOutBuf(void)
dword FIS_vFlashBlockGameSaveData(void)
dword OSDMenuGetStringWidth(const char *str, byte fntSize)
dword FIS_fwAppl_SetProviderName(void)
void Appl_ShoutCast(void)
void cronUnregisterAllEvents(void)
void EPGInfo_FilterChannelByIndex(TYPE_ServiceType SvcType, int SvcNum, bool StartCurrent)
const char * ezxml_error(ezxml_t xml)
dword FIS_vBootReason(void)
bool StringDBLoadFromFile(tStringDB *StringDB, TYPE_File *f)
void FM_MakeFontDir(void)
bool FlashServiceMove(int SvcType, int FromSvcNum, int ToSvcNum)
bool VFD_isInUseByTAP(void)
dword FIS_fwApplHdd_SetWorkFolder(void)
dword FIS_fwAppl_StopRecPlaying(void)
bool HDD_RecSlotEncode(byte Slot, tFlashTimer *RecSlot)
dword FIS_vnPipSvcNum(void)
dword FIS_fwAppl_PvrList_SetListType(void)
void OSDMenuMessageBoxShow(void)
dword FIS_fwAppl_KeyCvt(void)
void ApplPin_Delete(void)
int HDD_Smart_EnableAttributeAutoSave(void)
bool StrToUTF8(const byte *SourceString, byte *DestString, byte DefaultISO8859CharSet)
void OSDMenuMessageBoxInitialize(const char *Title, const char *Text)
int HDD_FindPCR(const byte *pBuffer, dword BufferSize, word PID)
void OSDMenuMessageBoxButtonAdd(const char *Text)
bool HDD_InfBlockSet(const char *RecPath, tinfBlock *infBlock)
void OSDMenuInitialize(bool AllowScrollingOfLongText, bool HasValueColumn, bool NumberedItems, bool ScrollLoop, const char *TitleLeft, const char *TitleRight)
bool Appl_ExportChData(char *FileName)
dword FIS_vPvrRecTsInfo(void)
void OSDMenuItemSortValueColumn(bool Ascending, bool CaseSensitive)
void OSDCopy(word rgn, dword x, dword y, dword w, dword h, word items, eCopyDirection direction)
void SetRemoteMode(byte Mode, byte Index, bool Active)
dword FIS_fwApplHdd_SelectFolder(void)
bool OSDMenuItemModifyName(int ItemIndex, const char *Text)
int FlashFavoritesFindService(int SvcType, int SvcNum)
int ExtAttribExists(char *FileName, char *AttrName)
void StrToISO(const byte *SourceString, byte *DestString)
word GetOSDRegionWidth(word Region)
dword FIS_vMACAddress(void)
void EPGInfo_AbortLoad(void)
dword FIS_vPvrPlayInfo(void)
bool ShowPvrList(tPvrListType PvrListType)
bool infData_GetNameByIndex(const char *infFileName, dword NameIndex, char *NameTag)
void InsertAt(const char *SourceString, int Pos, char *NewString)
int EPGInfo_FindFirst(TYPE_EPGInfo *EPGData)
bool HDD_GetHddID(char *ModelNo, char *SerialNo, char *FirmwareNo)
int HDD_TAP_GetIndexByID(dword TAPID)
dword FIS_fwApplClock_SetTimeMJD(void)
dword FIS_vFlashBlockServerData(void)
dword FIS_vFlashBlockRadioServices(void)
dword FIS_vIsAllPartitionInvalid(void)
@ CCS_ExcessiveRebootsDetected
bool HDD_Rename(const char *FileName, const char *NewFileName)
dword FIS_vCurTapTask(void)
bool FrontPanelEEPROMRead(word Address, byte *Data)
void ApplCiplus_CamSelect(byte CamIndex)
void ShowMessageWindow(char **content, dword pos_x, dword pos_y, byte fntSize, byte align, dword bdcolor, dword titlecolor, dword msgcolor, dword bgcolor, dword delay)
void EPGInfo_FilterTime(dword StartTime, dword EndTime)
void * HDD_TAP_GetStartParameter(void)
dword FIS_fwApplChannel_GetAgc(void)
#define CallTraceExit(...)
tAudioTrk * AudioTrackInfo(void)
dword FIS_vFlashBlockFavoriteGroup(void)
bool OSDMenuIsVisible(void)
bool VFD_SetCDValue(int Percent)
void TAPCOM_CloseChannel(TAPCOM_Channel Channel)
dword FIS_vVfdBrightTimerId(void)
bool HDD_RECSlotSetDuration(byte Slot, word Duration)
void FM_PutString(word rgn, dword x, dword y, dword maxX, char *str, dword fcolor, dword bcolor, tFontData *FontData, byte bDot, byte align)
dword FIS_vFlashBlockNetworkUpdateConfig(void)
dword OSDMenuItemGetNameColor(int ItemIndex)
void DevFront_SetIrCode(byte Index, byte Active, byte MfgID1, byte MfgID2, byte Code0a)
bool CaptureScreen(int BMPwidth, int BMPheight, byte *BMPPixelBuffer, bool bOSD, int Alpha)
bool HDD_TAP_PopDir(void)
bool FlashADGetInfo(tAutoDescrambleTimer *ADTimer)
void INISetRGB8(char *Key, byte Red, byte Green, byte Blue)
dword UncompressTFD(byte *pSrc, byte *pDest, void *pPercentFinishedCallback)
bool StringDBLoad(tStringDB *StringDB, char *FileName)
void InitTAPexFailedMsg(char *ProgramName)
#define TAP_Osd_SaveBox_Chk(Comment,...)
bool HDD_InfBlockGet(const char *RecPath, tinfBlock *infBlock)
bool ELFGetSectionAddress(dword SectionIndex, dword *SectionAddress, dword *SectionSize)
dword FIS_vFlashBlockTransponderInfo(void)
dword OSDMenuItemGetTopIndex(void)
bool EPGInfo_FindLast(TYPE_EPGInfo *EPGData)
bool StringDBSave(tStringDB *StringDB, char *FileName)
void DrawOSDLine(word OSDRgn, dword Ax, dword Ay, dword Bx, dword By, dword Color)
dword FIS_vExtPartitionInfo(void)
bool VFD_SetSmallText(char *Text)
dword UncompressedTFDSize(byte *pSrc)
word CompressBlock(byte *pInput, word InBufferSize, byte *pOutput)
bool FlashTransponderTablesGetInfo(int SatNum, int TransponderNum, tFlashTransponderTable *TransponderTable)
dword FIS_fwezxml_error(void)
dword OSDMenuGetLastUnprocessedKey(void)
void OSDMenuSetCallback(void *OSDCallbackRoutine)
char * StringDBGet(tStringDB *StringDB, dword Index)
bool OSDMenuKeyboard_SetKeypadMode(tKeyPadMode mode)
void OSDMenuSetCursor(tCursorType CursorType)
dword StringDBAdd(tStringDB *StringDB, char *Text)
bool MD5String(char *inString, byte *Digest)
void OSDMenuProgressBarShow(const char *Title, const char *Text, dword Value, dword MaxValue, TYPE_GrData *DifferentProgressBar)
dword FIS_vParentalInfo(void)
bool HDD_IdentifyDevice(char *IdentifyDeviceBuffer)
bool TimerPaddingSet(short *PrePaddingMin, short *PostPaddingMin)
bool FlashTimeSetInfo(tFlashTimeInfo *TimeInfo)
dword DevHdd_DeviceOpen(tDirEntry **hddPlaybackFolder, tDirEntry *DirEntry)
dword OATH(register byte *data, int len, dword hash)
int FlashFavoritesGetTotal(void)
dword FIS_fwAppl_WriteFlash(void)
dword FIS_fwAppl_WaitEvt(void)
int DevService_Mute(bool Mute)
void ApplTimer_OptimizeList(void)
int FlashTransponderTablesAdd(int SatNum, tFlashTransponderTable *TransponderTable)
TYPE_GrData * LogoManager_GetLogoByChannelID(ulong64 ChannelID, tLogoStyle LogoStyle, tLogoSize LogoSize, tLogoAspect LogoAR)
void OSDMenuInfoBoxDestroy(void)
void LogoManager_Initialize(void *CallbackRoutine)
dword * Appl_GetEvtListHeadInHash(word NetID, word TSID, word ServiceID)
bool FlashSatTablesDecode(void *Data, tFlashSatTable *SatTable)
bool HDD_UnrecycleSF(const char *FileName)
bool HDD_TAP_isAnyRunning(void)
dword FMUC_GetStringHeight(const char *Text, tFontDataUC *FontData)
void OSDMenuKeyboard_SetCursor(tKeyboardCursor KeyboardCursor)
bool infData_Delete(const char *infFileName, const char *NameTag)
int LogoManager_UpdateLIL(void)
void OSDMenuModifyItemLongTextScrolling(bool AllowScrollingOfLongText)
int OSDMenuScrollPageDown(void)
bool HDD_FappendWrite(TYPE_File *file, const char *data)
dword OSDMenuItemGetTextColor(int ItemIndex)
void UTF32ToUTF8(dword UTF32Character, byte *UTF8Character, byte *BytesPerChar)
#define LogEntryFBLibPrintf(Console,...)
void PrintNet(char *puffer)
byte ApplChannel_GetAgc(byte TunerIndex, byte *AGC)
dword FIS_vFlashBlockServiceName(void)
dword UncompressedLoaderSize(byte *pSrc)
dword Unix2TFTime(dword UnixTimeStamp)
bool OSDMenuItemModifyColorPatch(int ItemIndex, dword Color)
char * DayOfWeek(byte WeekDay)
dword FIS_vFlashBlockTVServices(void)
dword FIS_fwAppl_ConvertToValidUTF8Str(void)
word ApplSvc_GetSvcIdx(byte TYPE_ServiceType, byte SatIndex, word TPIndex, word ServiceID, word Start, word NrOfServicesToSearch)
char * OSDMenuItemGetCurrentValue(void)
dword FIS_vTopEvent(void)
dword FIS_vFlashBlockNetwork(void)
bool ELFReadData(dword SectionIndex, byte *Data)
void DumpMemory(byte *p, dword size, int BytesPerLine)
bool OSDMenuKeyboard_ChangeKeypad(tKeyPadMode mode, char keypad[26][4])
void Appl_ClrTimer(byte *TimerHandle)
dword ApplHdd_GetInfoFromExternalDevice(dword *TotalSpaceMB, dword *FreeSpaceMB, char *MountPath)
bool ELFReadSectionHeaders(void)
int OSDMenuItemFindID(dword ID)
bool HDD_FindMountPointDevice(const char *File, char *MountPoint, char *MountDevice)
int Appl_StartPlaybackMp3(char *FileName)
dword FIS_vApplState(void)
dword FIS_fwcurl_global_cleanup(void)
dword FIS_vFlashBlockProviderInfo(void)
void FMUC_PutString(word rgn, dword x, dword y, dword maxX, const char *str, dword fcolor, dword bcolor, tFontDataUC *FontData, byte bDot, byte align)
dword FIS_vSelectedPartition(void)
dword CompressedTFDSize(byte *pSrc, dword SourceBufferSize, void *pPercentFinishedCallback)
char PrintNetBuffer[1024]
bool StringEndsWith(const char *text, const char *postfix)
void INISetString(char *Key, char *Value)
#define CallTraceExitResult(...)
bool HDD_Unrecycle(const char *FileName)
byte ApplCiplus_GetSelectedCam(void)
bool FrontPanelGetPatch(byte *Version, byte *Type)
dword FIS_vShoutCastInfo(void)
void LogEntry(char *FileName, char *ProgramName, bool Console, eTimeStampFormat TimeStampFormat, char *Text)
dword FIS_fwAppl_CheckRecording_Tuner(void)
int OSDMenuScrollEnd(void)
int HDD_APM_Disable(void)
#define TAP_Osd_PutPixel_Chk(Comment,...)
int HDD_Smart_ReadData(word *DataBuf)
dword FIS_fwAppl_StartPlaybackDivx(void)
dword FIS_vTimerEditInfo(void)
dword FIS_fwezxml_free(void)
dword OSDMenuGetStringHeight(const char *str, byte fntSize)
int OSDMenuScrollHome(void)
void OSDMenuListBoxDestroyNoOSDUpdate(void)
bool LoadFirmwareDat(tFWDATHeader **FWDatHeader, tToppyInfo **ToppyInfo, tFWInfo **FWInfo)
dword UTC2LocalTime(dword UTCTime, short *Offset)
bool FlashFavoritesGetInfo(int FavNum, tFavorites *Favorites)
bool StrMkISO(byte *SourceString)
const char * ezxml_attr(ezxml_t xml, const char *attr)
dword FIS_fwDevEeprom_GetMacAddr(void)
bool HDD_Exist(const char *FileName)
dword FIS_fwAppl_IsTimeShifting(void)
dword Appl_KeyCvt(dword NECKeyCode)
bool SaveBitmap(char *FileName, int width, int height, byte *pBuffer)
void INISetARGB8(char *Key, byte Alpha, byte Red, byte Green, byte Blue)
dword FIS_fwApplHdd_GetFileInfo(void)
dword UncompressedFirmwareSize(byte *pSrc)
bool FlashTransponderTablesSetInfo(int SatNum, int TransponderNum, tFlashTransponderTable *TransponderTable)
word UncompressBlock(byte *pInput, word compCount, byte *pOutput, word BufferSize)
dword GetEEPROMAddress(void)
bool INIGetRGB(char *Key, byte *Red, byte *Green, byte *Blue, dword DefaultValue)
dword FIS_vPipSvcNum(void)
bool OSDMenuItemModifyValue(int ItemIndex, const char *Text)
dword TryResolve(char *Function)
dword FIS_fwTimeToLinux(void)
dword FIS_fwApplIcelink_EitFromHdd(void)
dword FIS_vdupEntry(void)
void DST_SetDSTRule(tDSTRule NewDSTRule)
char * GetRecExtension(void)
bool ApplPin_IsLockPopup(void)
word INIGetHexWord(char *Key, word DefaultValue, word MinValue, word MaxValue)
void StrToISOAlloc(const byte *SourceString, byte **DestString)
dword UTF8ToUTF32(const byte *UTF8Character, byte *BytesPerChar)
bool UnhookFirmware(char *FirmwareFunctionName, void *RedirectTo, void *PointerToOriginal)
dword HDD_NumberOfRECSlots(void)
bool FlashADSetInfo(tAutoDescrambleTimer *ADTimer)
dword FIS_fwAppl_StartPlaybackMedia(void)
int Appl_CheckRecording(int SvcType, int SvcNum, bool Unknown)
void OSDMenuModifyScrollLoop(bool ScrollLoop)
dword FIS_fwApplHdd_SaveWorkFolder(void)
TAPCOM_Status TAPCOM_GetStatus(TAPCOM_Channel Channel)
dword TF2UnixTime(dword TFTimeStamp)
dword FIS_fwAppl_GetEvtListHeadInUsePool(void)
int FlashServiceGetTotal(int SvcType)
void OSDMenuMessageBoxButtonSelect(dword SelectedButton)
void OSDMenuButtonsClear(void)
void OSDMenuKeyboard_Destroy(void)
dword FM_GetStringHeight(char *Text, tFontData *FontData)
bool HDD_TAP_isDisabledAll(void)
void OSDMenuColorPickerDestroy(void)
bool FlashFavoritesGetInfoCurrent(tFavorites *Favorites)
bool FlashServiceDel(int SvcType, int SvcNum)
dword Appl_TimeToLocal(dword UTCTime)
bool OSDMenuItemModifySelectable(int ItemIndex, bool Selectable)
dword FIS_vhddRecordFile(void)
void OSDMenuItemModifyValueLeftArrowGap(int NewGapWidth)
void HDD_RemoveDir(const char *DirPath, bool Recursive)
byte * SkipCharTableBytes(const byte *p)
dword FIS_fwezxml_parse_str(void)
bool cronUnregisterEvent(int Index)
bool StringDBDestroy(tStringDB *StringDB)
byte * GetUCPos(const byte *String, int CharPos)
ezxml_t ezxml_parse_file(const char *file)
bool HDD_Recycle(const char *FileName)
dword TFDSize(byte *pTFD)
dword FIS_fwAppl_GetFreeExtRecordSpace(void)
bool FlashTimerDecode(void *Data, tFlashTimer *TimerInfo)
bool FlashServiceFindNum(byte SatIndex, word NetworkID, word TSID, word ServiceID, TYPE_ServiceType *SvcType, int *SvcNum)
dword ELFGetSectionIndex(const char *SectionName)
bool ExtAttribRemove(char *FileName, char *AttrName)
bool LogoManager_LogosAvailable(tLogoStyle LogoStyle)
dword CompressTFD(byte *pSrc, dword SourceBufferSize, byte *pDest, word TFDType, word SysID, void *pPercentFinishedCallback)
byte INIGetHexByte(char *Key, byte DefaultValue, byte MinValue, byte MaxValue)
bool OSDMenuListBoxInitialize(bool AllowScrollingOfLongText, bool HasValueColumn, bool NumberedItems, bool ScrollLoop, const char *Title, dword x, dword width, bool OSDUpdate)
#define TAP_Osd_RestoreBox_Chk(Comment,...)
bool infData_Get(const char *infFileName, const char *NameTag, dword *PayloadSize, byte **Payload)
bool EPGInfo_FindItem(TYPE_EPGInfo *EPGData, int EPGIndex, bool EPGReset)
bool StringDBDel(tStringDB *StringDB)
bool HDD_isCryptedStream(const byte *Buffer, dword BufferSize)
bool VFD_EnableCDAnimation(bool Enable)
dword FIS_vTempRecSlot(void)
int OSDMenuScrollUp(void)
dword FIS_fwEeprom_DirectWrite(void)
bool isDirectSvcNumVisible(void)
bool StringDBEOF(tStringDB *StringDB)
ezxml_t ezxml_idx(ezxml_t xml, int idx)
int OSDMenuItemFindName(const char *Text)
dword FIS_fwDevHdd_DeviceOpen(void)
void OSDMenuListBoxDestroy(void)
dword FIS_fwAppl_EvtProc_PincodeKey(void)
bool Shutdown(TaskEnum Task)
void EPGInfo_FilterReset(void)
void * Appl_GetSameTimeEvent(byte SatIndex, word NetID, word TSID, word ServiceID)
bool FlashSatTablesGetInfo(int SatNum, tFlashSatTable *SatTable)
void OSDMenuLogo(dword X, dword Y, TYPE_GrData *LogoGd)
bool VFD_SetLargeText(char *Text)
dword FIS_fwAppl_StopTempRec(void)
bool OSDMenuItemPassDrawing(int ItemIndex, bool VisibleName, bool VisibleValue)
void EPGInfo_FilterGenre(byte *GenreArray, byte GenreArraySize)
dword HDD_GetFileTimeByTypeFile(TYPE_File *File)
TYPE_File * HDD_FappendOpen(const char *FileName)
int FlashTransponderFindIndex2(dword SatIndex, dword NetworkID, dword TSID, byte ModSystem)
bool OSDMenuItemModifyID(int ItemIndex, dword ID)
void OSDMenuSaveMyRegion(word Rgn)
bool VFD_EnableHDD(bool Enable)
bool isAnyOSDVisible(dword CheckX, dword CheckY, dword CheckW, dword CheckH)
bool infData_isAvail(const char *infFileName, const char *NameTag, dword *PayloadSize)
@ CURLE_BAD_FUNCTION_ARGUMENT
@ CURLE_FTP_ACCEPT_FAILED
@ CURLE_BAD_CONTENT_ENCODING
@ CURLE_FTP_WEIRD_PASV_REPLY
@ CURLE_HTTP_RETURNED_ERROR
@ CURLE_FTP_WEIRD_SERVER_REPLY
@ CURLE_ABORTED_BY_CALLBACK
@ CURLE_FUNCTION_NOT_FOUND
@ CURLE_FTP_COULDNT_USE_REST
@ CURLE_FTP_ACCEPT_TIMEOUT
@ CURLE_REMOTE_FILE_NOT_FOUND
@ CURLE_SSL_ENGINE_NOTFOUND
@ CURLE_FILESIZE_EXCEEDED
@ CURLE_REMOTE_ACCESS_DENIED
@ CURLE_FILE_COULDNT_READ_FILE
@ CURLE_PEER_FAILED_VERIFICATION
@ CURLE_TOO_MANY_REDIRECTS
@ CURLE_SSL_SHUTDOWN_FAILED
@ CURLE_SSL_CACERT_BADFILE
@ CURLE_SSL_ENGINE_SETFAILED
@ CURLE_COULDNT_RESOLVE_PROXY
@ CURLE_UNSUPPORTED_PROTOCOL
@ CURLE_FTP_BAD_FILE_LIST
@ CURLE_FTP_WEIRD_PASS_REPLY
@ CURLE_SSL_ENGINE_INITFAILED
@ CURLE_FTP_COULDNT_SET_TYPE
@ CURLE_BAD_DOWNLOAD_RESUME
@ CURLE_LDAP_SEARCH_FAILED
@ CURLE_FTP_WEIRD_227_FORMAT
@ CURLE_OPERATION_TIMEDOUT
@ CURLE_RTSP_SESSION_ERROR
@ CURLE_FTP_COULDNT_RETR_FILE
@ CURLE_TELNET_OPTION_SYNTAX
@ CURLE_REMOTE_FILE_EXISTS
@ CURLE_COULDNT_RESOLVE_HOST
@ CURLE_SSL_CONNECT_ERROR
@ CURLE_FTP_CANT_GET_HOST
dword Appl_WaitEvt(dword Event, dword *a1, dword a2, dword a3, dword Timeout)
bool MD5File(char *FileName, byte *Digest)
INILOCATION INIOpenFile(char *FileName, char *AppName)
dword AddSec(dword date, byte dateSec, int add)
bool isUTF8Char(const byte *p, byte *BytesPerChar)
dword FIS_fwPutDevEvt(void)
int OSDMenuGetCurrentItem(void)
dword INIGetHexDWord(char *Key, dword DefaultValue, dword MinValue, dword MaxValue)
void DrawScrollbar(word sbRegion, int sbX, int sbY, int sbHeight, int sbCurrent, int sbWindow, int sbMax)
dword FIS_fwezxml_child(void)
bool INISaveFile(char *FileName, INILOCATION INILocation, char *AppName)
word ApplClock_SetTimeMJD(word mjd, byte hour, byte min, byte sec)
dword FIS_vPvrRecTempInfo(void)
dword FIS_vRECSlotAddress(byte Slot)
CURLcode curl_global_init(long flags)
bool HDD_EncodeRECHeader(byte *Buffer, tRECHeaderInfo *RECHeaderInfo, SYSTEM_TYPE SystemType)
dword FIS_fwDevFront_PowerOffReply(void)
dword * FindGotPointer(dword FunctionAddress)
TYPE_GrData * LogoManager_GetLogoByChannel(int SvcType, int SvcNum, tLogoStyle LogoStyle, tLogoSize LogoSize, tLogoAspect LogoAR)
TYPE_GrData * LogoManager_GetLogoByLogoName(char *LogoName, tLogoStyle LogoStyle, tLogoSize LogoSize, tLogoAspect LogoAR)
byte * HDD_GetPvrRecTsInfoPointer(byte Slot)
bool FMUC_LoadFontFile(char *FontFileName, tFontDataUC *FontData)
dword FIS_vFlashBlockLanIPConfig(void)
dword FIS_fwApplHdd_GetInfoFromExternalDevice(void)
void LowerCase(char *string)
bool TAP_GetSysOsdControl(TYPE_TapSysOsdId osdId)
bool FlashServiceSetInfo(int SvcType, int SvcNum, tFlashService *Service)
dword FIS_fwAppl_PvrPause(void)
word ApplHdd_GetFileInfo(word p1, int *TotalBlocks, int *CurrentBlock, byte p4, byte p5)
bool EPGInfo_FindCurrent(byte SvcType, int SvcNum, TYPE_EPGInfo *EPGData)
#define TAP_Osd_Create_Chk(Comment,...)
bool FlashTimeDecode(tFlashTimeInfo *Data, tFlashTimeInfo *TimeInfo)
bool FM_LoadFontFile(char *FontFileName, tFontData *FontData)
int FlashTransponderTablesGetTotal(int SatNum)
dword FIS_fwAppl_ClrTimer(void)
INILOCATION INILocateFile(char *FileName, char *AppName)
dword FIS_fwezxml_idx(void)
bool Appl_EvtProc_PincodeKey(dword p1, dword p2)
dword HDD_GetFileTimeByFileName(const char *FileName)
dword FIS_vFlashBlockOTAInfo(void)
dword FIS_fwAppl_StartPlayback(void)
bool HDD_RecycleSF(const char *FileName)
bool GetCurrentTimeZone(short *TZOffset, bool *DST)
dword OSDMenuMessageBoxLastButton(void)
void LogEntryGeneric(char *ProgramName, bool Console, char *Text)
int OSDMenuGetNrOfLines(void)
void * TAP_MemRealloc(void *ptr, size_t OldSize, size_t NewSize, bool InitMemory)
bool PSBuffer_Init(tPSBuffer *PSBuffer, word PID, int BufferSize)
dword FIS_vAudioTrack(void)
void DeleteAt(char *SourceString, int Pos, int Len)
byte * strncpyUC(byte *dest, const byte *src, size_t n)
TYPE_ServiceType ServiceType
tRunningStatus RunningStatus
byte ShortEventTextLength
TYPE_ReservationType ReservationType
tFlashTransponderTable TpInfo
tGlyphCacheUC * GlyphCache