[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 | |
---|
[31759] | 11 | //encoder.h |
---|
| 12 | void encoderclose(struct dvbdev* node, int fd); |
---|
| 13 | |
---|
[30310] | 14 | // httpfunc.h |
---|
| 15 | char* webgetupdate(char* param, int fmt); |
---|
| 16 | |
---|
[30174] | 17 | //serviceinfo.h |
---|
| 18 | char* fegettypestr(struct dvbdev* dvbnode); |
---|
| 19 | |
---|
[28186] | 20 | //tunerconfig.h |
---|
| 21 | int screentunerreceptiondvbt(struct dvbdev* tuner); |
---|
| 22 | int screentunerreceptionhyprid(struct dvbdev* tuner); |
---|
[28951] | 23 | int screentunerreceptiondvbc(struct dvbdev* tuner); |
---|
[28186] | 24 | |
---|
[26472] | 25 | // mipselport.h |
---|
[26474] | 26 | int waitvsync(); |
---|
[26473] | 27 | void blit(); |
---|
[28649] | 28 | #ifdef MIPSEL |
---|
| 29 | void memcpy_word(char* dest, char* src, long anzw); |
---|
| 30 | void memcpy_byte(char* dest, char* src, long anzb); |
---|
| 31 | #endif |
---|
[26472] | 32 | |
---|
[27996] | 33 | // settings_mediabutton.h |
---|
| 34 | void screensettings_mediabutton(); |
---|
| 35 | |
---|
[25939] | 36 | // settings_pluginbutton.h |
---|
| 37 | void screensettings_pluginbutton(); |
---|
| 38 | |
---|
[25482] | 39 | // settings_overclocking.h |
---|
| 40 | void screensettings_overclocking(); |
---|
| 41 | |
---|
[25478] | 42 | // settings_autostart.h |
---|
| 43 | void screensettings_autostart_default(); |
---|
| 44 | void screensettings_autostart_audiovideo(); |
---|
| 45 | void screensettings_autostart_usb(); |
---|
| 46 | void screensettings_autostart_emu(); |
---|
| 47 | void screensettings_autostart_network(); |
---|
| 48 | void screensettings_autostart_safety(); |
---|
| 49 | |
---|
[24422] | 50 | //infobar.h |
---|
| 51 | void screeninfobar(); |
---|
| 52 | |
---|
[23307] | 53 | //copyfile.h |
---|
| 54 | int screencopy(char* title, char* from, char* to, int flag); |
---|
| 55 | |
---|
[22772] | 56 | //httpdfunc.h |
---|
| 57 | char* webrectimersend(char* param, int fmt); |
---|
[28384] | 58 | char* webgetparamvalue(char* param, char* searchparam); |
---|
[22772] | 59 | |
---|
[22484] | 60 | //hwtest.h |
---|
| 61 | void screenhwtest(); |
---|
| 62 | |
---|
[22369] | 63 | //colorpicker.h |
---|
[22387] | 64 | char* screencolorpicker(char* color, int screencalc, int filelistview, int flag); |
---|
[22369] | 65 | |
---|
[22354] | 66 | //epgscanlist.h |
---|
| 67 | struct epgscanlist* addepgscanlist(char *line, int count, struct epgscanlist* last); |
---|
| 68 | |
---|
[22302] | 69 | //channelslot.h |
---|
| 70 | int writechannelslot(char *filename); |
---|
| 71 | int delchannelslot(int serviceid, uint64_t transponderid); |
---|
| 72 | struct channelslot* addchannelslot(char *line, int count, struct channelslot* last); |
---|
[22328] | 73 | struct channelslot* getchannelslot(int serviceid, uint64_t transponderid); |
---|
[22302] | 74 | |
---|
[21302] | 75 | //fancontrol.h |
---|
[28782] | 76 | void screensettings_fancontrol(); |
---|
[30852] | 77 | #ifdef MIPSEL |
---|
| 78 | void screensettings_fancontrol2(); |
---|
| 79 | #endif |
---|
[21302] | 80 | |
---|
[21300] | 81 | //pip.h |
---|
| 82 | int pipstop(struct service *node, int flag); |
---|
| 83 | int pipstart(struct channel* chnode, char* pin, int flag); |
---|
| 84 | |
---|
[20860] | 85 | //bgdownload.h |
---|
| 86 | void screenbgdownload(); |
---|
[20952] | 87 | int startbgdownload(char* host, char* page, int port, char* filename, char* auth, int timeout, int flag); |
---|
[20860] | 88 | |
---|
[20768] | 89 | //log.h |
---|
| 90 | void screenlog(); |
---|
| 91 | |
---|
[20407] | 92 | //timeshiftsettings.h |
---|
| 93 | void screentimeshiftsettings(); |
---|
| 94 | |
---|
[19328] | 95 | //tpchoice.h |
---|
| 96 | struct transponder* tpchoicescreen(int orbitalpos, int flag); |
---|
| 97 | |
---|
[19313] | 98 | //extepg.h |
---|
[19323] | 99 | int readmhw(struct stimerthread* self, struct channel* chnode, struct dvbdev* fenode, int flag); |
---|
| 100 | int readmhw2(struct stimerthread* self, struct channel* chnode, struct dvbdev* fenode, int flag); |
---|
| 101 | int readopentv(struct stimerthread* self, struct channel* chnode, struct dvbdev* fenode, int flag); |
---|
[19261] | 102 | |
---|
[18947] | 103 | //mediadbedit.h |
---|
[18991] | 104 | void screenmediadbedit(char* file, int id, int flag); |
---|
[18947] | 105 | |
---|
[18838] | 106 | //shortepg.h |
---|
| 107 | void screenshortepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
| 108 | |
---|
| 109 | //dirsort.h |
---|
| 110 | int screendirsort(); |
---|
| 111 | |
---|
[19454] | 112 | // newsletter.h |
---|
[18767] | 113 | void screennewsletter(); |
---|
[19454] | 114 | void newsletterthreadfunc(struct stimerthread* self); |
---|
[30199] | 115 | int readnewsletter(); |
---|
| 116 | void freenewsletter(); |
---|
[18767] | 117 | |
---|
[18672] | 118 | //oldentry.h |
---|
[22573] | 119 | struct oldentry* addoldentry(void* entry, int type, time_t del, struct oldentry* last); |
---|
[18672] | 120 | void deloldentry(struct oldentry *entry, int flag); |
---|
| 121 | |
---|
[18663] | 122 | //id3.h |
---|
| 123 | struct id3tag* getid3(char* file, char* id, int flag); |
---|
[18674] | 124 | void freeid3(struct id3tag* node); |
---|
[18663] | 125 | |
---|
[18403] | 126 | //sh4port.h and other ports |
---|
| 127 | int videodiscontinuityskip(struct dvbdev* node, int flag); |
---|
| 128 | |
---|
| 129 | //system_infos.h |
---|
[18190] | 130 | void screensystem_infos(int mode); |
---|
[18403] | 131 | |
---|
| 132 | //system_infos_sysinfo.h |
---|
[18190] | 133 | void screensystem_infos_sysinfo(int mode); |
---|
| 134 | |
---|
[18403] | 135 | //textinputhist.h |
---|
| 136 | char* textinputhist(char* title, char* text, char* histname); |
---|
| 137 | |
---|
[18302] | 138 | //unicable.h |
---|
[18311] | 139 | void screenunicable(struct skin* loftype, struct skin* lofl, struct skin* lofh, struct skin* satcr, struct skin* satcrfrequ2); |
---|
[18190] | 140 | |
---|
| 141 | //rc4.h |
---|
| 142 | void rc4(char *data, size_t dlen, char *key, size_t klen); |
---|
| 143 | |
---|
| 144 | //md5.h |
---|
| 145 | char* MDString (char *string); |
---|
| 146 | char* MDFile (char *string); |
---|
| 147 | char* MDPrint (unsigned char digest[16]); |
---|
| 148 | |
---|
| 149 | //unlock.h |
---|
| 150 | void screenunlock(); |
---|
| 151 | |
---|
| 152 | //serial.h |
---|
| 153 | void screenserial(); |
---|
| 154 | |
---|
| 155 | //ocrypt.h |
---|
| 156 | unsigned char* oencrypt(char* pw, char* buf, int len); |
---|
| 157 | unsigned char* odecrypt(char* pw, char* buf, int len); |
---|
| 158 | |
---|
| 159 | //mediadbcache.h |
---|
| 160 | struct mediadb* getmediadb(char* path, char* file, int flag); |
---|
| 161 | |
---|
| 162 | //mediadbsettings.h |
---|
| 163 | void screenmediadbsettings(); |
---|
| 164 | |
---|
| 165 | //mediadb.h |
---|
[19018] | 166 | int writemediadb(const char *filename, struct mediadb* cmediadb); |
---|
[18190] | 167 | int delmediadbfilter(struct mediadbfilter* mnode, int flag); |
---|
[18941] | 168 | 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] | 169 | void freemediadbcontent(struct mediadb* node); |
---|
| 170 | int findfiles(char* dirname, int type, int onlydir, int onlycount, int first); |
---|
| 171 | struct mediadbfilter* getlastmediadbfilter(struct mediadbfilter* node, int flag); |
---|
| 172 | void getmediadbcounts(int* video, int* audio, int* picture); |
---|
| 173 | int readmediadb(const char* filename, int type, int flag); |
---|
| 174 | void mediadbscan(); |
---|
| 175 | int createmediadbfilter(int type, char* search, int flag); |
---|
| 176 | struct mediadbfilter* getmediadbfilterrandom(int maxentry); |
---|
| 177 | int getmediadbfiltercount(); |
---|
| 178 | void freemediadbfilter(int flag); |
---|
| 179 | void freemediadb(int flag); |
---|
| 180 | void freemediadbcategory(int flag); |
---|
| 181 | int delmediadb(struct mediadb* mnode, int flag); |
---|
[18678] | 182 | void mediadbfindfilecb(char* path, char* file, int type, char* id, int flag); |
---|
[18967] | 183 | char* createshortname(char* file, int *isrec, int *iscam, int flag); |
---|
[18190] | 184 | |
---|
| 185 | //eraseswap.h |
---|
| 186 | void screeneraseswap(); |
---|
| 187 | |
---|
| 188 | //softcam.h |
---|
| 189 | void screensoftcam(); |
---|
| 190 | |
---|
| 191 | //system_mixed.h |
---|
| 192 | void screensystem_eraseswap(); |
---|
| 193 | void screensystem_wizard(); |
---|
| 194 | |
---|
| 195 | // info.h |
---|
| 196 | void screengetserial(); |
---|
[30174] | 197 | void screensystem_logs(int mode); |
---|
[18190] | 198 | |
---|
| 199 | //system_update.h |
---|
| 200 | void screensystem_update(int mode); |
---|
| 201 | |
---|
| 202 | //system_backup.h |
---|
| 203 | void screensystem_backup(); |
---|
| 204 | |
---|
| 205 | //system_backup_restore.h |
---|
| 206 | void screensystem_backup_restore(); |
---|
| 207 | |
---|
| 208 | //settings_bluebutton.h |
---|
| 209 | void screensettings_bluebutton(); |
---|
| 210 | |
---|
| 211 | //settings_redbutton.h |
---|
| 212 | void screensettings_redbutton(); |
---|
| 213 | |
---|
| 214 | //extensions.h |
---|
[28733] | 215 | void screenfeed(int flag); |
---|
[22606] | 216 | void screenextensions(int mode, char* path, char* defentry, int first); |
---|
[18190] | 217 | void screenextensions_check(int flag); |
---|
[30349] | 218 | char* gettpklog(char* installpath, int flag); |
---|
[18190] | 219 | |
---|
| 220 | //...port.h |
---|
| 221 | void fbsave(); |
---|
| 222 | void fbrestore(); |
---|
[24715] | 223 | int setencoding(struct channel* chnode, struct dvbdev* videonode); |
---|
[18190] | 224 | |
---|
| 225 | //mostzap.h |
---|
[18431] | 226 | struct mostzap* createmostzap(int serviceid, uint64_t transponderid); |
---|
[18190] | 227 | int writemostzap(const char *filename); |
---|
[18431] | 228 | int delmostzap(int serviceid, uint64_t transponderid, int flag); |
---|
[18190] | 229 | void mostzaptobouquet(struct mainbouquet* mbouquet); |
---|
| 230 | |
---|
| 231 | //thumb.h |
---|
| 232 | char* checkthumb(char* path, char* file); |
---|
| 233 | |
---|
| 234 | //dvdplayer.h |
---|
| 235 | int dvdstop(); |
---|
| 236 | int dvdsetfb(); |
---|
[20337] | 237 | void playerresetts(); |
---|
[24422] | 238 | void playerinit(int argc, char* argv[]); |
---|
[18190] | 239 | |
---|
| 240 | //channelhistory.h |
---|
| 241 | void delchannelhistory(struct channel* chnode); |
---|
| 242 | void addchannelhistory(struct channel* chnode, char* channellist); |
---|
| 243 | void screenchannelhistory(); |
---|
[24154] | 244 | void freechannelhistory(); |
---|
[18190] | 245 | |
---|
| 246 | //channellist.h |
---|
| 247 | int screenchannellist(struct channel** retchannel, char** retchannellist, int flag); |
---|
| 248 | |
---|
| 249 | //rguid.h |
---|
| 250 | void rguidthreadfunc(struct stimerthread* timernode); |
---|
| 251 | |
---|
| 252 | //inadyn.h |
---|
| 253 | void screennetwork_inadyn(); |
---|
| 254 | |
---|
| 255 | //epgsearch.h |
---|
[19490] | 256 | void screenepgsearch(char* text); |
---|
[18190] | 257 | |
---|
| 258 | //sock.h |
---|
[19884] | 259 | char* gethttp(char* host, char* page, int port, char* filename, char* auth, int timeout, struct download* dnode, int redirect); |
---|
[18190] | 260 | char *get_ip(char *host); |
---|
| 261 | int sockportopen(int *fd, char* ip, int port, int tout); |
---|
| 262 | void sockclose(int *fd); |
---|
| 263 | int socksend(int *fd, unsigned char* data, int count, int timeout); |
---|
| 264 | int sockread(int fd, unsigned char *buf, int pos, int count, int tout, int flag); |
---|
| 265 | int sockcreate(int *fd, char* sockname, int maxconn); |
---|
| 266 | int sockaccept(int *fd, int flag); |
---|
[19839] | 267 | 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] | 268 | int sockreceive(int *fd, unsigned char* data, int count, int timeout); |
---|
[19689] | 269 | void gethttpstruct(struct stimerthread* timernode, struct download* node, int flag); |
---|
[20906] | 270 | void gethttpstructmsg(struct stimerthread* timernode, struct download* node, int flag); |
---|
[18190] | 271 | |
---|
| 272 | //numinput.h |
---|
| 273 | char* numinput(char* title, char* num, char* mask, int isip); |
---|
| 274 | |
---|
| 275 | //frontenddev.h |
---|
| 276 | struct dvbdev* fegetdummy(); |
---|
[20356] | 277 | void settunerstatus(); |
---|
[30685] | 278 | struct dvb_frontend_info* fegetinfo(struct dvbdev* node, int fd); |
---|
[30882] | 279 | int feopen(struct dvbdev* node, char *fedev); |
---|
[18190] | 280 | |
---|
| 281 | //dvrdev.h |
---|
| 282 | void dvrclose(struct dvbdev* node, int fd); |
---|
| 283 | struct dvbdev* dvropen(struct dvbdev* fenode); |
---|
| 284 | |
---|
| 285 | //audiodev.h |
---|
| 286 | int audiopause(struct dvbdev* node); |
---|
| 287 | int audioplay(struct dvbdev* node); |
---|
| 288 | int audioclearbuffer(struct dvbdev* node); |
---|
[20767] | 289 | int audiostop(struct dvbdev* node); |
---|
[27962] | 290 | struct dvbdev* audioopen(int adapter); |
---|
[28132] | 291 | void audioclose(struct dvbdev* node, int fd); |
---|
[31202] | 292 | int audiosetmixer(struct dvbdev* node, int left, int right); |
---|
[18190] | 293 | |
---|
| 294 | //textinput.h |
---|
| 295 | char* textinput(char* title, char* text); |
---|
| 296 | |
---|
| 297 | //httpdsettings.h |
---|
| 298 | void screenhttpdsettings(); |
---|
| 299 | |
---|
| 300 | //help.h |
---|
| 301 | void screenhelp(struct skin* node); |
---|
| 302 | |
---|
| 303 | //restoredefault.h |
---|
| 304 | void screenrestoredefault(); |
---|
[21724] | 305 | void screenrestoredefaultchoice(); |
---|
[18190] | 306 | |
---|
| 307 | //ca.h |
---|
| 308 | int getfreecasession(struct dvbdev* dvbnode, int type, int value); |
---|
| 309 | void caappmenu(struct dvbdev* dvbnode); |
---|
| 310 | |
---|
| 311 | //cam.h |
---|
| 312 | int getcaservicebyslot(struct caslot* caslot, int flag); |
---|
| 313 | void caservicedel(struct service* snode, struct caslot* caslot); |
---|
| 314 | void sendcapmt(struct service* node, int clear, int flag); |
---|
| 315 | |
---|
| 316 | //gmultiepg.h |
---|
[20348] | 317 | int screengmultiepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
[20409] | 318 | int selectchannelgmepg(struct skin* listbox); |
---|
[18190] | 319 | |
---|
| 320 | //multiepg.h |
---|
[20348] | 321 | int screenmultiepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
[18190] | 322 | |
---|
| 323 | //harddisk.h |
---|
[22627] | 324 | int hddfsck(char* dev); |
---|
[18190] | 325 | void hddformat(char* dev, char* filesystem); |
---|
| 326 | int addhddall(); |
---|
| 327 | |
---|
| 328 | //autores.h |
---|
| 329 | void autoresthreadfunc(struct stimerthread* self, char* text, int timeout); |
---|
| 330 | void screenautores(char* text, int timeout, int flag); |
---|
| 331 | |
---|
| 332 | // timeshift.h |
---|
[20407] | 333 | void timeshiftpause(); |
---|
[18190] | 334 | void timeshiftstop(int flag); |
---|
| 335 | |
---|
| 336 | // keyaktions.h |
---|
| 337 | void keyactions(int key, int flag); |
---|
| 338 | void keyactions_setres(); |
---|
| 339 | |
---|
| 340 | //dmxdev.h |
---|
| 341 | struct dvbdev* dmxgetlast(int adapter); |
---|
| 342 | |
---|
| 343 | // harddisk.h |
---|
| 344 | char* harddisk_listbox(char* defaultstr, char* str, char* skinname, char* skintitle, char* skinpath, int showpng); |
---|
| 345 | |
---|
| 346 | // videodev.h |
---|
| 347 | int videoreadqwidth(struct dvbdev* node); |
---|
| 348 | int videofreeze(struct dvbdev* node); |
---|
| 349 | int videocontinue(struct dvbdev* node); |
---|
| 350 | int videofastforward(struct dvbdev* node, int frames); |
---|
| 351 | int videoclearbuffer(struct dvbdev* node); |
---|
| 352 | int videogetpts(struct dvbdev* node, uint64_t* pts); |
---|
[19974] | 353 | int videoslowmotion(struct dvbdev* node, int frames); |
---|
[20767] | 354 | int videostop(struct dvbdev* node, int clearscreen); |
---|
| 355 | int videoplay(struct dvbdev* node); |
---|
[24718] | 356 | int videosetencoding(struct dvbdev* node, int type); |
---|
| 357 | int videosetstreamtype(struct dvbdev* node, int type); |
---|
[18190] | 358 | |
---|
| 359 | // scan.h |
---|
[19525] | 360 | unsigned int satblindscan(struct stimerthread* timernode, int onlycalc); |
---|
| 361 | unsigned int cableblindscan(struct stimerthread* timernode, int onlycalc); |
---|
| 362 | unsigned int terrblindscan(struct stimerthread* timernode, int onlycalc); |
---|
[20633] | 363 | 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] | 364 | void screenscanconfig(int flag); |
---|
| 365 | |
---|
| 366 | // screensaver.h |
---|
| 367 | int showscreensaver(); |
---|
| 368 | int initscreensaver(); |
---|
| 369 | int deinitscreensaver(); |
---|
| 370 | |
---|
| 371 | // screensaveradjust.h |
---|
| 372 | void screenscreensaveradjust(); |
---|
| 373 | |
---|
| 374 | //dir.h |
---|
| 375 | 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); |
---|
[24385] | 376 | char* screendirreal(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 holdselection, int flag); |
---|
[18190] | 377 | void readlabelext(struct skin* label, char* filename, char* ext); |
---|
| 378 | |
---|
| 379 | // mainplaylist.h |
---|
| 380 | int writeallplaylist(); |
---|
| 381 | int writemainplaylist(const char *filename); |
---|
| 382 | struct mainplaylist* getmainplaylistbyplaylistpointer(struct playlist* playlistnode); |
---|
| 383 | struct mainplaylist* screenmainplaylist(int flag); |
---|
| 384 | |
---|
| 385 | //playlist.h |
---|
| 386 | int getplaylistmax(struct playlist* plist); |
---|
| 387 | struct playlist* getplaylistrandom(struct playlist* plist, int max); |
---|
[19974] | 388 | void getplaylistmaxold(struct skin* playlist, int* maxdirs, int* maxfiles); |
---|
| 389 | struct skin* getplaylistrandomold(struct skin* playlist, int maxdirs, int maxfiles); |
---|
[18190] | 390 | |
---|
| 391 | // screensaveradjust.h |
---|
| 392 | void screensaveradjust(); |
---|
| 393 | |
---|
| 394 | //download.h |
---|
[19884] | 395 | int screendownload(char* title, char* host, char* page, int port, char* filename, char* auth, int timeout, int flag); |
---|
[18190] | 396 | |
---|
| 397 | // epgrecord.h |
---|
| 398 | void freeepgrecord(struct epgrecord** first); |
---|
| 399 | int recordstartreal(struct channel* chnode, int filefd, int recordfd, int type, time_t endtime, struct rectimer* rectimernode, int tssize); |
---|
| 400 | |
---|
| 401 | //titan.c |
---|
| 402 | void oshutdown(int exitcode, int flag); |
---|
| 403 | int createstartscreen(); |
---|
[21149] | 404 | struct channel *channel; |
---|
[18190] | 405 | |
---|
| 406 | // powerofftimer.h |
---|
| 407 | void screenpowerofftimer(void); |
---|
| 408 | |
---|
| 409 | // videosettings.h |
---|
| 410 | void screenvideosettings(); |
---|
| 411 | |
---|
| 412 | // harddisk.h |
---|
| 413 | void screenharddisk(int mode); |
---|
| 414 | void screenharddisksleep(); |
---|
| 415 | |
---|
| 416 | // network.h |
---|
| 417 | void screennetwork(int mode); |
---|
| 418 | void screennetwork_adapter(); |
---|
| 419 | void screennetwork_restart(struct inetwork* net, int flag); |
---|
| 420 | void screennetwork_test(); |
---|
| 421 | void screennetwork_wlan(); |
---|
| 422 | |
---|
| 423 | //channel.h |
---|
| 424 | int writechannel(const char *filename); |
---|
[24719] | 425 | 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, int pcrpid); |
---|
[18431] | 426 | void delchannelbytransponder(uint64_t transponderid); |
---|
[18190] | 427 | struct channel* gettmpchannel(); |
---|
[18431] | 428 | int delchannel(int serviceid, uint64_t transponderid, int flag); |
---|
[18190] | 429 | int movechanneldown(struct channel* node); |
---|
| 430 | int movechannelup(struct channel* node); |
---|
[22442] | 431 | struct channel* sortchannel(); |
---|
[18190] | 432 | |
---|
| 433 | //transponder.h |
---|
[18431] | 434 | struct transponder* gettransponder(uint64_t transponderid); |
---|
[18190] | 435 | int writetransponder(const char *filename); |
---|
| 436 | void deltransponderbyorbitalpos(int orbitalpos); |
---|
| 437 | void deltransponder(struct transponder* tpnode); |
---|
| 438 | |
---|
| 439 | //sat.h |
---|
| 440 | int writesat(const char *filename); |
---|
| 441 | void delsat(char *name); |
---|
| 442 | struct sat* getsatbyorbitalpos(int orbitalpos); |
---|
| 443 | int movesatdown(struct sat* node); |
---|
| 444 | int movesatup(struct sat* node); |
---|
[24228] | 445 | int sat2bouquet(int orbitalpos, int flag); |
---|
[18190] | 446 | |
---|
| 447 | //provider.h |
---|
| 448 | int writeprovider(const char *filename); |
---|
| 449 | void delprovidernotused(struct provider* node); |
---|
| 450 | int moveproviderdown(struct provider* node); |
---|
| 451 | int moveproviderup(struct provider* node); |
---|
[30524] | 452 | struct provider* sortprovider(); |
---|
[18190] | 453 | |
---|
| 454 | //httpd.h |
---|
| 455 | void httpdthreadfunc(struct stimerthread* timernode); |
---|
| 456 | void sendoktext(int* connfd, char* text, int auth); |
---|
| 457 | |
---|
| 458 | //skinconfig.h |
---|
| 459 | int getskinconfigint(char *key, char *ext); |
---|
| 460 | char* getskinconfig(char *key, char *ext); |
---|
| 461 | |
---|
| 462 | //record.h |
---|
| 463 | struct service* getrecordbyname(char* recname, int type); |
---|
| 464 | int recordskipplay(struct service* servicenode, int sekunden); |
---|
| 465 | void recordffrwts(struct service* servicenode, int speed); |
---|
| 466 | |
---|
| 467 | //dvdplayer.h |
---|
| 468 | int dvdstart(char* filename); |
---|
| 469 | int dvdisplaying(); |
---|
| 470 | void dvdgotmessage(); |
---|
| 471 | int dvdkeypress(int key); |
---|
| 472 | int dvdmenuopen(); |
---|
| 473 | void dvdchangevideo(); |
---|
| 474 | void dvdafterend(); |
---|
| 475 | |
---|
| 476 | // play.h |
---|
| 477 | void playerffts(int speed); |
---|
[19953] | 478 | int screenplay(char* startfile, char* showname, int startfolder, int flag); |
---|
[18190] | 479 | void playrcstop(int playertype, int flag); |
---|
[19953] | 480 | void playwritevfd(char* file, char* showname); |
---|
[18190] | 481 | void playstartservice(); |
---|
[19953] | 482 | void screenplayinfobar(char* file, char* showname, int mode, int playertype, int flag); |
---|
| 483 | void playrcgreen(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
[20102] | 484 | int playrcred(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
[19953] | 485 | void playrcinfo(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 486 | void playrcff(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 487 | void playrcfr(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 488 | void playrcpause(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 489 | void playrcplay(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 490 | void playrcjumpr(char* file, char* showname, int sec, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 491 | void playrcjumpf(char* file, char* showname, int sec, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
[18973] | 492 | void get_mediadb_scan_info(); |
---|
[19975] | 493 | void playrcblue(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
| 494 | void playrcyellow(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
| 495 | void playrctext(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
| 496 | void playrcok(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
[20192] | 497 | int playcheckdirrcret(char* file, int dirrcret); |
---|
[20848] | 498 | void playrcjumpto(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
[18190] | 499 | |
---|
| 500 | //inetwork.h |
---|
| 501 | struct inetwork* getinetworkbydevice(char* device); |
---|
[20685] | 502 | struct inetwork* getinetworkfirstwlan(); |
---|
[18190] | 503 | |
---|
| 504 | //fb.h |
---|
| 505 | void blitfb(int flag); |
---|
[24090] | 506 | void blitfb1(); |
---|
[20751] | 507 | void changefbresolution(char *value, int flag); |
---|
[18190] | 508 | void setfbtransparent(int value); |
---|
| 509 | struct fb* addfb(char *fbname, int dev, int width, int height, int colbytes, int fd, unsigned char* mmapfb, unsigned long fixfbsize); |
---|
| 510 | void blitfb2(struct fb* fbnode, int flag); |
---|
| 511 | void delfb(char *name); |
---|
| 512 | void fb2png_thread(); |
---|
| 513 | int fb2png(unsigned char *buf_p, int width, int height, char *outfile); |
---|
| 514 | void clearfball(); |
---|
[26475] | 515 | void closefb(); |
---|
[18190] | 516 | |
---|
| 517 | //timerthread.h |
---|
| 518 | struct stimerthread* addtimer(void* func, int aktion, int delay, int count, void* param1, void* param2, struct stimerthread* last); |
---|
[19612] | 519 | void deltimer(struct stimerthread *tnode, int flag); |
---|
[18190] | 520 | struct stimerthread* gettimerbythread(pthread_t thread); |
---|
| 521 | |
---|
| 522 | //epgscanlist.h |
---|
[18431] | 523 | struct epgscanlist* getepgscanlist(int serviceid, uint64_t transponderid); |
---|
[18190] | 524 | int writeepgscanlist(const char *filename); |
---|
[18431] | 525 | int delepgscanlist(int serviceid, uint64_t transponderid); |
---|
[18190] | 526 | |
---|
| 527 | //rectimer.h |
---|
| 528 | int readrectimer(char *filename); |
---|
| 529 | int writerectimer(const char *filename, int flag); |
---|
| 530 | int recordcheckcrypt(struct dvbdev* fenode, int servicetype); |
---|
| 531 | int recordstart(struct channel* chnode, int filefd, int recordfd, int type, time_t endtime, struct rectimer* rectimernode); |
---|
| 532 | char* recordcheckret(struct stimerthread* timernode, int ret, int flag); |
---|
| 533 | void checkrecepgret(int ret); |
---|
| 534 | int addrecepg(struct channel* chnode, struct epg* epgnode, char* channellist); |
---|
| 535 | struct rectimer* getrectimerbyservice(struct service* servicenode); |
---|
| 536 | void delrectimer(struct rectimer* rectimernode, int write, int flag); |
---|
| 537 | int rectimergetaktday(); |
---|
[20192] | 538 | int addrectimer(char *buf); |
---|
[21149] | 539 | struct rectimer* addrectimernode(char* line, struct rectimer* last); |
---|
| 540 | int checkrectimerconflict(struct rectimer* recnode); |
---|
[18190] | 541 | |
---|
| 542 | //dvb.h |
---|
| 543 | unsigned char* dvbgetsdt(struct dvbdev* fenode, int secnr, int timeout); |
---|
| 544 | int dvbreadfd(int fd, unsigned char *buf, int pos, int count, int tout, int flag); |
---|
| 545 | int dvbwrite(int fd, unsigned char* buf, int count, int tout); |
---|
| 546 | int dvbgetdate(time_t* time, int timeout); |
---|
| 547 | int dvbfindpmtpid(int fd, int16_t *pmtpid, int *serviceid, int tssize); |
---|
| 548 | int gettsinfo(int fd, unsigned long long* lenpts, unsigned long long* startpts, unsigned long long* endpts, unsigned long long* bitrate, int tssize); |
---|
| 549 | |
---|
| 550 | //pin.h |
---|
| 551 | int screenpincheck(int type, char* pin); |
---|
| 552 | void screenpin(); |
---|
| 553 | |
---|
| 554 | //videomode.h |
---|
| 555 | void screenvideomode(int flag); |
---|
| 556 | |
---|
| 557 | //pic.h |
---|
| 558 | void delpic(char* name); |
---|
| 559 | struct pic* getpic(char* name); |
---|
| 560 | void delmarkedpic(int del); |
---|
| 561 | 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); |
---|
| 562 | |
---|
| 563 | //showiframe.h |
---|
| 564 | int singlepicstart(const char *filename, int flag); |
---|
| 565 | |
---|
| 566 | //player.h |
---|
[19843] | 567 | void playerslowts(int speed); |
---|
[18190] | 568 | void playerff(int speed); |
---|
| 569 | void playerfr(int speed); |
---|
| 570 | void playercontinue(); |
---|
| 571 | void playerpause(); |
---|
| 572 | int playerstop(); |
---|
| 573 | void playerseek(float sec); |
---|
| 574 | int playerstart(char* file); |
---|
[18429] | 575 | unsigned long long playergetpts(); |
---|
[18190] | 576 | double playergetlength(); |
---|
| 577 | int playergetinfots(unsigned long long* lenpts, unsigned long long* startpts, unsigned long long* endpts, unsigned long long* aktpts, unsigned long long* bitrate, int flag); |
---|
| 578 | int playerisplaying(); |
---|
| 579 | void playerafterend(); |
---|
[19761] | 580 | int playergetbuffersize(); |
---|
| 581 | int playergetbufferstatus(); |
---|
[25480] | 582 | off64_t playergetptspos(unsigned long long fpts, off64_t pos, int dir, int praez, int type, int flag, char* dsn); |
---|
[28328] | 583 | void playerafterendts(); |
---|
| 584 | int playerisplayingts(); |
---|
| 585 | char* playergetinfo(char* tag); |
---|
| 586 | int playerstartts(char* file, int flag); |
---|
[30713] | 587 | #ifdef EPLAYER4 |
---|
[30700] | 588 | static void analyze_streams(CustomData *data); |
---|
[30713] | 589 | #endif |
---|
[18190] | 590 | |
---|
| 591 | //filelist.h |
---|
| 592 | void getfilelist(struct skin* input, struct skin* filelistpath, struct skin* filelist, char* path, char* filemask, int tmpview, char* selection); |
---|
| 593 | int createfilelist(struct skin* screen, struct skin* node, int view); |
---|
[19974] | 594 | void getfilelistmax(struct skin* filelist, int* maxdirs, int* maxfiles); |
---|
| 595 | struct skin* getfilelistrandom(struct skin* filelist, int maxdirs, int maxfiles); |
---|
[23005] | 596 | int filelistflt(char* filter, char* name); |
---|
[18190] | 597 | |
---|
| 598 | //plugin.h |
---|
| 599 | struct skin* getplugin(char* pluginname); |
---|
| 600 | int loadplugin(); |
---|
| 601 | |
---|
| 602 | //listbox.h |
---|
| 603 | int setlistboxselection(struct skin* listbox, char* childname); |
---|
| 604 | |
---|
| 605 | //list.h |
---|
| 606 | struct clist* addlist(struct clist **clist, char *key1, char *value1); |
---|
| 607 | void freelist(struct clist** clist); |
---|
| 608 | struct clist* addlisttmp(struct clist **clist, char *key1, char *value1); |
---|
[28331] | 609 | char* getlist(struct clist **clist, char *key, char *ext); |
---|
[28333] | 610 | int writelist(struct clist **clist, const char *filename); |
---|
[18190] | 611 | |
---|
| 612 | //choicebox.h |
---|
| 613 | int setchoiceboxselection(struct skin* choicebox, char* value); |
---|
| 614 | int addchoicebox(struct skin* choicebox, char* value, char* text); |
---|
| 615 | |
---|
| 616 | //ownconfig.h |
---|
| 617 | char* getownconfig(char *key); |
---|
| 618 | char* getownconfigq(char *key); |
---|
| 619 | struct clist* addownconfigscreentmp(char *key, struct skin *node); |
---|
| 620 | struct clist* addownconfigscreenqtmp(char *key, struct skin *node); |
---|
| 621 | struct clist* addownconfigscreentmpcheck(char *key, struct skin *node, char* check); |
---|
| 622 | int writeownconfigtmp(); |
---|
| 623 | void delownconfigtmpall(); |
---|
| 624 | struct clist* addownconfig(char *key, char *value); |
---|
| 625 | |
---|
| 626 | //infobar.h |
---|
| 627 | void fillinfobar(); |
---|
| 628 | |
---|
| 629 | //menulist.h |
---|
| 630 | void freemenulist(struct menulist* mlist, int delparam); |
---|
| 631 | void addmenulistall(struct menulist** mlist, char* allname, char* pic, int deaktiv, char* defaultentry); |
---|
| 632 | struct menulist* addmenulist(struct menulist** mlist, char* name, char* text, char* pic, int deaktiv, int defaultentry); |
---|
[27740] | 633 | struct menulist* menulistbox(struct menulist* mlist, char* paramskinname, char* skintitle, char* skindetails, char* paramskinpath, char* defaultpic, int showpng, int flag); |
---|
| 634 | struct menulist* menulistboxext(struct menulist* mlist, char* paramskinname, char* skintitle, char* skindetails, char* paramskinpath, char* defaultpic, int showpng, int* rcreturn, int flag); |
---|
[18190] | 635 | void setmenulistdefault(struct menulist* mlist, char* defaultentry); |
---|
[23288] | 636 | void changemenulistparam(struct menulist* mlist, char* param, char* param1, char* param2, char* param3); |
---|
[18190] | 637 | |
---|
| 638 | //skinfunc.h |
---|
| 639 | char* gettime(struct skin* node, char* format); |
---|
| 640 | char* getepgakttitle(struct skin* node); |
---|
| 641 | |
---|
| 642 | //skin.h |
---|
[20245] | 643 | void* convertfunc(char *value, uint8_t *rettype); |
---|
[18190] | 644 | void restorescreennofree(char* buf, struct skin* node); |
---|
| 645 | unsigned char *loadjpg(char *filename, unsigned long *width, unsigned long *height, unsigned long *rowbytes, int *channels, int denom); |
---|
| 646 | int changeselectpic(struct skin* node, char* text); |
---|
| 647 | void calcautoscale(int width, int height, int mwidth, int mheight, int* scalewidth, int* scaleheight); |
---|
| 648 | void blitscale(int posx, int posy, int width, int height, int scalewidth, int scaleheight, int flag); |
---|
| 649 | unsigned char* scale(unsigned char* buf, int width, int height, int channels, int newwidth, int newheight, int free1); |
---|
| 650 | void blitrect(int posx, int posy, int width, int height, long color, int transparent, int mode); |
---|
| 651 | void fillrect(int posx, int posy, int width, int height, long color, int transparent); |
---|
| 652 | int setnodeattr(struct skin* node, struct skin* parent, int screencalc); |
---|
| 653 | void clearscreennolock(struct skin* node); |
---|
| 654 | void clearshadow(struct skin* node); |
---|
| 655 | char* savescreen(struct skin* node); |
---|
| 656 | void restorescreen(char* buf, struct skin* node); |
---|
| 657 | char* changepicpath(char* picname); |
---|
| 658 | long convertcol(char *value); |
---|
| 659 | void delmarkedscreen(int del); |
---|
| 660 | void delscreen(struct skin *node); |
---|
| 661 | void delscreennode(struct skin *node, char* nodename); |
---|
| 662 | int readscreen(char *filename, int del, int flag); |
---|
| 663 | int readjpg(const char* filename, unsigned long* width, unsigned long* height, unsigned long* rowbytes, int* channels, unsigned char **mem, int *memfd); |
---|
| 664 | 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); |
---|
| 665 | void delmarkedscreennodes(struct skin* node, int mark); |
---|
| 666 | void clearscreen(struct skin* node); |
---|
| 667 | struct skin* getscreennode(struct skin *node, char* nodename); |
---|
[23090] | 668 | struct skin* checkscreennode(struct skin *node, char* nodename); |
---|
[18190] | 669 | struct skin* getscreen(char* screenname); |
---|
| 670 | int calcrheight(struct skin* node, struct skin* parent); |
---|
| 671 | int drawscreen(struct skin* node, int screencalc, int flag); |
---|
| 672 | struct skin* addscreennode(struct skin* node, char* line, struct skin* last); |
---|
| 673 | int changetext(struct skin* node, char* text); |
---|
| 674 | int changetext2(struct skin* node, char* text); |
---|
| 675 | int changeinput(struct skin* node, char* text); |
---|
| 676 | int changename(struct skin* node, char* text); |
---|
| 677 | int changeret(struct skin* node, char* text); |
---|
| 678 | int changepic(struct skin* node, char* text); |
---|
| 679 | int changetitle(struct skin* node, char* text); |
---|
| 680 | int changefont(struct skin* node, char* text); |
---|
| 681 | int changemask(struct skin* node, char* text); |
---|
| 682 | int changepicmem(struct skin* node, char* text, int timeout, int del); |
---|
| 683 | int convertxmlentry(char *value, uint8_t *proz); |
---|
| 684 | unsigned char* savejpg(char* filename, int width, int height, int channels, int newwidth, int newheight, int quality, unsigned char *buf); |
---|
[26427] | 685 | inline void drawpixelfastfb(struct fb* node, int posx, int posy, unsigned long color); |
---|
| 686 | inline void drawpixelfb(struct fb* node, int posx, int posy, unsigned long color); |
---|
[29159] | 687 | unsigned char * resize(unsigned char *origin, int ox, int oy, int dx, int dy, int type, unsigned char * dst, int flag); |
---|
[18190] | 688 | |
---|
| 689 | //volume.h |
---|
| 690 | void screenvolumeup(); |
---|
| 691 | void screenvolumedown(); |
---|
| 692 | |
---|
[18430] | 693 | //mute.h |
---|
| 694 | void screenmute(struct skin* screen, struct skin* node, int flag); |
---|
| 695 | |
---|
[18190] | 696 | //menu.h |
---|
| 697 | int menucall(struct skin* menunode, struct skin* menuentry, int check); |
---|
| 698 | |
---|
| 699 | //textbox.h |
---|
| 700 | 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); |
---|
| 701 | |
---|
| 702 | //config.h |
---|
| 703 | struct clist* addconfig(char *key, char *value); |
---|
| 704 | void delconfigtmpall(); |
---|
| 705 | struct clist* addconfigscreencheck(char *key, struct skin *node, char* check); |
---|
[19974] | 706 | struct clist* addconfigscreen(char *key, struct skin *node); |
---|
[18190] | 707 | struct clist* addconfigdef(char *key, char *value); |
---|
| 708 | struct clist* addconfigtmp(char *key, char *value); |
---|
| 709 | char* getconfig(char *key, char *ext); |
---|
| 710 | char* getconfignotmp(char *key, char *ext); |
---|
| 711 | int getconfigint(char *key, char* ext); |
---|
| 712 | void delconfig(char *key); |
---|
| 713 | void delconfigtmp(char *key); |
---|
| 714 | struct clist* addconfiginttmp(char *key, int value); |
---|
| 715 | int writeconfigtmp(); |
---|
| 716 | int readconfig(const char *filename, struct clist** tmpconfig); |
---|
| 717 | struct clist* addconfigint(char *key, int value); |
---|
[28435] | 718 | void menucheckentry(struct skin* child); |
---|
[18190] | 719 | |
---|
| 720 | //rc.h |
---|
| 721 | int waitrcext(struct skin* owner, unsigned int timeout, int screencalc, int filelistview); |
---|
| 722 | int waitrc(struct skin* owner, unsigned int timeout, int flag); |
---|
| 723 | void delownerrc(struct skin* owner); |
---|
[18431] | 724 | struct rc* addrc(int key, void *func, struct skin* screen, struct skin *screennode); |
---|
[18190] | 725 | void delrc(int key, struct skin* owner, struct skin* screennode); |
---|
| 726 | int flushrc(unsigned int timeout); |
---|
[19974] | 727 | int writerc(int keycode); |
---|
[18190] | 728 | |
---|
| 729 | //rcfunc.h |
---|
| 730 | void inputboxchar(struct skin* screen, struct skin* inputbox, char zeichen, int screencalc, int filelistview, int flag); |
---|
| 731 | void inputboxff(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 732 | void inputboxfr(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 733 | void inputboxright(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 734 | void inputboxleft(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 735 | int addscreenrc(struct skin* screen, struct skin* node); |
---|
| 736 | void checkinputboxnumright(struct skin* inputbox); |
---|
| 737 | int delscreenrc(struct skin* screen, struct skin* node); |
---|
| 738 | |
---|
| 739 | //spinner.h |
---|
| 740 | void screenspinner(); |
---|
| 741 | |
---|
| 742 | //global.h |
---|
[24422] | 743 | char* getmacfromcmdline(); |
---|
[24036] | 744 | char* createpluginpath(char* text, int flag); |
---|
[23305] | 745 | void delspezchar(char* text, int flag); |
---|
[21758] | 746 | int osystem(char* cmd, int timeout); |
---|
[19543] | 747 | char* mask(char* input, int count, char* maskchar); |
---|
[19478] | 748 | char* getboxtype(); |
---|
[18934] | 749 | char* getfilenameext(char* filename); |
---|
[18216] | 750 | void startnet(); |
---|
[18190] | 751 | int checkdirext(char* dir, char* ext); |
---|
| 752 | char* string_replace_all(char *search, char *replace, char *string, int free1); |
---|
| 753 | struct tm* olocaltime(time_t *value); |
---|
| 754 | void setskinnodeslocked(int flag); |
---|
| 755 | char* stringreplacecharonce(char *str, char c1, char c2); |
---|
| 756 | int getrandom(int max); |
---|
| 757 | int clearbit(int value, int bitpos); |
---|
| 758 | int checkbit(int value, int bitpos); |
---|
| 759 | char* addmountpart(char* filename, int free1); |
---|
| 760 | char* string_removechar(char *str); |
---|
| 761 | unsigned int gethash(char* str); |
---|
| 762 | char* oregex(char* regex, char* str); |
---|
| 763 | int resettvpic(); |
---|
| 764 | unsigned long readsysul(const char *filename, int line); |
---|
[24781] | 765 | unsigned long long readsysull(const char *filename, int line); |
---|
[18190] | 766 | char* oitoax(int value); |
---|
| 767 | void closeonexec(int fd); |
---|
| 768 | char* ostrstrcase(char* str, char* sub); |
---|
| 769 | char* getdevcontent(char* devconfig); |
---|
| 770 | char* getxmlentry(char *line, char *searchstr); |
---|
[20730] | 771 | void debugstack(int sig, void* address, void* address1); |
---|
[18190] | 772 | char* string_strip_whitechars(char *text); |
---|
| 773 | int ounzip(char* inbuf, int inlen, char** outbuf, int* outlen, int maxbuf, int flag); |
---|
| 774 | int ozip(char* inbuf, int inlen, char** outbuf, int* outlen, int level); |
---|
| 775 | int delallfiles(char* dir, char* ext); |
---|
| 776 | unsigned long getfilecount(char* dir); |
---|
| 777 | char* readfiletomem(const char* filename, int flag); |
---|
[19831] | 778 | char* readbintomem(const char* filename, size_t size); |
---|
[18190] | 779 | int setbit(int value, int bitpos); |
---|
| 780 | char* changefilenameext(char* filename, char* ext); |
---|
| 781 | void destroy(); |
---|
| 782 | void htmldecode(char* to, char* from); |
---|
| 783 | void setosdtransparent(int value); |
---|
| 784 | char* string_shortname(char *tmpfilename, int mode); |
---|
| 785 | off64_t getfilesize(char* name); |
---|
| 786 | struct splitstr* strsplit(char *str, char *tok, int* count); |
---|
| 787 | char* strstrip(char *text); |
---|
| 788 | char* fixip(char* ipinput, int flag); |
---|
| 789 | void m_lock(pthread_mutex_t *mutex, int flag); |
---|
| 790 | void m_unlock(pthread_mutex_t *mutex, int flag); |
---|
[23979] | 791 | int setcolorformat(char* value, int flag); |
---|
[18190] | 792 | int setvideomode(char* value, int flag); |
---|
| 793 | char* convert_timesec(int sec); |
---|
| 794 | int writesys(const char *filename, char *value, int flag); |
---|
| 795 | int setsystime(time_t* newtime); |
---|
| 796 | int checkbox(char* box); |
---|
| 797 | int setpolicy(char* value); |
---|
| 798 | char* getpolicy(); |
---|
| 799 | char* string_newline(char* str); |
---|
| 800 | char* get_label(char* device); |
---|
| 801 | char* string_quote(char* str); |
---|
| 802 | int file_exist(char* filename); |
---|
| 803 | char* ostrstr(char* str, char* search); |
---|
| 804 | char* createpath(char* dir, char* file); |
---|
| 805 | char* get_ipk_install(char* ipk); |
---|
| 806 | char* get_ipk_tmpinstall(char* path, char* ipk); |
---|
| 807 | char* get_ipk_listinstall(); |
---|
| 808 | char* get_ipk_tmplistinstall(); |
---|
| 809 | char* string_toupper(char *str); |
---|
| 810 | char* get_ipk_remove(char* ipk); |
---|
| 811 | char* get_ipk_section(); |
---|
| 812 | char* get_ipk_list(char* section); |
---|
| 813 | char* string_tolower(char *str); |
---|
| 814 | int isfile(char* name); |
---|
| 815 | char* command(char* input); |
---|
| 816 | char* oitoa(int value); |
---|
| 817 | char* olutoa(unsigned long value); |
---|
[18431] | 818 | char* ollutoa(uint64_t value); |
---|
[18190] | 819 | int ostrcmp(char* value1, char* value2); |
---|
| 820 | int ostrcasecmp(char* value1, char* value2); |
---|
[19467] | 821 | char* ostrshrink(char* value); |
---|
[18190] | 822 | char* ostrcat(char* value1, char* value2, int free1, int free2); |
---|
[24441] | 823 | void ostrcatbig(char** value1, char* value2, int* maxlen, int* pos); |
---|
[18190] | 824 | int ostrncmp(char* value1, char* value2, int count); |
---|
| 825 | char* readsys(const char *filename, int line); |
---|
| 826 | char* string_replace_remove_last_chars(char *search, char *replace, char *string, int free1); |
---|
| 827 | char* string_replace(char *search, char *replace, char *string, int free1); |
---|
| 828 | int writesysint(const char *filename, int value, int flag); |
---|
| 829 | char* string_remove_whitechars(char *text); |
---|
| 830 | void setfanspeed(int speed, int aktion); |
---|
| 831 | int writeallconfig(int flag); |
---|
| 832 | int checkemu(); |
---|
| 833 | int setvol(int value); |
---|
| 834 | int getvol(); |
---|
| 835 | char* stringreplacechar(char *str, char c1, char c2); |
---|
| 836 | char* getcpuid(); |
---|
| 837 | void get_ipk_update(); |
---|
| 838 | char* string_decode(char* input, int flag); |
---|
| 839 | char* string_striptags(char* filename); |
---|
| 840 | char* string_resub(char* str, char* str2, char* input, int dir); |
---|
| 841 | int cmpfilenameext(char* filename, char* ext); |
---|
| 842 | void killnet(); |
---|
| 843 | void checkserial(char* input); |
---|
| 844 | int checkprozess(char* input); |
---|
| 845 | struct regex* regexstruct(char* regex, char* str); |
---|
| 846 | void freeregexstruct(struct regex* node); |
---|
| 847 | char fromhex(char c); |
---|
[18936] | 848 | char* unhexlify(char *hexstr); |
---|
[18190] | 849 | int isdir(char* name); |
---|
| 850 | void htmldecode3(char* to, char* from); |
---|
| 851 | char* string_deltags(char* str); |
---|
| 852 | char* readfromlinetoline(char* str, int start, int end, int flag); |
---|
[18209] | 853 | int checkdev(char* dev); |
---|
[18987] | 854 | char* getvideomode(); |
---|
[19304] | 855 | int checkinternet(); |
---|
[19535] | 856 | struct splitstr* oregexsplit(char* regex, char *str, char *tok, int* count); |
---|
| 857 | void freeoregexsplit(struct splitstr* tmparray, int len); |
---|
[19935] | 858 | char* fixport(char* input, int flag); |
---|
[20190] | 859 | char* getispip(); |
---|
[21618] | 860 | int getlfiletype(char* filename); |
---|
[21680] | 861 | unsigned long long getfreespace(char* dir); |
---|
[23003] | 862 | char* getfilenamepng(char* filename); |
---|
[24253] | 863 | char* htmlencode(char* from); |
---|
[24423] | 864 | void waitmsgbar(int sec, int exit, char* text, int flag); |
---|
[25133] | 865 | char* getcolorformat(int line); |
---|
[25392] | 866 | void set_player_sound(int flag); |
---|
[25830] | 867 | void screenshoot(int flag); |
---|
[25843] | 868 | void guestthread(); |
---|
[28641] | 869 | int vbulletin_userauth(char* link, char* user, char* pass); |
---|
| 870 | int phpkit_userauth(char* link, char* user, char* pass); |
---|
[29186] | 871 | int converte2settings(int flag); |
---|
[31660] | 872 | char* getmoviedev(); |
---|
| 873 | void wakeup_record_device(); |
---|
[18190] | 874 | |
---|
| 875 | //rcconfig.h |
---|
| 876 | int getrcconfigint(char *key, char* ext); |
---|
| 877 | char* getrcconfig(char *key, char *ext); |
---|
| 878 | int reloadconfig(char *filename); |
---|
| 879 | |
---|
| 880 | //service.h |
---|
[20510] | 881 | struct service* getservicebyrecname(char* recname, int type, int flag); |
---|
[18190] | 882 | struct service* getservicebyservice(struct service* node, int flag); |
---|
| 883 | struct service* getservicebychannel(struct channel* chnode); |
---|
| 884 | struct service* checkservice(struct service* node); |
---|
| 885 | struct service* addservice(struct service* last); |
---|
| 886 | void delservice(struct service* snode, int flag); |
---|
| 887 | int servicestop(struct service *node, int clear, int flag); |
---|
| 888 | int servicestart(struct channel* chnode, char* channellist, char* pin, int flag); |
---|
| 889 | void serviceresetchannelinfo(struct channel* chnode); |
---|
| 890 | struct service* getservice(int type, int flag); |
---|
| 891 | char* servicecheckret(int ret, int flag); |
---|
| 892 | |
---|
| 893 | //mainbouquets.h |
---|
| 894 | int writemainbouquet(const char *filename); |
---|
| 895 | int writeallbouquet(); |
---|
| 896 | struct mainbouquet* getmainbouquetbybouquetpointer(struct bouquet* bouquetnode); |
---|
| 897 | int movemainbouquetdown(struct mainbouquet* node); |
---|
| 898 | int movemainbouquetup(struct mainbouquet* node); |
---|
| 899 | struct mainbouquet* addmainbouquet(char *line, int count, struct mainbouquet* last); |
---|
[22342] | 900 | struct mainbouquet* screenmainbouquet(); |
---|
[22343] | 901 | int mainbouquet2epgscanlist(struct mainbouquet* mnode); |
---|
| 902 | int mainbouquet2channelslot(struct mainbouquet* mnode, int slot); |
---|
[24228] | 903 | void delmainbouquet(char *name, int flag); |
---|
[18190] | 904 | |
---|
| 905 | //listbox.h |
---|
| 906 | struct skin* addlistbox(struct skin* screen, struct skin* listbox, struct skin* last, int del); |
---|
| 907 | |
---|
| 908 | //bouquets.h |
---|
[18431] | 909 | void delbouquetbychannel(int serviceid, uint64_t transponderid); |
---|
| 910 | struct bouquet* getbouquetbychannelmain(int serviceid, uint64_t transponderid); |
---|
[18190] | 911 | void recalcbouquetnr(); |
---|
[18431] | 912 | void setbouquetchanneltonullmain(int serviceid, uint64_t transponderid); |
---|
| 913 | void delbouquet(int serviceid, uint64_t transponderid, struct bouquet** firstnode); |
---|
[18190] | 914 | int movebouquetdown(struct bouquet* node); |
---|
| 915 | int movebouquetup(struct bouquet* node); |
---|
| 916 | struct bouquet* addbouquet(struct bouquet **firstnode, char *line, int type, int count, struct bouquet* last); |
---|
[22458] | 917 | struct bouquet* sortbouquet(struct bouquet **nodeaddr); |
---|
[18190] | 918 | |
---|
| 919 | //audiotrack.h |
---|
| 920 | void screenaudiotrack(); |
---|
| 921 | struct audiotrack* addaudiotrack(struct channel* chnode, char* langdesc, int pid, int audiocodec, struct audiotrack* last); |
---|
| 922 | void freeaudiotrack(struct channel* chnode); |
---|
| 923 | |
---|
| 924 | //subtitle.h |
---|
| 925 | void screensubtitle(); |
---|
| 926 | struct subtitle* addsubtitle(struct channel* chnode, int subtype, char* langdesc, int pid, int type, int id1, int id2, struct subtitle* last); |
---|
| 927 | void freesubtitle(struct channel* chnode); |
---|
| 928 | int subtitlestop(int flag); |
---|
| 929 | int subtitlepause(int flag); |
---|
[24620] | 930 | void changelastsubtitle(struct lastsubtitle* lsnode, int pid, int id1, int id2); |
---|
[20233] | 931 | void dellastsubtitle(struct lastsubtitle* lsnode); |
---|
| 932 | struct lastsubtitle* addlastsubtitle(char* line, int count, struct lastsubtitle* last); |
---|
| 933 | struct lastsubtitle* getlastsubtitle(uint64_t transponderid, int serviceid); |
---|
[20280] | 934 | int subtitlestartlast(); |
---|
| 935 | int writelastsubtitle(const char *filename); |
---|
[18190] | 936 | |
---|
| 937 | //linkedchannel.h |
---|
[21072] | 938 | struct linkedchannel* addlinkedchannel(struct channel* chnode, int serviceid, uint64_t transponderid, time_t starttime, time_t endtime, struct linkedchannel* last); |
---|
[18190] | 939 | void freelinkedchannel(struct channel* chnode); |
---|
| 940 | void screenlinkedchannel(); |
---|
[21072] | 941 | struct linkedchannel* getlinkedchannel(struct channel* chnode, int serviceid, uint64_t transponderid, time_t starttime, time_t endtime); |
---|
| 942 | void dellinkedchannel(struct channel* chnode, struct linkedchannel* lnode, int flag); |
---|
| 943 | void deloldlinkedchannel(); |
---|
[18190] | 944 | |
---|
| 945 | //zap.h |
---|
| 946 | void zapup(); |
---|
| 947 | void zapdown(); |
---|
| 948 | |
---|
| 949 | //epg.h |
---|
[20348] | 950 | int screensingleepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
| 951 | int screenepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
[19251] | 952 | |
---|
| 953 | //eit.h |
---|
[19253] | 954 | void epgthreadfunc(struct stimerthread* self); |
---|
[19251] | 955 | struct epg* getepgnext(struct channel* chnode); |
---|
[18190] | 956 | int writeepg(const char* filename); |
---|
| 957 | void freeepg(struct channel* chnode); |
---|
| 958 | struct epg* getepgakt(struct channel* chnode); |
---|
| 959 | struct epg* getepgbytime(struct channel* chnode, time_t akttime); |
---|
| 960 | char* epgdescunzip(struct epg* epgnode); |
---|
[18571] | 961 | struct epg* addoldentryepg(struct channel* chnode, struct epg* newnode, int flag); |
---|
| 962 | void deloldentryepg(struct epg* node); |
---|
[18673] | 963 | void clearepgentry(struct epg* node); |
---|
[18190] | 964 | |
---|
| 965 | //standby.h |
---|
| 966 | void screenstandby(); |
---|
| 967 | |
---|
| 968 | //channelcache.h |
---|
[18431] | 969 | void delchannelcache(int serviceid, uint64_t transponderid); |
---|
| 970 | struct channelcache* modifychannelcache(int serviceid, uint64_t transponderid, struct channel*); |
---|
| 971 | struct channel* getchannel(int serviceid, uint64_t transponderid); |
---|
[18190] | 972 | |
---|
| 973 | // vfd.h |
---|
| 974 | int setvfdicon(vfdicons id, int onoff); |
---|
| 975 | int writevfd(char *value); |
---|
[21191] | 976 | int writevfdmenu(char *value); |
---|
[18190] | 977 | |
---|
| 978 | //skinfunc.h |
---|
| 979 | char* getaktchannelname(); |
---|
| 980 | char* getrec(); |
---|
| 981 | |
---|
[19651] | 982 | //marker.h |
---|
| 983 | struct marker* addmarkernode(off64_t pos); |
---|
[19652] | 984 | int delmarkernode(off64_t pos); |
---|
[19681] | 985 | int delmarker(char* timetext); |
---|
[19662] | 986 | int getmarker(char* dateiname); |
---|
| 987 | int putmarker(char* dateiname); |
---|
[19663] | 988 | int setmarker(); |
---|
[19680] | 989 | int jumpmarker(char* timetext); |
---|
[25495] | 990 | void screenmarker(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
[25492] | 991 | off64_t getcurrentpos(struct service* snode); |
---|
[25644] | 992 | void markerautoseek_thread(); |
---|
[19651] | 993 | |
---|
[28941] | 994 | //oled.h |
---|
[28943] | 995 | void write2oled(unsigned char *buf, int xres, int yres); |
---|
[29235] | 996 | struct fb* oledaddfb(int width, int height); |
---|
[29094] | 997 | int oledtext(char *value); |
---|
[28941] | 998 | |
---|
[30771] | 999 | #ifdef MIPSEL |
---|
| 1000 | //cec.h |
---|
| 1001 | void cecinit(); |
---|
| 1002 | void cecstandby(); |
---|
| 1003 | void cecwakeup(); |
---|
| 1004 | void screencec(); |
---|
| 1005 | void getAddressInfo(); |
---|
| 1006 | int getPhysicalAddress(); |
---|
| 1007 | void hdmiEvent(); |
---|
| 1008 | void reportPhysicalAddress(); |
---|
| 1009 | void sendMessage(unsigned char address, unsigned char cmd, char *data, int length); |
---|
| 1010 | void sendMessageReal(struct cec_message message); |
---|
| 1011 | void setFixedPhysicalAddress(int address); |
---|
[31367] | 1012 | //encoder.h |
---|
[31391] | 1013 | struct dvbdev* encoderopen(int flag); |
---|
[18190] | 1014 | #endif |
---|
[30771] | 1015 | |
---|
| 1016 | #endif |
---|