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