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