[18190] | 1 | /*****************************************************/ |
---|
| 2 | /* this file is part of the tiTan / tiTanNIT Project */ |
---|
| 3 | /* and allowed only for use with this. */ |
---|
| 4 | /* */ |
---|
| 5 | /* copyright by NIT */ |
---|
| 6 | /*****************************************************/ |
---|
| 7 | |
---|
| 8 | #ifndef HEADER_H |
---|
| 9 | #define HEADER_H |
---|
| 10 | |
---|
[20407] | 11 | //timeshiftsettings.h |
---|
| 12 | void screentimeshiftsettings(); |
---|
| 13 | |
---|
[19328] | 14 | //tpchoice.h |
---|
| 15 | struct transponder* tpchoicescreen(int orbitalpos, int flag); |
---|
| 16 | |
---|
[19313] | 17 | //extepg.h |
---|
[19323] | 18 | int readmhw(struct stimerthread* self, struct channel* chnode, struct dvbdev* fenode, int flag); |
---|
| 19 | int readmhw2(struct stimerthread* self, struct channel* chnode, struct dvbdev* fenode, int flag); |
---|
| 20 | int readopentv(struct stimerthread* self, struct channel* chnode, struct dvbdev* fenode, int flag); |
---|
[19261] | 21 | |
---|
[18947] | 22 | //mediadbedit.h |
---|
[18991] | 23 | void screenmediadbedit(char* file, int id, int flag); |
---|
[18947] | 24 | |
---|
[18838] | 25 | //shortepg.h |
---|
| 26 | void screenshortepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
| 27 | |
---|
| 28 | //dirsort.h |
---|
| 29 | int screendirsort(); |
---|
| 30 | |
---|
[19454] | 31 | // newsletter.h |
---|
[18767] | 32 | void screennewsletter(); |
---|
[19454] | 33 | void newsletterthreadfunc(struct stimerthread* self); |
---|
[18767] | 34 | |
---|
[18672] | 35 | //oldentry.h |
---|
| 36 | void deloldentry(struct oldentry *entry, int flag); |
---|
| 37 | |
---|
[18663] | 38 | //id3.h |
---|
| 39 | struct id3tag* getid3(char* file, char* id, int flag); |
---|
[18674] | 40 | void freeid3(struct id3tag* node); |
---|
[18663] | 41 | |
---|
[18403] | 42 | //sh4port.h and other ports |
---|
| 43 | int videodiscontinuityskip(struct dvbdev* node, int flag); |
---|
| 44 | |
---|
| 45 | //system_infos.h |
---|
[18190] | 46 | void screensystem_infos(int mode); |
---|
[18403] | 47 | |
---|
| 48 | //system_infos_sysinfo.h |
---|
[18190] | 49 | void screensystem_infos_sysinfo(int mode); |
---|
| 50 | |
---|
[18403] | 51 | //textinputhist.h |
---|
| 52 | char* textinputhist(char* title, char* text, char* histname); |
---|
| 53 | |
---|
[18302] | 54 | //unicable.h |
---|
[18311] | 55 | void screenunicable(struct skin* loftype, struct skin* lofl, struct skin* lofh, struct skin* satcr, struct skin* satcrfrequ2); |
---|
[18190] | 56 | |
---|
| 57 | //rc4.h |
---|
| 58 | void rc4(char *data, size_t dlen, char *key, size_t klen); |
---|
| 59 | |
---|
| 60 | //md5.h |
---|
| 61 | char* MDString (char *string); |
---|
| 62 | char* MDFile (char *string); |
---|
| 63 | char* MDPrint (unsigned char digest[16]); |
---|
| 64 | |
---|
| 65 | //unlock.h |
---|
| 66 | void screenunlock(); |
---|
| 67 | |
---|
| 68 | //serial.h |
---|
| 69 | void screenserial(); |
---|
| 70 | |
---|
| 71 | //ocrypt.h |
---|
| 72 | unsigned char* oencrypt(char* pw, char* buf, int len); |
---|
| 73 | unsigned char* odecrypt(char* pw, char* buf, int len); |
---|
| 74 | |
---|
| 75 | //mediadbcache.h |
---|
| 76 | struct mediadb* getmediadb(char* path, char* file, int flag); |
---|
| 77 | |
---|
| 78 | //mediadbsettings.h |
---|
| 79 | void screenmediadbsettings(); |
---|
| 80 | |
---|
| 81 | //mediadb.h |
---|
[19018] | 82 | int writemediadb(const char *filename, struct mediadb* cmediadb); |
---|
[18190] | 83 | int delmediadbfilter(struct mediadbfilter* mnode, int flag); |
---|
[18941] | 84 | struct mediadb* createmediadb(struct mediadb* update, char* id, int type, char* title, char* year, char* released, char* runtime, char* genre, char* director, char* writer, char* actors, char* plot, char* poster, char* rating, char* votes, char* path, char* file, char* shortname, char* fileinfo, int flag, int postercount); |
---|
[18190] | 85 | void freemediadbcontent(struct mediadb* node); |
---|
| 86 | int findfiles(char* dirname, int type, int onlydir, int onlycount, int first); |
---|
| 87 | struct mediadbfilter* getlastmediadbfilter(struct mediadbfilter* node, int flag); |
---|
| 88 | void getmediadbcounts(int* video, int* audio, int* picture); |
---|
| 89 | int readmediadb(const char* filename, int type, int flag); |
---|
| 90 | void mediadbscan(); |
---|
| 91 | int createmediadbfilter(int type, char* search, int flag); |
---|
| 92 | struct mediadbfilter* getmediadbfilterrandom(int maxentry); |
---|
| 93 | int getmediadbfiltercount(); |
---|
| 94 | void freemediadbfilter(int flag); |
---|
| 95 | void freemediadb(int flag); |
---|
| 96 | void freemediadbcategory(int flag); |
---|
| 97 | int delmediadb(struct mediadb* mnode, int flag); |
---|
[18678] | 98 | void mediadbfindfilecb(char* path, char* file, int type, char* id, int flag); |
---|
[18967] | 99 | char* createshortname(char* file, int *isrec, int *iscam, int flag); |
---|
[18190] | 100 | |
---|
| 101 | //eraseswap.h |
---|
| 102 | void screeneraseswap(); |
---|
| 103 | |
---|
| 104 | //softcam.h |
---|
| 105 | void screensoftcam(); |
---|
| 106 | |
---|
| 107 | //system_mixed.h |
---|
| 108 | void screensystem_eraseswap(); |
---|
| 109 | void screensystem_wizard(); |
---|
| 110 | |
---|
| 111 | // info.h |
---|
| 112 | void screengetserial(); |
---|
| 113 | void screensystem_info(int mode); |
---|
| 114 | |
---|
| 115 | //system_update.h |
---|
| 116 | void screensystem_update(int mode); |
---|
| 117 | |
---|
| 118 | //system_backup.h |
---|
| 119 | void screensystem_backup(); |
---|
| 120 | |
---|
| 121 | //system_backup_restore.h |
---|
| 122 | void screensystem_backup_restore(); |
---|
| 123 | |
---|
| 124 | //settings_bluebutton.h |
---|
| 125 | void screensettings_bluebutton(); |
---|
| 126 | |
---|
| 127 | //settings_redbutton.h |
---|
| 128 | void screensettings_redbutton(); |
---|
| 129 | |
---|
| 130 | //extensions.h |
---|
| 131 | void screenfeed(); |
---|
| 132 | void screenextensions(int mode, char* path); |
---|
| 133 | void screenextensions_check(int flag); |
---|
| 134 | |
---|
| 135 | //...port.h |
---|
| 136 | void fbsave(); |
---|
| 137 | void fbrestore(); |
---|
| 138 | |
---|
| 139 | //mostzap.h |
---|
[18431] | 140 | struct mostzap* createmostzap(int serviceid, uint64_t transponderid); |
---|
[18190] | 141 | int writemostzap(const char *filename); |
---|
[18431] | 142 | int delmostzap(int serviceid, uint64_t transponderid, int flag); |
---|
[18190] | 143 | void mostzaptobouquet(struct mainbouquet* mbouquet); |
---|
| 144 | |
---|
| 145 | //thumb.h |
---|
| 146 | char* checkthumb(char* path, char* file); |
---|
| 147 | |
---|
| 148 | //dvdplayer.h |
---|
| 149 | int dvdstop(); |
---|
| 150 | int dvdsetfb(); |
---|
[20337] | 151 | void playerresetts(); |
---|
[18190] | 152 | |
---|
| 153 | //channelhistory.h |
---|
| 154 | void delchannelhistory(struct channel* chnode); |
---|
| 155 | void addchannelhistory(struct channel* chnode, char* channellist); |
---|
| 156 | void screenchannelhistory(); |
---|
| 157 | |
---|
| 158 | //channellist.h |
---|
| 159 | int screenchannellist(struct channel** retchannel, char** retchannellist, int flag); |
---|
| 160 | |
---|
| 161 | //rguid.h |
---|
| 162 | void rguidthreadfunc(struct stimerthread* timernode); |
---|
| 163 | |
---|
| 164 | //inadyn.h |
---|
| 165 | void screennetwork_inadyn(); |
---|
| 166 | |
---|
| 167 | //epgsearch.h |
---|
[19490] | 168 | void screenepgsearch(char* text); |
---|
[18190] | 169 | |
---|
| 170 | //sock.h |
---|
[19884] | 171 | char* gethttp(char* host, char* page, int port, char* filename, char* auth, int timeout, struct download* dnode, int redirect); |
---|
[18190] | 172 | char *get_ip(char *host); |
---|
| 173 | int sockportopen(int *fd, char* ip, int port, int tout); |
---|
| 174 | void sockclose(int *fd); |
---|
| 175 | int socksend(int *fd, unsigned char* data, int count, int timeout); |
---|
| 176 | int sockread(int fd, unsigned char *buf, int pos, int count, int tout, int flag); |
---|
| 177 | int sockcreate(int *fd, char* sockname, int maxconn); |
---|
| 178 | int sockaccept(int *fd, int flag); |
---|
[19839] | 179 | char* gethttpreal(char* host, char* page, int port, char* filename, char* auth, struct download* dnode, int redirect, char* header, long* clen, int timeout, int flag); |
---|
[18190] | 180 | int sockreceive(int *fd, unsigned char* data, int count, int timeout); |
---|
[19689] | 181 | void gethttpstruct(struct stimerthread* timernode, struct download* node, int flag); |
---|
[18190] | 182 | |
---|
| 183 | //numinput.h |
---|
| 184 | char* numinput(char* title, char* num, char* mask, int isip); |
---|
| 185 | |
---|
| 186 | //ipkg.h |
---|
| 187 | void freeipkg(); |
---|
| 188 | int ipkg_update(void); |
---|
| 189 | int ipkg_upgrade(void); |
---|
| 190 | int ipkg_list(void); |
---|
| 191 | int ipkg_install(const char* package); |
---|
| 192 | int ipkg_remove(const char* package, int purge); |
---|
| 193 | struct menulist* ipkmenulist(struct menulist* mlist, char* paramskinname, char* skintitle, char* paramskinpath, char* section, int showpng, int flag); |
---|
| 194 | int ipkg_list_installed(void); |
---|
| 195 | |
---|
| 196 | //frontenddev.h |
---|
| 197 | struct dvbdev* fegetdummy(); |
---|
[20356] | 198 | void settunerstatus(); |
---|
[18190] | 199 | |
---|
| 200 | //dvrdev.h |
---|
| 201 | void dvrclose(struct dvbdev* node, int fd); |
---|
| 202 | struct dvbdev* dvropen(struct dvbdev* fenode); |
---|
| 203 | |
---|
| 204 | //audiodev.h |
---|
| 205 | int audiopause(struct dvbdev* node); |
---|
| 206 | int audioplay(struct dvbdev* node); |
---|
| 207 | int audioclearbuffer(struct dvbdev* node); |
---|
[20767] | 208 | int audiostop(struct dvbdev* node); |
---|
[18190] | 209 | |
---|
| 210 | //textinput.h |
---|
| 211 | char* textinput(char* title, char* text); |
---|
| 212 | |
---|
| 213 | //httpdsettings.h |
---|
| 214 | void screenhttpdsettings(); |
---|
| 215 | |
---|
| 216 | //help.h |
---|
| 217 | void screenhelp(struct skin* node); |
---|
| 218 | |
---|
| 219 | //restoredefault.h |
---|
| 220 | void screenrestoredefault(); |
---|
| 221 | |
---|
| 222 | //ca.h |
---|
| 223 | int getfreecasession(struct dvbdev* dvbnode, int type, int value); |
---|
| 224 | void caappmenu(struct dvbdev* dvbnode); |
---|
| 225 | |
---|
| 226 | //cam.h |
---|
| 227 | int getcaservicebyslot(struct caslot* caslot, int flag); |
---|
| 228 | void caservicedel(struct service* snode, struct caslot* caslot); |
---|
| 229 | void sendcapmt(struct service* node, int clear, int flag); |
---|
| 230 | |
---|
| 231 | //gmultiepg.h |
---|
[20348] | 232 | int screengmultiepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
[20409] | 233 | int selectchannelgmepg(struct skin* listbox); |
---|
[18190] | 234 | |
---|
| 235 | //multiepg.h |
---|
[20348] | 236 | int screenmultiepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
[18190] | 237 | |
---|
| 238 | //harddisk.h |
---|
| 239 | void hddfsck(char* dev); |
---|
| 240 | void hddformat(char* dev, char* filesystem); |
---|
| 241 | int addhddall(); |
---|
| 242 | |
---|
| 243 | //autores.h |
---|
| 244 | void autoresthreadfunc(struct stimerthread* self, char* text, int timeout); |
---|
| 245 | void screenautores(char* text, int timeout, int flag); |
---|
| 246 | |
---|
| 247 | // timeshift.h |
---|
[20407] | 248 | void timeshiftpause(); |
---|
[18190] | 249 | void timeshiftstop(int flag); |
---|
| 250 | |
---|
| 251 | // keyaktions.h |
---|
| 252 | void keyactions(int key, int flag); |
---|
| 253 | void keyactions_setres(); |
---|
| 254 | |
---|
| 255 | //dmxdev.h |
---|
| 256 | struct dvbdev* dmxgetlast(int adapter); |
---|
| 257 | |
---|
| 258 | // harddisk.h |
---|
| 259 | char* harddisk_listbox(char* defaultstr, char* str, char* skinname, char* skintitle, char* skinpath, int showpng); |
---|
| 260 | |
---|
| 261 | // videodev.h |
---|
| 262 | int videoreadqwidth(struct dvbdev* node); |
---|
| 263 | int videofreeze(struct dvbdev* node); |
---|
| 264 | int videocontinue(struct dvbdev* node); |
---|
| 265 | int videofastforward(struct dvbdev* node, int frames); |
---|
| 266 | int videoclearbuffer(struct dvbdev* node); |
---|
| 267 | int videogetpts(struct dvbdev* node, uint64_t* pts); |
---|
[19974] | 268 | int videoslowmotion(struct dvbdev* node, int frames); |
---|
[20767] | 269 | int videostop(struct dvbdev* node, int clearscreen); |
---|
| 270 | int videoplay(struct dvbdev* node); |
---|
[18190] | 271 | |
---|
| 272 | // scan.h |
---|
[19525] | 273 | unsigned int satblindscan(struct stimerthread* timernode, int onlycalc); |
---|
| 274 | unsigned int cableblindscan(struct stimerthread* timernode, int onlycalc); |
---|
| 275 | unsigned int terrblindscan(struct stimerthread* timernode, int onlycalc); |
---|
[20633] | 276 | int findchannel(struct dvbdev* fenode, struct transponder* tpnode, unsigned char *buf, uint8_t* lastsecnr, struct skin* scan, struct skin* listbox, int ichangename, int flag); |
---|
[18190] | 277 | void screenscanconfig(int flag); |
---|
| 278 | |
---|
| 279 | // screensaver.h |
---|
| 280 | int showscreensaver(); |
---|
| 281 | int initscreensaver(); |
---|
| 282 | int deinitscreensaver(); |
---|
| 283 | |
---|
| 284 | // screensaveradjust.h |
---|
| 285 | void screenscreensaveradjust(); |
---|
| 286 | |
---|
| 287 | //dir.h |
---|
| 288 | char* screendir(char* path, char* mask, char* selection, int *dirrcret, char* ext, char* b1, int rc1, char* b2, int rc2, char* b3, int rc3, char* b4, int rc4, int width, int prozwidth, int height, int prozheight, int flag); |
---|
| 289 | void readlabelext(struct skin* label, char* filename, char* ext); |
---|
| 290 | |
---|
| 291 | // mainplaylist.h |
---|
| 292 | int writeallplaylist(); |
---|
| 293 | int writemainplaylist(const char *filename); |
---|
| 294 | struct mainplaylist* getmainplaylistbyplaylistpointer(struct playlist* playlistnode); |
---|
| 295 | struct mainplaylist* screenmainplaylist(int flag); |
---|
| 296 | |
---|
| 297 | //playlist.h |
---|
| 298 | int getplaylistmax(struct playlist* plist); |
---|
| 299 | struct playlist* getplaylistrandom(struct playlist* plist, int max); |
---|
[19974] | 300 | void getplaylistmaxold(struct skin* playlist, int* maxdirs, int* maxfiles); |
---|
| 301 | struct skin* getplaylistrandomold(struct skin* playlist, int maxdirs, int maxfiles); |
---|
[18190] | 302 | |
---|
| 303 | // screensaveradjust.h |
---|
| 304 | void screensaveradjust(); |
---|
| 305 | |
---|
| 306 | //download.h |
---|
[19884] | 307 | int screendownload(char* title, char* host, char* page, int port, char* filename, char* auth, int timeout, int flag); |
---|
[18190] | 308 | |
---|
| 309 | // epgrecord.h |
---|
| 310 | void freeepgrecord(struct epgrecord** first); |
---|
| 311 | int recordstartreal(struct channel* chnode, int filefd, int recordfd, int type, time_t endtime, struct rectimer* rectimernode, int tssize); |
---|
| 312 | |
---|
| 313 | //titan.c |
---|
| 314 | void oshutdown(int exitcode, int flag); |
---|
| 315 | int createstartscreen(); |
---|
| 316 | |
---|
| 317 | // powerofftimer.h |
---|
| 318 | void screenpowerofftimer(void); |
---|
| 319 | |
---|
| 320 | // videosettings.h |
---|
| 321 | void screenvideosettings(); |
---|
| 322 | |
---|
| 323 | // harddisk.h |
---|
| 324 | void screenharddisk(int mode); |
---|
| 325 | void screenharddisksleep(); |
---|
| 326 | |
---|
| 327 | // network.h |
---|
| 328 | void screennetwork(int mode); |
---|
| 329 | void screennetwork_adapter(); |
---|
| 330 | void screennetwork_restart(struct inetwork* net, int flag); |
---|
| 331 | void screennetwork_test(); |
---|
| 332 | void screennetwork_wlan(); |
---|
| 333 | |
---|
| 334 | //channel.h |
---|
| 335 | int writechannel(const char *filename); |
---|
[18431] | 336 | struct channel* createchannel(char* name, uint64_t transponderid, int providerid, int serviceid, int servicetype, int flag, int videocodec, int audiocodec, int videopid, int audiopid, int protect); |
---|
| 337 | void delchannelbytransponder(uint64_t transponderid); |
---|
[18190] | 338 | struct channel* gettmpchannel(); |
---|
[18431] | 339 | int delchannel(int serviceid, uint64_t transponderid, int flag); |
---|
[18190] | 340 | int movechanneldown(struct channel* node); |
---|
| 341 | int movechannelup(struct channel* node); |
---|
| 342 | |
---|
| 343 | //transponder.h |
---|
[18431] | 344 | struct transponder* gettransponder(uint64_t transponderid); |
---|
[18190] | 345 | int writetransponder(const char *filename); |
---|
| 346 | void deltransponderbyorbitalpos(int orbitalpos); |
---|
| 347 | void deltransponder(struct transponder* tpnode); |
---|
| 348 | |
---|
| 349 | //sat.h |
---|
| 350 | int writesat(const char *filename); |
---|
| 351 | void delsat(char *name); |
---|
| 352 | struct sat* getsatbyorbitalpos(int orbitalpos); |
---|
| 353 | int movesatdown(struct sat* node); |
---|
| 354 | int movesatup(struct sat* node); |
---|
| 355 | |
---|
| 356 | //provider.h |
---|
| 357 | int writeprovider(const char *filename); |
---|
| 358 | void delprovidernotused(struct provider* node); |
---|
| 359 | int moveproviderdown(struct provider* node); |
---|
| 360 | int moveproviderup(struct provider* node); |
---|
| 361 | |
---|
| 362 | //httpd.h |
---|
| 363 | void httpdthreadfunc(struct stimerthread* timernode); |
---|
| 364 | void sendoktext(int* connfd, char* text, int auth); |
---|
| 365 | |
---|
| 366 | //skinconfig.h |
---|
| 367 | int getskinconfigint(char *key, char *ext); |
---|
| 368 | char* getskinconfig(char *key, char *ext); |
---|
| 369 | |
---|
| 370 | //record.h |
---|
| 371 | struct service* getrecordbyname(char* recname, int type); |
---|
| 372 | int recordskipplay(struct service* servicenode, int sekunden); |
---|
| 373 | void recordffrwts(struct service* servicenode, int speed); |
---|
| 374 | |
---|
| 375 | //dvdplayer.h |
---|
| 376 | int dvdstart(char* filename); |
---|
| 377 | int dvdisplaying(); |
---|
| 378 | void dvdgotmessage(); |
---|
| 379 | int dvdkeypress(int key); |
---|
| 380 | int dvdmenuopen(); |
---|
| 381 | void dvdchangevideo(); |
---|
| 382 | void dvdafterend(); |
---|
| 383 | |
---|
| 384 | // play.h |
---|
| 385 | void playerffts(int speed); |
---|
[19953] | 386 | int screenplay(char* startfile, char* showname, int startfolder, int flag); |
---|
[18190] | 387 | void playrcstop(int playertype, int flag); |
---|
[19953] | 388 | void playwritevfd(char* file, char* showname); |
---|
[18190] | 389 | void playstartservice(); |
---|
[19953] | 390 | void screenplayinfobar(char* file, char* showname, int mode, int playertype, int flag); |
---|
| 391 | void playrcgreen(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
[20102] | 392 | int playrcred(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
[19953] | 393 | void playrcinfo(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 394 | void playrcff(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 395 | void playrcfr(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 396 | void playrcpause(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 397 | void playrcplay(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 398 | void playrcjumpr(char* file, char* showname, int sec, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 399 | void playrcjumpf(char* file, char* showname, int sec, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
[18973] | 400 | void get_mediadb_scan_info(); |
---|
[19975] | 401 | void playrcblue(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
| 402 | void playrcyellow(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
| 403 | void playrctext(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
| 404 | void playrcok(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
[20192] | 405 | int playcheckdirrcret(char* file, int dirrcret); |
---|
[18190] | 406 | |
---|
| 407 | //inetwork.h |
---|
| 408 | struct inetwork* getinetworkbydevice(char* device); |
---|
[20685] | 409 | struct inetwork* getinetworkfirstwlan(); |
---|
[18190] | 410 | |
---|
| 411 | //fb.h |
---|
| 412 | void blitfb(int flag); |
---|
[20751] | 413 | void changefbresolution(char *value, int flag); |
---|
[18190] | 414 | void setfbtransparent(int value); |
---|
| 415 | struct fb* addfb(char *fbname, int dev, int width, int height, int colbytes, int fd, unsigned char* mmapfb, unsigned long fixfbsize); |
---|
| 416 | void blitfb2(struct fb* fbnode, int flag); |
---|
| 417 | void delfb(char *name); |
---|
| 418 | void fb2png_thread(); |
---|
| 419 | int fb2png(unsigned char *buf_p, int width, int height, char *outfile); |
---|
| 420 | void clearfball(); |
---|
| 421 | |
---|
| 422 | //timerthread.h |
---|
| 423 | struct stimerthread* addtimer(void* func, int aktion, int delay, int count, void* param1, void* param2, struct stimerthread* last); |
---|
[19612] | 424 | void deltimer(struct stimerthread *tnode, int flag); |
---|
[18190] | 425 | struct stimerthread* gettimerbythread(pthread_t thread); |
---|
| 426 | |
---|
| 427 | //epgscanlist.h |
---|
[18431] | 428 | struct epgscanlist* getepgscanlist(int serviceid, uint64_t transponderid); |
---|
[18190] | 429 | int writeepgscanlist(const char *filename); |
---|
[18431] | 430 | int delepgscanlist(int serviceid, uint64_t transponderid); |
---|
[18190] | 431 | |
---|
| 432 | //rectimer.h |
---|
| 433 | int readrectimer(char *filename); |
---|
| 434 | int writerectimer(const char *filename, int flag); |
---|
| 435 | int recordcheckcrypt(struct dvbdev* fenode, int servicetype); |
---|
| 436 | int recordstart(struct channel* chnode, int filefd, int recordfd, int type, time_t endtime, struct rectimer* rectimernode); |
---|
| 437 | char* recordcheckret(struct stimerthread* timernode, int ret, int flag); |
---|
| 438 | void checkrecepgret(int ret); |
---|
| 439 | int addrecepg(struct channel* chnode, struct epg* epgnode, char* channellist); |
---|
| 440 | struct rectimer* getrectimerbyservice(struct service* servicenode); |
---|
| 441 | void delrectimer(struct rectimer* rectimernode, int write, int flag); |
---|
| 442 | int rectimergetaktday(); |
---|
[20192] | 443 | int addrectimer(char *buf); |
---|
[18190] | 444 | |
---|
| 445 | //dvb.h |
---|
| 446 | unsigned char* dvbgetsdt(struct dvbdev* fenode, int secnr, int timeout); |
---|
| 447 | int dvbreadfd(int fd, unsigned char *buf, int pos, int count, int tout, int flag); |
---|
| 448 | int dvbwrite(int fd, unsigned char* buf, int count, int tout); |
---|
| 449 | int dvbgetdate(time_t* time, int timeout); |
---|
| 450 | int dvbfindpmtpid(int fd, int16_t *pmtpid, int *serviceid, int tssize); |
---|
| 451 | int gettsinfo(int fd, unsigned long long* lenpts, unsigned long long* startpts, unsigned long long* endpts, unsigned long long* bitrate, int tssize); |
---|
| 452 | |
---|
| 453 | //pin.h |
---|
| 454 | int screenpincheck(int type, char* pin); |
---|
| 455 | void screenpin(); |
---|
| 456 | |
---|
| 457 | //videomode.h |
---|
| 458 | void screenvideomode(int flag); |
---|
| 459 | |
---|
| 460 | //pic.h |
---|
| 461 | void delpic(char* name); |
---|
| 462 | struct pic* getpic(char* name); |
---|
| 463 | void delmarkedpic(int del); |
---|
| 464 | struct pic* addpic(char *name, unsigned char* picbuf, int memfd, unsigned long width, unsigned long height, unsigned long rowbytes, int channels, int timeout, int del, struct pic* last); |
---|
| 465 | |
---|
| 466 | //showiframe.h |
---|
| 467 | int singlepicstart(const char *filename, int flag); |
---|
| 468 | |
---|
| 469 | //player.h |
---|
[19843] | 470 | void playerslowts(int speed); |
---|
[18190] | 471 | void playerff(int speed); |
---|
| 472 | void playerfr(int speed); |
---|
| 473 | void playercontinue(); |
---|
| 474 | void playerpause(); |
---|
| 475 | int playerstop(); |
---|
| 476 | void playerseek(float sec); |
---|
| 477 | int playerstart(char* file); |
---|
[18429] | 478 | unsigned long long playergetpts(); |
---|
[18190] | 479 | double playergetlength(); |
---|
| 480 | int playergetinfots(unsigned long long* lenpts, unsigned long long* startpts, unsigned long long* endpts, unsigned long long* aktpts, unsigned long long* bitrate, int flag); |
---|
| 481 | int playerisplaying(); |
---|
| 482 | void playerafterend(); |
---|
[19761] | 483 | int playergetbuffersize(); |
---|
| 484 | int playergetbufferstatus(); |
---|
[18190] | 485 | |
---|
| 486 | //filelist.h |
---|
| 487 | void getfilelist(struct skin* input, struct skin* filelistpath, struct skin* filelist, char* path, char* filemask, int tmpview, char* selection); |
---|
| 488 | int createfilelist(struct skin* screen, struct skin* node, int view); |
---|
[19974] | 489 | void getfilelistmax(struct skin* filelist, int* maxdirs, int* maxfiles); |
---|
| 490 | struct skin* getfilelistrandom(struct skin* filelist, int maxdirs, int maxfiles); |
---|
[18190] | 491 | |
---|
| 492 | //plugin.h |
---|
| 493 | struct skin* getplugin(char* pluginname); |
---|
| 494 | int loadplugin(); |
---|
| 495 | |
---|
| 496 | //listbox.h |
---|
| 497 | int setlistboxselection(struct skin* listbox, char* childname); |
---|
| 498 | |
---|
| 499 | //list.h |
---|
| 500 | struct clist* addlist(struct clist **clist, char *key1, char *value1); |
---|
| 501 | void freelist(struct clist** clist); |
---|
| 502 | struct clist* addlisttmp(struct clist **clist, char *key1, char *value1); |
---|
| 503 | |
---|
| 504 | //choicebox.h |
---|
| 505 | int setchoiceboxselection(struct skin* choicebox, char* value); |
---|
| 506 | int addchoicebox(struct skin* choicebox, char* value, char* text); |
---|
| 507 | |
---|
| 508 | //ownconfig.h |
---|
| 509 | char* getownconfig(char *key); |
---|
| 510 | char* getownconfigq(char *key); |
---|
| 511 | struct clist* addownconfigscreentmp(char *key, struct skin *node); |
---|
| 512 | struct clist* addownconfigscreenqtmp(char *key, struct skin *node); |
---|
| 513 | struct clist* addownconfigscreentmpcheck(char *key, struct skin *node, char* check); |
---|
| 514 | int writeownconfigtmp(); |
---|
| 515 | void delownconfigtmpall(); |
---|
| 516 | struct clist* addownconfig(char *key, char *value); |
---|
| 517 | |
---|
| 518 | //infobar.h |
---|
| 519 | void fillinfobar(); |
---|
| 520 | |
---|
| 521 | //menulist.h |
---|
| 522 | void freemenulist(struct menulist* mlist, int delparam); |
---|
| 523 | void addmenulistall(struct menulist** mlist, char* allname, char* pic, int deaktiv, char* defaultentry); |
---|
| 524 | struct menulist* addmenulist(struct menulist** mlist, char* name, char* text, char* pic, int deaktiv, int defaultentry); |
---|
| 525 | struct menulist* menulistbox(struct menulist* mlist, char* paramskinname, char* skintitle, char* paramskinpath, char* defaultpic, int showpng, int flag); |
---|
| 526 | struct menulist* menulistboxext(struct menulist* mlist, char* paramskinname, char* skintitle, char* paramskinpath, char* defaultpic, int showpng, int* rcreturn, int flag); |
---|
| 527 | void setmenulistdefault(struct menulist* mlist, char* defaultentry); |
---|
| 528 | void changemenulistparam(struct menulist* mlist, char* param, char* param1); |
---|
| 529 | |
---|
| 530 | //skinfunc.h |
---|
| 531 | char* gettime(struct skin* node, char* format); |
---|
| 532 | char* getepgakttitle(struct skin* node); |
---|
| 533 | |
---|
| 534 | //skin.h |
---|
[20245] | 535 | void* convertfunc(char *value, uint8_t *rettype); |
---|
[18190] | 536 | void restorescreennofree(char* buf, struct skin* node); |
---|
| 537 | unsigned char *loadjpg(char *filename, unsigned long *width, unsigned long *height, unsigned long *rowbytes, int *channels, int denom); |
---|
| 538 | int changeselectpic(struct skin* node, char* text); |
---|
| 539 | void calcautoscale(int width, int height, int mwidth, int mheight, int* scalewidth, int* scaleheight); |
---|
| 540 | void blitscale(int posx, int posy, int width, int height, int scalewidth, int scaleheight, int flag); |
---|
| 541 | unsigned char* scale(unsigned char* buf, int width, int height, int channels, int newwidth, int newheight, int free1); |
---|
| 542 | void blitrect(int posx, int posy, int width, int height, long color, int transparent, int mode); |
---|
| 543 | void fillrect(int posx, int posy, int width, int height, long color, int transparent); |
---|
| 544 | int setnodeattr(struct skin* node, struct skin* parent, int screencalc); |
---|
| 545 | void clearscreennolock(struct skin* node); |
---|
| 546 | void clearshadow(struct skin* node); |
---|
| 547 | char* savescreen(struct skin* node); |
---|
| 548 | void restorescreen(char* buf, struct skin* node); |
---|
| 549 | char* changepicpath(char* picname); |
---|
| 550 | long convertcol(char *value); |
---|
| 551 | void delmarkedscreen(int del); |
---|
| 552 | void delscreen(struct skin *node); |
---|
| 553 | void delscreennode(struct skin *node, char* nodename); |
---|
| 554 | int readscreen(char *filename, int del, int flag); |
---|
| 555 | int readjpg(const char* filename, unsigned long* width, unsigned long* height, unsigned long* rowbytes, int* channels, unsigned char **mem, int *memfd); |
---|
| 556 | unsigned char* readpng(const char* filename, unsigned long* width, unsigned long* height, unsigned long* rowbytes, int* channels, int posx, int posy, int mwidth, int mheight, int halign, int valign); |
---|
| 557 | void delmarkedscreennodes(struct skin* node, int mark); |
---|
| 558 | void clearscreen(struct skin* node); |
---|
| 559 | struct skin* getscreennode(struct skin *node, char* nodename); |
---|
| 560 | struct skin* getscreen(char* screenname); |
---|
| 561 | int calcrheight(struct skin* node, struct skin* parent); |
---|
| 562 | int drawscreen(struct skin* node, int screencalc, int flag); |
---|
| 563 | struct skin* addscreennode(struct skin* node, char* line, struct skin* last); |
---|
| 564 | int changetext(struct skin* node, char* text); |
---|
| 565 | int changetext2(struct skin* node, char* text); |
---|
| 566 | int changeinput(struct skin* node, char* text); |
---|
| 567 | int changename(struct skin* node, char* text); |
---|
| 568 | int changeret(struct skin* node, char* text); |
---|
| 569 | int changepic(struct skin* node, char* text); |
---|
| 570 | int changetitle(struct skin* node, char* text); |
---|
| 571 | int changefont(struct skin* node, char* text); |
---|
| 572 | int changemask(struct skin* node, char* text); |
---|
| 573 | int changepicmem(struct skin* node, char* text, int timeout, int del); |
---|
| 574 | int convertxmlentry(char *value, uint8_t *proz); |
---|
| 575 | unsigned char* savejpg(char* filename, int width, int height, int channels, int newwidth, int newheight, int quality, unsigned char *buf); |
---|
| 576 | |
---|
| 577 | //volume.h |
---|
| 578 | void screenvolumeup(); |
---|
| 579 | void screenvolumedown(); |
---|
| 580 | |
---|
[18430] | 581 | //mute.h |
---|
| 582 | void screenmute(struct skin* screen, struct skin* node, int flag); |
---|
| 583 | |
---|
[18190] | 584 | //menu.h |
---|
| 585 | int menucall(struct skin* menunode, struct skin* menuentry, int check); |
---|
| 586 | |
---|
| 587 | //textbox.h |
---|
| 588 | int textbox(char* title, char* text, char* b1, int rc1, char* b2, int rc2, char* b3, int rc3, char* b4, int rc4, int width, int height, int timeout, int flag); |
---|
| 589 | |
---|
| 590 | //config.h |
---|
| 591 | struct clist* addconfig(char *key, char *value); |
---|
| 592 | void delconfigtmpall(); |
---|
| 593 | struct clist* addconfigscreencheck(char *key, struct skin *node, char* check); |
---|
[19974] | 594 | struct clist* addconfigscreen(char *key, struct skin *node); |
---|
[18190] | 595 | struct clist* addconfigdef(char *key, char *value); |
---|
| 596 | struct clist* addconfigtmp(char *key, char *value); |
---|
| 597 | char* getconfig(char *key, char *ext); |
---|
| 598 | char* getconfignotmp(char *key, char *ext); |
---|
| 599 | int getconfigint(char *key, char* ext); |
---|
| 600 | void delconfig(char *key); |
---|
| 601 | void delconfigtmp(char *key); |
---|
| 602 | struct clist* addconfiginttmp(char *key, int value); |
---|
| 603 | int writeconfigtmp(); |
---|
| 604 | int readconfig(const char *filename, struct clist** tmpconfig); |
---|
| 605 | struct clist* addconfigint(char *key, int value); |
---|
| 606 | |
---|
| 607 | //rc.h |
---|
| 608 | int waitrcext(struct skin* owner, unsigned int timeout, int screencalc, int filelistview); |
---|
| 609 | int waitrc(struct skin* owner, unsigned int timeout, int flag); |
---|
| 610 | void delownerrc(struct skin* owner); |
---|
[18431] | 611 | struct rc* addrc(int key, void *func, struct skin* screen, struct skin *screennode); |
---|
[18190] | 612 | void delrc(int key, struct skin* owner, struct skin* screennode); |
---|
| 613 | int flushrc(unsigned int timeout); |
---|
[19974] | 614 | int writerc(int keycode); |
---|
[18190] | 615 | |
---|
| 616 | //rcfunc.h |
---|
| 617 | void inputboxchar(struct skin* screen, struct skin* inputbox, char zeichen, int screencalc, int filelistview, int flag); |
---|
| 618 | void inputboxff(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 619 | void inputboxfr(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 620 | void inputboxright(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 621 | void inputboxleft(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 622 | int addscreenrc(struct skin* screen, struct skin* node); |
---|
| 623 | void checkinputboxnumright(struct skin* inputbox); |
---|
| 624 | int delscreenrc(struct skin* screen, struct skin* node); |
---|
| 625 | |
---|
| 626 | //spinner.h |
---|
| 627 | void screenspinner(); |
---|
| 628 | |
---|
| 629 | //global.h |
---|
[19543] | 630 | char* mask(char* input, int count, char* maskchar); |
---|
[19478] | 631 | char* getboxtype(); |
---|
[18934] | 632 | char* getfilenameext(char* filename); |
---|
[18216] | 633 | void startnet(); |
---|
[18190] | 634 | int checkdirext(char* dir, char* ext); |
---|
| 635 | char* string_replace_all(char *search, char *replace, char *string, int free1); |
---|
| 636 | struct tm* olocaltime(time_t *value); |
---|
| 637 | void setskinnodeslocked(int flag); |
---|
| 638 | char* stringreplacecharonce(char *str, char c1, char c2); |
---|
| 639 | int getrandom(int max); |
---|
| 640 | int clearbit(int value, int bitpos); |
---|
| 641 | int checkbit(int value, int bitpos); |
---|
| 642 | char* addmountpart(char* filename, int free1); |
---|
| 643 | char* string_removechar(char *str); |
---|
| 644 | unsigned int gethash(char* str); |
---|
| 645 | char* oregex(char* regex, char* str); |
---|
| 646 | int resettvpic(); |
---|
| 647 | unsigned long readsysul(const char *filename, int line); |
---|
| 648 | char* oitoax(int value); |
---|
| 649 | void closeonexec(int fd); |
---|
| 650 | char* ostrstrcase(char* str, char* sub); |
---|
| 651 | char* getdevcontent(char* devconfig); |
---|
| 652 | char* getxmlentry(char *line, char *searchstr); |
---|
[20730] | 653 | void debugstack(int sig, void* address, void* address1); |
---|
[18190] | 654 | char* string_strip_whitechars(char *text); |
---|
| 655 | int ounzip(char* inbuf, int inlen, char** outbuf, int* outlen, int maxbuf, int flag); |
---|
| 656 | int ozip(char* inbuf, int inlen, char** outbuf, int* outlen, int level); |
---|
| 657 | int delallfiles(char* dir, char* ext); |
---|
| 658 | unsigned long getfilecount(char* dir); |
---|
| 659 | char* readfiletomem(const char* filename, int flag); |
---|
[19831] | 660 | char* readbintomem(const char* filename, size_t size); |
---|
[18190] | 661 | int setbit(int value, int bitpos); |
---|
| 662 | char* changefilenameext(char* filename, char* ext); |
---|
| 663 | void destroy(); |
---|
| 664 | void htmldecode(char* to, char* from); |
---|
| 665 | void setosdtransparent(int value); |
---|
| 666 | char* string_shortname(char *tmpfilename, int mode); |
---|
| 667 | off64_t getfilesize(char* name); |
---|
| 668 | struct splitstr* strsplit(char *str, char *tok, int* count); |
---|
| 669 | char* strstrip(char *text); |
---|
| 670 | char* fixip(char* ipinput, int flag); |
---|
| 671 | void m_lock(pthread_mutex_t *mutex, int flag); |
---|
| 672 | void m_unlock(pthread_mutex_t *mutex, int flag); |
---|
| 673 | int setcolorformat(char* value); |
---|
| 674 | int setvideomode(char* value, int flag); |
---|
| 675 | char* convert_timesec(int sec); |
---|
| 676 | int writesys(const char *filename, char *value, int flag); |
---|
| 677 | int setsystime(time_t* newtime); |
---|
| 678 | int checkbox(char* box); |
---|
| 679 | int setpolicy(char* value); |
---|
| 680 | char* getpolicy(); |
---|
| 681 | char* string_newline(char* str); |
---|
| 682 | char* get_label(char* device); |
---|
| 683 | char* string_quote(char* str); |
---|
| 684 | int file_exist(char* filename); |
---|
| 685 | char* ostrstr(char* str, char* search); |
---|
| 686 | char* createpath(char* dir, char* file); |
---|
| 687 | char* get_ipk_install(char* ipk); |
---|
| 688 | char* get_ipk_tmpinstall(char* path, char* ipk); |
---|
| 689 | char* get_ipk_listinstall(); |
---|
| 690 | char* get_ipk_tmplistinstall(); |
---|
| 691 | char* string_toupper(char *str); |
---|
| 692 | char* get_ipk_remove(char* ipk); |
---|
| 693 | char* get_ipk_section(); |
---|
| 694 | char* get_ipk_list(char* section); |
---|
| 695 | char* string_tolower(char *str); |
---|
| 696 | int isfile(char* name); |
---|
| 697 | char* command(char* input); |
---|
| 698 | char* oitoa(int value); |
---|
| 699 | char* olutoa(unsigned long value); |
---|
[18431] | 700 | char* ollutoa(uint64_t value); |
---|
[18190] | 701 | int ostrcmp(char* value1, char* value2); |
---|
| 702 | int ostrcasecmp(char* value1, char* value2); |
---|
[19467] | 703 | char* ostrshrink(char* value); |
---|
[18190] | 704 | char* ostrcat(char* value1, char* value2, int free1, int free2); |
---|
| 705 | int ostrncmp(char* value1, char* value2, int count); |
---|
| 706 | char* readsys(const char *filename, int line); |
---|
| 707 | char* string_replace_remove_last_chars(char *search, char *replace, char *string, int free1); |
---|
| 708 | char* string_replace(char *search, char *replace, char *string, int free1); |
---|
| 709 | int writesysint(const char *filename, int value, int flag); |
---|
| 710 | char* string_remove_whitechars(char *text); |
---|
| 711 | void setfanspeed(int speed, int aktion); |
---|
| 712 | int writeallconfig(int flag); |
---|
| 713 | int checkemu(); |
---|
| 714 | int setvol(int value); |
---|
| 715 | int getvol(); |
---|
| 716 | char* stringreplacechar(char *str, char c1, char c2); |
---|
| 717 | char* getcpuid(); |
---|
| 718 | void get_ipk_update(); |
---|
| 719 | char* string_decode(char* input, int flag); |
---|
| 720 | char* string_striptags(char* filename); |
---|
| 721 | char* string_resub(char* str, char* str2, char* input, int dir); |
---|
| 722 | int cmpfilenameext(char* filename, char* ext); |
---|
| 723 | void killnet(); |
---|
| 724 | void checkserial(char* input); |
---|
| 725 | int checkprozess(char* input); |
---|
| 726 | struct regex* regexstruct(char* regex, char* str); |
---|
| 727 | void freeregexstruct(struct regex* node); |
---|
| 728 | char fromhex(char c); |
---|
[18936] | 729 | char* unhexlify(char *hexstr); |
---|
[18190] | 730 | int isdir(char* name); |
---|
| 731 | void htmldecode3(char* to, char* from); |
---|
| 732 | char* string_deltags(char* str); |
---|
| 733 | char* readfromlinetoline(char* str, int start, int end, int flag); |
---|
[18209] | 734 | int checkdev(char* dev); |
---|
[18987] | 735 | char* getvideomode(); |
---|
[19304] | 736 | int checkinternet(); |
---|
[19535] | 737 | struct splitstr* oregexsplit(char* regex, char *str, char *tok, int* count); |
---|
| 738 | void freeoregexsplit(struct splitstr* tmparray, int len); |
---|
[19935] | 739 | char* fixport(char* input, int flag); |
---|
[20190] | 740 | char* getispip(); |
---|
[18190] | 741 | |
---|
| 742 | //rcconfig.h |
---|
| 743 | int getrcconfigint(char *key, char* ext); |
---|
| 744 | char* getrcconfig(char *key, char *ext); |
---|
| 745 | int reloadconfig(char *filename); |
---|
| 746 | |
---|
| 747 | //service.h |
---|
[20510] | 748 | struct service* getservicebyrecname(char* recname, int type, int flag); |
---|
[18190] | 749 | struct service* getservicebyservice(struct service* node, int flag); |
---|
| 750 | struct service* getservicebychannel(struct channel* chnode); |
---|
| 751 | struct service* checkservice(struct service* node); |
---|
| 752 | struct service* addservice(struct service* last); |
---|
| 753 | void delservice(struct service* snode, int flag); |
---|
| 754 | int servicestop(struct service *node, int clear, int flag); |
---|
| 755 | int servicestart(struct channel* chnode, char* channellist, char* pin, int flag); |
---|
| 756 | void serviceresetchannelinfo(struct channel* chnode); |
---|
| 757 | struct service* getservice(int type, int flag); |
---|
| 758 | char* servicecheckret(int ret, int flag); |
---|
| 759 | |
---|
| 760 | //mainbouquets.h |
---|
| 761 | int writemainbouquet(const char *filename); |
---|
| 762 | int writeallbouquet(); |
---|
| 763 | struct mainbouquet* getmainbouquetbybouquetpointer(struct bouquet* bouquetnode); |
---|
| 764 | int movemainbouquetdown(struct mainbouquet* node); |
---|
| 765 | int movemainbouquetup(struct mainbouquet* node); |
---|
| 766 | struct mainbouquet* addmainbouquet(char *line, int count, struct mainbouquet* last); |
---|
| 767 | |
---|
| 768 | //listbox.h |
---|
| 769 | struct skin* addlistbox(struct skin* screen, struct skin* listbox, struct skin* last, int del); |
---|
| 770 | |
---|
| 771 | //bouquets.h |
---|
[18431] | 772 | void delbouquetbychannel(int serviceid, uint64_t transponderid); |
---|
| 773 | struct bouquet* getbouquetbychannelmain(int serviceid, uint64_t transponderid); |
---|
[18190] | 774 | void recalcbouquetnr(); |
---|
[18431] | 775 | void setbouquetchanneltonullmain(int serviceid, uint64_t transponderid); |
---|
| 776 | void delbouquet(int serviceid, uint64_t transponderid, struct bouquet** firstnode); |
---|
[18190] | 777 | int movebouquetdown(struct bouquet* node); |
---|
| 778 | int movebouquetup(struct bouquet* node); |
---|
| 779 | struct bouquet* addbouquet(struct bouquet **firstnode, char *line, int type, int count, struct bouquet* last); |
---|
| 780 | |
---|
| 781 | //audiotrack.h |
---|
| 782 | void screenaudiotrack(); |
---|
| 783 | struct audiotrack* addaudiotrack(struct channel* chnode, char* langdesc, int pid, int audiocodec, struct audiotrack* last); |
---|
| 784 | void freeaudiotrack(struct channel* chnode); |
---|
| 785 | |
---|
| 786 | //subtitle.h |
---|
| 787 | void screensubtitle(); |
---|
| 788 | struct subtitle* addsubtitle(struct channel* chnode, int subtype, char* langdesc, int pid, int type, int id1, int id2, struct subtitle* last); |
---|
| 789 | void freesubtitle(struct channel* chnode); |
---|
| 790 | int subtitlestop(int flag); |
---|
| 791 | int subtitlepause(int flag); |
---|
[20233] | 792 | void changelastsubtitle(struct lastsubtitle* lsnode, int pid); |
---|
| 793 | void dellastsubtitle(struct lastsubtitle* lsnode); |
---|
| 794 | struct lastsubtitle* addlastsubtitle(char* line, int count, struct lastsubtitle* last); |
---|
| 795 | struct lastsubtitle* getlastsubtitle(uint64_t transponderid, int serviceid); |
---|
[20280] | 796 | int subtitlestartlast(); |
---|
| 797 | int writelastsubtitle(const char *filename); |
---|
[18190] | 798 | |
---|
| 799 | //linkedchannel.h |
---|
[18431] | 800 | struct linkedchannel* addlinkedchannel(struct channel* chnode, int serviceid, uint64_t transponderid, struct linkedchannel* last); |
---|
[18190] | 801 | void freelinkedchannel(struct channel* chnode); |
---|
| 802 | void screenlinkedchannel(); |
---|
[18431] | 803 | struct linkedchannel* getlinkedchannel(struct channel* chnode, int serviceid, uint64_t transponderid); |
---|
[18190] | 804 | |
---|
| 805 | //zap.h |
---|
| 806 | void zapup(); |
---|
| 807 | void zapdown(); |
---|
| 808 | |
---|
| 809 | //epg.h |
---|
[20348] | 810 | int screensingleepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
| 811 | int screenepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
[19251] | 812 | |
---|
| 813 | //eit.h |
---|
[19253] | 814 | void epgthreadfunc(struct stimerthread* self); |
---|
[19251] | 815 | struct epg* getepgnext(struct channel* chnode); |
---|
[18190] | 816 | int writeepg(const char* filename); |
---|
| 817 | void freeepg(struct channel* chnode); |
---|
| 818 | struct epg* getepgakt(struct channel* chnode); |
---|
| 819 | struct epg* getepgbytime(struct channel* chnode, time_t akttime); |
---|
| 820 | char* epgdescunzip(struct epg* epgnode); |
---|
[18571] | 821 | struct epg* addoldentryepg(struct channel* chnode, struct epg* newnode, int flag); |
---|
| 822 | void deloldentryepg(struct epg* node); |
---|
[18673] | 823 | void clearepgentry(struct epg* node); |
---|
[18190] | 824 | |
---|
| 825 | //standby.h |
---|
| 826 | void screenstandby(); |
---|
| 827 | |
---|
| 828 | //channelcache.h |
---|
[18431] | 829 | void delchannelcache(int serviceid, uint64_t transponderid); |
---|
| 830 | struct channelcache* modifychannelcache(int serviceid, uint64_t transponderid, struct channel*); |
---|
| 831 | struct channel* getchannel(int serviceid, uint64_t transponderid); |
---|
[18190] | 832 | |
---|
| 833 | // vfd.h |
---|
| 834 | int setvfdicon(vfdicons id, int onoff); |
---|
| 835 | int writevfd(char *value); |
---|
| 836 | |
---|
| 837 | //skinfunc.h |
---|
| 838 | char* getaktchannelname(); |
---|
| 839 | char* getrec(); |
---|
| 840 | |
---|
[19651] | 841 | //marker.h |
---|
| 842 | struct marker* addmarkernode(off64_t pos); |
---|
[19652] | 843 | int delmarkernode(off64_t pos); |
---|
[19681] | 844 | int delmarker(char* timetext); |
---|
[19662] | 845 | int getmarker(char* dateiname); |
---|
| 846 | int putmarker(char* dateiname); |
---|
[19663] | 847 | int setmarker(); |
---|
[19680] | 848 | int jumpmarker(char* timetext); |
---|
| 849 | void screenmarker(); |
---|
[19651] | 850 | |
---|
[19680] | 851 | |
---|
[18190] | 852 | #endif |
---|